enableTooltip property

bool enableTooltip
final

Enables the tooltip for trendlines.

Defaults to true.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <CartesianSeries<ChartData,String>>[
      LineSeries<ChartData,String>(
        trendlines: <TrendLine>[
          Trendline(enableTooltip: false)
        ]
      )
    ]
  );
}

Implementation

final bool enableTooltip;