getTitles function
- List<
String> titles
Gets titles for a graph.
Implementation
GetTitleWidgetFunction getTitles(List<String> titles) => (value, meta) => SideTitleWidget(
axisSide: AxisSide.bottom,
space: 2,
child: Text(titles[value.toInt()]),
);