UNPKG

3.66 kBMarkdownView Raw
1# Changelog
2
3## v5.5.0
4
5- added `useShadowColorFromDataset` to `chartConfig` to make `LineChart` shadow same as line color
6
7## v5.4.2
8
9- fixed decimalPlaces not being sent with barChart
10
11## v5.4.0
12
13- added strokeWidth & radius as props for ProgressChart
14
15## v5.3.1
16
17- TS type fixes
18
19## v5.3.0
20
21- added missing ContributionGraph props
22- added `withScrollableDot` to LineChart and a whole bunch of props to `chartConfig`. New feature for Line Chart - scrollable dot. It allows to navigate through chart using gesture and see value at dot's current position.
23
24## v5.2.0
25
26- `propsForDots` added to `ChartConfig` interface
27
28## 5.1.1
29
30- add some safe default values in BarChart's `chartConfig` to avoid potential null pointers
31
32## 5.1.0
33
34- added a withDots property to each dataset in LineChart to disable dots on these lines
35- removed `prop-types`
36- added `onDayPress` to ContributionGraph
37
38## 5.0.0
39
40- made ContributionGraph opacity distribution even through range between the min and max values
41- added `getMonthLabel` to ContributionGraph
42- added `yAxisInterval` to LineChart, it allows you to skip vertical lines in the background
43- expaned StackedBarChart if it has no legend
44
45## 4.5.0
46
47- removed `.babelrc` from distribution
48- made decimalPlaces work for StackedBar Chart
49
50## 4.4.0
51
52- added ability to add custom segments on the Y-Axis
53- implemented barRadius config in BarChart
54- added showBarTops prop to BarChart
55
56## 4.3.0
57
58- added `barPercentage?: number; hideLegend: boolean;` props to StackedBarChart
59- added `barRadius` to chart config
60- added `renderDotContent` to LineChart
61
62## 4.2.0
63
64- line chart supports legend
65
66## 4.1.0
67
68- add `hideLegend` to ProgressChart
69
70## v4.0.0
71
72- patched a lot of indirect dependencies
73- improved ProgressChartProps types
74- added item index to some color calls
75- added an optional bottom padding to LineChart
76- POTENTIALLY BREAKING for typescript: added some typedefs to "LineChart", "BarChart", and "StackedBarChart". Also added some typedefs for styles.
77- corrected the line-chart & progress-chart wrong width calculation
78
79## v3.12.0
80
81- added `formatXLabel`, `formatYLabel`, and `getDotProps` to `LineChart`
82
83## v3.11.0
84
85- added optional props: `xAxisLabel`, `yAxisSuffix`, `yLabelsOffset`, `xLabelsOffset`, and `hidePointsAtIndex` to `LineChart`
86- added optional prop `withInnerLines` to `BarChart`
87- added optional `fillShadowGradient` color and `fillShadowGradientOpacity` to chart config for customizing the area under the data points in `LinChart` and `BarChart`
88
89## v3.10.0
90
91- added type for chart config
92- added props config for Dots in the line chart
93
94## v3.9.0
95
96- added propsForLabels to chartConfig
97- added labelColor to chartConfig as a shortcut for propsForLabels / fill
98
99## v3.8.0
100
101- added dot cx, cy in the onDataPointClick functions arguments
102- fixed for horizontal label position when there is only one data point and fromZero prop is true
103
104## v3.7.0
105
106- expose paddingTop and paddingRight via the style prop
107- style the chart background lines with chartConfig's propsForBackgroundLines
108
109## v3.6.0
110
111- added barPercentage property to chartConfig (by @dchirutac)
112- added dot color callback prop (by @stephenc222)
113- added bar chart label rotations (by @stephenc222)
114
115## v3.5.0
116
117- added `horizontalLabelRotation` and `verticalLabelRotation` props to `LineChart`
118
119## v3.4.0
120
121- added `chartConfig` `backgroundGradientFromOpacity` and `backgroundGradientToOpacity`
122
123## 3.3.0
124
125- added `index` to `onDataPointClick`
126
127## 3.2.0
128
129- added optional labels for ProgressChart
130
131## 3.1.0
132
133- added withVerticalLabels and withHorizontalLabels to LineChart, BarChart and StackedBarChart
134
135## 3.0.0
136
137- added typescript types