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