enableTooltip property
Enables the tooltip for trendlines.
Defaults to true
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <CartseianSeries<dynamic,dynamic>>[
LineSeries<dynamic,String>(
trendlines: <TrendLine>[
Trendline(enableTooltip: false)
])
]
));
}
Implementation
final bool enableTooltip;