- removed
.babelrc
from distribution - made decimalPlaces work for StackedBar Chart
- added ability to add custom segments on the Y-Axis
- implemented barRadius config in BarChart
- added showBarTops prop to BarChart
- added
barPercentage?: number; hideLegend: boolean;
props to StackedBarChart - added
barRadius
to chart config - added
renderDotContent
to LineChart
- line chart supports legend
- add
hideLegend
to ProgressChart
- patched a lot of indirect dependencies
- improved ProgressChartProps types
- added item index to some color calls
- added an optional bottom padding to LineChart
- POTENTIALLY BREAKING for typescript: added some typedefs to "LineChart", "BarChart", and "StackedBarChart". Also added some typedefs for styles.
- corrected the line-chart & progress-chart wrong width calculation
- added
formatXLabel
,formatYLabel
, andgetDotProps
toLineChart
- added optional props:
xAxisLabel
,yAxisSuffix
,yLabelsOffset
,xLabelsOffset
, andhidePointsAtIndex
toLineChart
- added optional prop
withInnerLines
toBarChart
- added optional
fillShadowGradient
color andfillShadowGradientOpacity
to chart config for customizing the area under the data points inLinChart
andBarChart
- added type for chart config
- added props config for Dots in the line chart
- added propsForLabels to chartConfig
- added labelColor to chartConfig as a shortcut for propsForLabels / fill
- added dot cx, cy in the onDataPointClick functions arguments
- fixed for horizontal label position when there is only one data point and fromZero prop is true
- expose paddingTop and paddingRight via the style prop
- style the chart background lines with chartConfig's propsForBackgroundLines
- added barPercentage property to chartConfig (by @dchirutac)
- added dot color callback prop (by @stephenc222)
- added bar chart label rotations (by @stephenc222)
- added
horizontalLabelRotation
andverticalLabelRotation
props toLineChart
- added
chartConfig
backgroundGradientFromOpacity
andbackgroundGradientToOpacity
- added
index
toonDataPointClick
- added optional labels for ProgressChart
- added withVerticalLabels and withHorizontalLabels to LineChart, BarChart and StackedBarChart
- added typescript types