- FEATURE (by @imaNNeoFighT): Add
SideTitleWidget
to help you use it in [SideTitles.getTitlesWidget]. It's a wrapper around your widget. It keeps your providedchild
widget close to the chart. It hasangle
andspace
properties to handle margin and rotation. There is aaxisSide
property that you should fill, it has provided to you in the MetaData object. Check the below sample:
getTitlesWidget: (double value, TitleMeta meta) {
return SideTitleWidget(
axisSide: meta.axisSide,
space: 8.0,
angle: 0.0,
child: const Text("This is your widget"),
);
},
- IMPROVEMENT (by @imaNNeoFighT): Fix default LineChart interval issue on small view sizes, #909.