Hey,
I have a chart which will have multiple line series in it, for now it only has 2 though, but when I use the trackball it won't show the tooltip for both lines, but only for one.
I am using a LineChart and a FastLineChart, and I have attached a video showing this behaviour.
Here are the series:
name: 'trackball',
dataSource: trackballData,
xValueMapper: (Point p, _) => p.x,
yValueMapper: (Point p, _) => p.y,
width: 4,
),
FastLineSeries<Point, double>(
name: 'bloodConcentration',
dataSource: simulationManager.simulation(id: widget.id).concentrations,
xValueMapper: (Point cp, _) => cp.x / 60.0,
yValueMapper: (Point cp, _) => cp.y,
width: 4,
),
And here are the trackball settings:
trackball = TrackballBehavior(
tooltipDisplayMode: TrackballDisplayMode.groupAllPoints,
activationMode: ActivationMode.longPress,
// shouldAlwaysShow: true,
enable: !simulationManager.addMode,
tooltipSettings: InteractiveTooltip(format: 'point.y mcg/ml')
);
Thanks in advance!!
Attachment:
Schermopname_20200330_om_20.01.13_6b3cfda6.zip