UNPKG

2.04 kBMarkdownView Raw
1# Changelog
2
3## 4.1.0
4
5- add `hideLegend` to ProgressChart
6
7## v4.0.0
8
9- patched a lot of indirect dependencies
10- improved ProgressChartProps types
11- added item index to some color calls
12- added an optional bottom padding to LineChart
13- POTENTIALLY BREAKING for typescript: added some typedefs to "LineChart", "BarChart", and "StackedBarChart". Also added some typedefs for styles.
14- corrected the line-chart & progress-chart wrong width calculation
15
16## v3.12.0
17
18- added `formatXLabel`, `formatYLabel`, and `getDotProps` to `LineChart`
19
20## v3.11.0
21
22- added optional props: `xAxisLabel`, `yAxisSuffix`, `yLabelsOffset`, `xLabelsOffset`, and `hidePointsAtIndex` to `LineChart`
23- added optional prop `withInnerLines` to `BarChart`
24- added optional `fillShadowGradient` color and `fillShadowGradientOpacity` to chart config for customizing the area under the data points in `LinChart` and `BarChart`
25
26## v3.10.0
27
28- added type for chart config
29- added props config for Dots in the line chart
30
31## v3.9.0
32
33- added propsForLabels to chartConfig
34- added labelColor to chartConfig as a shortcut for propsForLabels / fill
35
36## v3.8.0
37
38- added dot cx, cy in the onDataPointClick functions arguments
39- fixed for horizontal label position when there is only one data point and fromZero prop is true
40
41## v3.7.0
42
43- expose paddingTop and paddingRight via the style prop
44- style the chart background lines with chartConfig's propsForBackgroundLines
45
46## v3.6.0
47
48- added barPercentage property to chartConfig (by @dchirutac)
49- added dot color callback prop (by @stephenc222)
50- added bar chart label rotations (by @stephenc222)
51
52## v3.5.0
53
54- added `horizontalLabelRotation` and `verticalLabelRotation` props to `LineChart`
55
56## v3.4.0
57
58- added `chartConfig` `backgroundGradientFromOpacity` and `backgroundGradientToOpacity`
59
60## 3.3.0
61
62- added `index` to `onDataPointClick`
63
64## 3.2.0
65
66- added optional labels for ProgressChart
67
68## 3.1.0
69
70- added withVerticalLabels and withHorizontalLabels to LineChart, BarChart and StackedBarChart
71
72## 3.0.0
73
74- added typescript types