- Bar
- Stacked Bar
- Line
- Line Bicolor (secondary Y axis not supported)
This means that each of the below tests will be written 3 times (1 for each of the above charts)
- A chart with only +ve values should have y Axis labels and the Y-axis line at the proper position
- A chart with both +ve and -ve values should have y Axis labels and the Y-axis line at the proper positions both in the 1st and the 4th quadrant
- A chart with only +ve values, all values less than 1 should show fractional labels on the y Axis
- A chart with only +ve values, with values range less than 1 should show fractional labels on the y Axis (given apt
yAxisOffset
) - A chart with only +ve values and
yAxisSide = {yAxisSides.RIGHT}
should have y Axis labels and the Y-axis line at the proper position - A chart with both +ve and -ve values and
yAxisSide = {yAxisSides.RIGHT}
should have y Axis labels and the Y-axis line at the proper position - A chart with
secondaryYaxis
should have the secondary y Axis labels and the Y-axis line at the proper position (given secondary data) - A chart with
secondaryYaxis
and both +ve and -ve values should have the secondary y Axis labels and the Y-axis line at the proper positions both in the 1st and the 4th quadrant yAxisExtraHeight
should add extra height to the chart whenheight
is NOT givenyAxisExtraHeight
should add extra height to the chart whenheight
is givenyAxisLabelWidth
prop should change the width of the y-Axis label and should horizontally shift the chart gracefully- Check alignment of the right side y-Axis line and labels when using the
yAxisLabelWidth
prop along withyAxisSide = {yAxisSides.RIGHT}
trimYAxisAtTop
should shorten the Y axis from top without shifting the labels, chart or rulestrimYAxisAtTop
should shorten the Y axis from top for the right side Y-axis when used withyAxisSide = {yAxisSides.RIGHT}
trimYAxisAtTop
should shorten both sides Y-axis when using the secondary Y axisyAxisLabelPrefix
should add the prefix to Y-axis labelsyAxisLabelSuffix
should add the suffix to Y-axis labels- Both
yAxisLabelPrefix
andyAxisLabelSuffix
should work together - Both
yAxisLabelPrefix
andyAxisLabelSuffix
should work together for chart with both +ve & -ve values - Both
yAxisLabelPrefix
andyAxisLabelSuffix
should work together for chart with fractional values formatYLabel
should format the Y-axis labelsformatYLabel
should work on top ofyAxisLabelPrefix
andyAxisLabelSuffix
rulesLength
prop should work for a chart with +ve values onlyrulesLength
prop should work for a chart with both +ve and -ve values- Reference line 1 should work for a chart with +ve values only
- Reference line 1 should work for a chart with both +ve and -ve values
- Reference line 2 should work for a chart with +ve values only
- Reference line 2 should work for a chart with both +ve and -ve values
referenceLinesOverChartContent
should render reference lines over chart contentshowVerticalLines
should workverticalLinesHeight
should workverticalLinesShift
should worknoOfVerticalLines
should workverticalLinesSpacing
should workrotateLabel
should work for a chart with +ve values onlyrotateLabel
should work for a chart with both +ve and -ve valueslabelsDistanceFromXaxis
should work for a chart with +ve values onlylabelsDistanceFromXaxis
should work for a chart with both +ve and -ve valuesxAxisTextNumberOfLines
should workxAxisLabelsHeight
should workxAxisLabelsVerticalShift
should work should work for a chart with +ve values onlyxAxisLabelsVerticalShift
should work for a chart with both +ve and -ve valueslabelsDistanceFromXaxis
andxAxisLabelsVerticalShift
should work together for a chart with both +ve and -ve valueslabelsExtraHeight
should work for a chart with +ve values onlynoOfSections
should worknoOfSectionsBelowXAxis
should workmaxValue
should workstepValue
should worknoOfSections
andmaxValue
should work togethernoOfSections
andstepValue
should work togethermaxValue
andstepValue
should work togethermostNegativeValue
should worknegativeStepValue
should worknoOfSectionsBelowXAxis
andmostNegativeValue
should work togethernegativeStepValue
andnoOfSectionsBelowXAxis
should work togethermostNegativeValue
andnoOfSectionsBelowXAxis
should work together
- A Pie chart with only 1 item in data array should work
- A Donut chart with only 1 item in data array should work
radius
should work for Pie chartradius
should work for Donut chartinitialAngle
should work for Pie chartinitialAngle
should work for Donut chartsectionAutoFocus
should work for Pie chartsectionAutoFocus
should work for Donut chartextraRadius
should work withsectionAutoFocus
for Pie chartextraRadius
should work withsectionAutoFocus
for Donut chartinwardExtraLengthForFocused
should work for Donut chartinwardExtraLengthForFocused
andextraRadius
should work together for Donut chartsemiCircle
should work for Pie chartsemiCircle
should work for Donut chartpieInnerComponent
should worklabelsPosition: inward
should worklabelsPosition: mid
should worklabelsPosition: onBorder
should worklabelsPosition: outward
should workshowExternalLabels
should work
onPress
should workonLongPress
should workonPress
for individual data items should work
- Line and area charts with the use of the
animateOnDataChange
prop should not blink on moving the pointer. #849