- Support custom disabled opacity.
- Support align the first and last points of the chart with both ends when display mode.
- Support drawing grid lines as dotted lines. Now the y-axis can also draw grid lines.
- Fix the issue of being unable to respond to touch events when the coordinate point touch area overflows.
- BREAKING CHANGE
- Since the touch area is repaired by filling inward, this update may affect the original chart style. Please check and confirm after the update.
- Add reverse initialization animation to clean up the chart.
- Add
clearChart
example. - Fix a comment issue.
- Add
enableFeedback
parameter. - Add animation effects to coordinate points.
- Improve curve chart display.
- Constraint plugin generic type should be an enum.
- Add color palette to optimize display when no theme is set.
- Add the simplest example usage.
- Fix an issue where the opacity of some colors could be overridden.
- BREAKING CHANGE
- Refactor
curved
tosmooth
, now usesmooth
to set smoothness. - Remove
defaultCoordinatePointColor
,defaultTapAreaColor
anddefaultFillAreaColor
, now if these styles are not set, they will be set based on the coordinate point color.
- Refactor
- Support display as a curve chart.
- Improve performance of drag events.
- Optimize the drawing of coordinate systems.
- Improve that animation effect of chart initialization.
- Optimized sliding calculation method.
- Export
SlidableLineChartState
to provideresetAnimationController
. - Update example to provide more use cases.
- BREAKING CHANGE
- Now the diagram itself doesn't maintain any state and needs to be updated via the
onChanged
callback. - Remove the style-related property from the
SlidableLineChart
and now replace it withSlidableLineChartThemeData
. - Use
coordinatesOptionsList
instead ofallCoordinates
to simplify parameter entry. - Rename
canDragCoordinateType
toslidableCoordinateType
. - Rename
yAxisDivisions
todivisions
. - Use
slidePrecision
instead ofenforceStepOffset
to set the minimum value for each slide by the user. - Rename
reversedYAxis
toreversed
. - Rename
onlyRenderEvenYAxisText
toonlyRenderEvenAxisLabel
. - Rename
drawCheckOrClose
toonDrawCheckOrClose
.
- Now the diagram itself doesn't maintain any state and needs to be updated via the
- Add .pubignore.
- Initial plugin release.