New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@firesoon/charts

Package Overview
Dependencies
Maintainers
10
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firesoon/charts

火树业务封装的图表库

latest
npmnpm
Version
1.2.5
Version published
Weekly downloads
4
100%
Maintainers
10
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 09 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts