can anyone help me out with this issue? I am using charts_flutter library, wanted the chart to be overlapping the y-axis label.
library: https://pub.dev/packages/charts_flutter
This is my code:
TimeSeriesChart(
seriesList,
dateTimeFactory: const LocalDateTimeFactory(),
animate: animate,
domainAxis: DateTimeAxisSpec(
renderSpec: GridlineRendererSpec(
labelStyle: new TextStyleSpec(
fontSize: MyDimens.chart_text_size, //
color: labelColor),
lineStyle: LineStyleSpec(
thickness: 0, color: MaterialPalette.transparent)),
),
primaryMeasureAxis: new NumericAxisSpec(
tickFormatterSpec: simpleCurrencyFormatter,
tickProviderSpec: new BasicNumericTickProviderSpec(
zeroBound: false,
dataIsInWholeNumbers: false,
desiredTickCount: MyDimens.chart_desired_tick_count,
),
renderSpec: new GridlineRendererSpec(
// Tick and Label styling here.
labelStyle: new TextStyleSpec(
fontSize: MyDimens.chart_text_size, //
color: labelColor),
// Change the line colors to match text color.
lineStyle: new LineStyleSpec(color: lineColor),
labelAnchor: TickLabelAnchor.after,
labelJustification: TickLabelJustification.inside,
)),
)

