Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ct-react-stockcharts

rrag644MIT0.8.3

Highly customizable stock charts with ReactJS and d3

charts, charting, stockcharts, finance, financechart, react, ReactJS, d3, react-component, react-charts, chart-components, javascript-finance-chart, javascript-stockchart, data-visualization, data-viz, d3-finance-chart, d3-stockchart

readme

Fork from React Stockcharts

src 目录为图表库原码,在 docs/index.js:7 修改使用哪个图表示例

yarn watch
# open http://localhost:8080

编译

修改源码并修改 package.version 后执行 npm run releasecd build 进入目标目录,npm publish 上传。

在原版本基础上做的修改

  • 0.7.9 OHLC 显示振幅
  • 0.7.9 简化左上角 MovingAverageTooltip 显示
  • 0.8.0 OHLCTooltip 增加 isMobile 属性用于是否显示日期
  • 0.8.1 编辑文档
  • 0.8.2 OHLCTooltip 是否显示日期和振幅
  • 0.8.3 delete console