🎉 1.4.76
Further improvements in Bubble Charts-
- Added the prop
regressionLinesBehindBubblesto Bubbles charts. When set to true, the regression line will appear behind the Bubbles. - Added the props
minXandxAxisOffset.
minXis Used to define the minimum possible X-value.xAxisOffsetis used to set the X-value at origin (left-most x-value).
const initialX =
props.xAxisOffset ??
Math.max(props.minX ?? -Infinity, leftMostReachingBubblesX);- Added the properties
seriesBubblesColorandseriesBubblesBorderColorto dataSet in Bubble charts. - Inside
regressionLineConfig, adjustedx1, y1andx2, y2to correspond to actual data values. Earliear they were pixel values. - Auto-compute x-Axis spacing based on chart width.