-
Notifications
You must be signed in to change notification settings - Fork 886
Closed
Labels
chartsCharts componentCharts componentwaiting for customer responseCannot make further progress until the customer responds.Cannot make further progress until the customer responds.
Description
Bug description
I had implemented trackball with version 24.x.x but recently I updated to latest version.
Now I can't see trackball or crosshair although I can see label on x axis hilighted while traversing.
Restoring to previous version I can see them again.
Is there anything which I need to update or it's a bug?
Ps.Thank you for this library
Steps to reproduce
Just update to 27.x.x for charts and impliment trackball in Sfcartision charts. Both Android and iOS can't show the trackball.
_trackballBehavior = TrackballBehavior(
enable: true,
activationMode: ActivationMode.singleTap,
lineType: TrackballLineType.vertical,
lineColor: Colors.blue,
markerSettings: TrackballMarkerSettings(
color: Colors.white,
borderColor: Colors.blue,
borderWidth: 9,
width: 5,
height: 5,
shape: DataMarkerType.circle,
markerVisibility: TrackballVisibilityMode.visible),
lineDashArray: [5, 5],
builder: (BuildContext context, TrackballDetails trackballDetails) {
final ChartData point = widget.data[trackballDetails.pointIndex!];
// widget.onDataPointSelected.call(point);
return Container(
decoration: BoxDecoration(
color: Colors.black.withOpacity(0.4),
borderRadius: BorderRadius.circular(4),
),
child: SectionSum(
sum: (point.y! * 100).toInt(),
textStyle: TextStyle(
color: Colors.white,
backgroundColor: Colors.black.withOpacity(0.4),
fontFamily: GoogleFonts.poppins().fontFamily,
fontSize: 12,
fontWeight: FontWeight.w700,
)),
);
},
);
Screenshots or Video
Screenshots / Video demonstration
I can update if needed
Stack Traces
Stack Traces
No crashes available
On which target platforms have you observed this bug?
iOS
Flutter Doctor output
Doctor output
Metadata
Metadata
Assignees
Labels
chartsCharts componentCharts componentwaiting for customer responseCannot make further progress until the customer responds.Cannot make further progress until the customer responds.