Permalink
Browse files

Hi this resolves an issue # 65 (#66)

* this resolves the issue number #65

* this resolves the issue number #65

* Minor changes in pie chart example.
  • Loading branch information...
omer-waheed authored and Hermanya committed Nov 27, 2018
1 parent 5e21a8c commit 563ca991413bf84e7e365d1198e084186d06c9f2
Showing with 5 additions and 5 deletions.
  1. +1 −1 README.md
  2. +2 −2 src/pie-chart.js
  3. +2 −2 src/progress-chart.js
@@ -198,7 +198,7 @@ const data = [
{ name: 'Toronto', population: 2800000, color: '#F00', legendFontColor: '#7F7F7F', legendFontSize: 15 },
{ name: 'Beijing', population: 527612, color: 'red', legendFontColor: '#7F7F7F', legendFontSize: 15 },
{ name: 'New York', population: 8538000, color: '#ffffff', legendFontColor: '#7F7F7F', legendFontSize: 15 },
{ name: 'Moscow', population: 11920000, color: 'rgb(0, 0, 255)', legendFontColor: '#7F7F7F, legendFontSize: 15' }
{ name: 'Moscow', population: 11920000, color: 'rgb(0, 0, 255)', legendFontColor: '#7F7F7F', legendFontSize: 15 }
]
```
```html
@@ -35,8 +35,8 @@ class PieChart extends AbstractChart {
fill={c.item.color}
/>
<Rect
width="16"
height="16"
width="5%"
height="13%"
fill={c.item.color}
rx={8}
ry={8}
@@ -94,8 +94,8 @@ class ProgressChart extends AbstractChart {
return (
<Rect
key={Math.random()}
width="16"
height="16"
width="5%"
height="13%"
fill={this.props.chartConfig.color(0.2 * (i + 1))}
rx={8}
ry={8}

0 comments on commit 563ca99

Please sign in to comment.