0.3.25 • Published 9 years ago
react-d3-shape v0.3.25
react-d3-shape
react-d3 basic shapes, shapes that we support:
- Line
- Area
- AreaStack
- BarGroupHorizontal
- BarGroup
- BarStackHorizontal
- BarStack
- BarHorizontal
- Bar
- Pie
- Scatter
Install
npm install --save react-d3-shape
Quick example
Building Line Chart, with Area Chart and Scatter Plot
- Line Chart with Area chart
<div>
<Chart
width= {this.state.width}
height= {this.state.height}
data= {generalChartData}
chartSeries= {this.state.series}
x= {x}
>
<Line
chartSeries= {this.state.series}
/>
<Area
chartSeries= {this.state.series2}
/>
<Scatter
chartSeries= {this.state.series2}
<Xaxis/>
<Yaxis/>
<Xgrid/>
<Ygrid/>
</Chart>
</div>
Develop
$ sudo npm i
$ node devServer.js
and open localhost:5000/example
Build production js
, min.js
code
$ npm run prod
License
Apache 2.0
0.3.25
9 years ago
0.3.24
9 years ago
0.2.24
9 years ago
0.2.22
9 years ago
0.2.21
9 years ago
0.2.20
9 years ago
0.2.19
9 years ago
0.2.18
9 years ago
0.2.17
9 years ago
0.2.16
9 years ago
0.2.15
9 years ago
0.2.13
9 years ago
0.2.12
10 years ago
0.2.11
10 years ago
0.2.10
10 years ago
0.2.9
10 years ago
0.2.8
10 years ago
0.2.6
10 years ago
0.2.5
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.3
10 years ago
0.1.2
10 years ago
0.1.0
10 years ago
0.0.3
10 years ago
0.0.1
10 years ago