cp-charts 0.3.4-beta5
Install from the command line:
Learn more about npm packages
$ npm install @chargepoint/cp-charts@0.3.4-beta5
Install via package.json:
"@chargepoint/cp-charts": "0.3.4-beta5"
About this version
cp-charts
This repo is new and doesn't yet contain much. Contributions are welcome.
We are using Recharts for React based applications with charting needs.
- Low barrier to entry. Recharts is built specifically for React
- Customizability -- it's fairly easy to customize colors, font size, legend icons, as well as provide custom components for things like tooltips, legends, tick marks, reference lines, etc.
- Documentation is not perfect, but it's decent. You can often find useful posts on StackOverflow because of the large developer community.
- 17.9k GitHub stars
This could change in the future if new and better open source charting libraries appear, or Recharts Github activity stalls for too long.
This repo contains Storybook examples of how to:
- Create and customize various charts in Recharts
- How to create a dynamic chart with an unknown number of series
- Examples of how to use some
d3
utilities, liked3-scale
- How to build a zoom control
- CPChartToolTip
- CPChartShape
- CPChartZoomOutButton
Various utilities to assist with processing time series data, handle Recharts events, etc
yarn
yarn storybook
yarn test
- Increment version number in
package.json
.- increment last digit for minor changes and bugfixes
- increment middle digit for new features and/or changes to current ones
- increment first digit in the event of complete overhauls/major changes
- for testing, append with
-beta<revision_number>
- Commit changes
- Create PR and have it approved for merging into
master
branch - Run
yarn publish
Details
- cp-charts
- ChargePoint
- over 2 years ago
- UNLICENSED
- 71 dependencies
Assets
- cp-charts-0.3.4-beta5-npm.tgz
Download activity
- Total downloads 3
- Last 30 days 0
- Last week 0
- Today 0