- Migrated to null-safety.
- Format bubble value and
updatePositionOnTap
were added. Thanks @ltdangkhoa.
dataPointFillColor
anddataPointStrokeColor
were added in BezierLine.verticalLineFullHeight
was added inBezierChartConfig
.onScaleChanged
was added inBezierChart
to notify when the scale was changed.- Issue related to updating the chart with new data fixed. aeyrium/bezier-chart#62
- Web support was added
- Fixed a bug related to
BezierChartScale.WEEKLY
- new property added
bezierChartAggregation
forBezierChartConfig
- if datapoints now overlap the chosen aggregation method is used -> Supported are:
AVERAGE
,SUM
,FIRST
,COUNT
- Fixed a bug related to
stepsYAxis
value - new property added
displayDataPointWhenNoValue
forBezierChartConfig
- new property added
physics
forBezierChartConfig
- Added
bubbleLabelValueBuilder
andbubbleLabelDateTimeBuilder
callbacks
selectedValue
was added forBezierChartScale.CUSTOM
verticalIndicatorFixedPosition
fromBezierChartConfig
was changedfalse
by default.stepsYAxis
was added toBezierChartConfig
, it works only ifdisplayYAxis
is [true]. e.g: stepsYAxis : 5 , if your maxValue is 100, then the Y values should be: [0,5,10,15 .... 100] (Checksample1
orsample7
)bubbleIndicatorLabelStyle
,bubbleIndicatorTitleStyle
andbubbleIndicatorValuetyle
were added insideBezierChartConfig
to allow customization for the bubble indicator panel.- bugs fixing
onIndicatorVisible
callback was added to check when the indicator is visible or notonValueSelected
was added , it displays the currentdouble
value selected by the indicator (if the chart is CUSTOM).onDateTimeSelected
was added, it displays the currentDateTime
selected by the indicator (if the chart is Date type).- New date type chart added
BezierChartScale.HOURLY
, doesn't support zoom.
- Fixed
pinchZoom
forBezierChartConfig
. footerDateTimeBuilder
was added as optional insideBezierChart
, it allows you to display custom X footer for eachDateTime
value.
- Optimizing
for
loops removing unnecessary convertion fromIterable
toList
. startYAxisFromNonZeroValue
property was added, if you are displaying the Y Axis then your chart will start from your lower value, if you set it tofalse
, it will start from zero.displayLinesXAxis
andxLinesColor
were added to display a vertical line on each X data point, it only works when there is oneBezierLine
.
- Chart starts from the first data point, not from zero.
displayYAxis
was added (false by default).footerColor
was removed fromBezierChartConfig
, now you can usexAxisTextStyle
oryAxisTextStyle
both areTextStyle
.
- Added an example README.md for the
bezier_chart
package. - Added a repository url to the pubspec
- First release of our beautiful
bezier_chart
package.