@firesoon/charts
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

charts

/**

    • 总共分 5 种配置:公共定义配置,组件定义配置,公共数据动态生成配置,组件数据动态生成配置,用户自定义配置
  • ! 覆盖优先级:用户自定义配置 > 组件数据动态生成配置 > 公共数据动态生成配置 > 组件定义配置 > 公共定义配置
  • ? 公共定义配置: 某些公用的配置。如:标题的字体大小,颜色
  • ? 组件定义配置: 某些组件特定的配置。如:图形的类型,坐标轴颜色样式
  • ? 公共数据动态生成配置:某些根据数据改变的配置。如:图形与标题间距会因是否配置纵坐标的单位改变
  • ? 组件数据动态生成配置:某些根据数据改变的组件特定配置。如:柱形图负值需要变特定颜色
  • ? 用户自定义配置: 用户自己编写的配置。优先级最高,可覆盖所有其它配置,高自定义。 */

Getting Started

Install dependencies,

$ npm i

Start the dev server,

$ npm start

Build documentation,

$ npm run docs:build

Build library via father-build,

$ npm run build

更新记录

firesoon-charts
├─ .cz-config.js
├─ .dumi
│  └─ theme
├─ .editorconfig
├─ .fatherrc.ts
├─ .git
├─ .gitignore
├─ .prettierignore
├─ .prettierrc
├─ babel.config.js
├─ CHANGELOG.md
├─ docs
├─ jest.config.js
├─ package.json
├─ public
│  ├─ favicon.ico
│  └─ logo.png
├─ README.md
├─ src
│  ├─ assets
│  ├─ component
│  │  ├─ BarChart
│  │  │  ├─ config.ts
│  │  │  ├─ index.tsx
│  │  │  ├─ minus.ts
│  │  │  └─ viewModel.ts
│  │  ├─ ChartCore
│  │  ├─ hooks
│  │  ├─ LineChart
│  │  ├─ PieChart
│  │  ├─ PolarChart
│  │  ├─ RadarChart
│  │  ├─ ScatterChart
│  │  └─ types
│  ├─ global.less
│  ├─ index.ts
│  └─ utils
├─ tests
├─ tsconfig.json
├─ typings.d.ts
└─ yarn.lock

Readme

Keywords

none

Package Sidebar

Install

npm i @firesoon/charts

Weekly Downloads

3

Version

1.2.2

License

none

Unpacked Size

9.59 MB

Total Files

130

Last publish

Collaborators

  • linweili1201
  • wxshycat
  • wangjingren
  • ink0101
  • chenweiming
  • anglay
  • tangshuo
  • maolizi
  • firesoon-ued