syncfusion_flutter_charts 27.1.56 error 'value != null': is not true. #2152
Labels
charts
Charts component
waiting for customer response
Cannot make further progress until the customer responds.
Bug description
Error:
However, yValue is never null:
LineSeries dataSeries() {
return LineSeries<GraphData, String>(
yAxisName: "体重",
color: AppColors.darkColor,
dataSource: widget.otherValues!,
xValueMapper: (GraphData data, _) => data.name,
yValueMapper: (GraphData data, _) =>
0,
markerSettings: const MarkerSettings(
isVisible: false, shape: DataMarkerType.circle),
animationDuration: 200,
emptyPointSettings:
EmptyPointSettings(mode: EmptyPointMode.drop, borderWidth: 1),
dashArray: [2, 4],
onPointTap: (detail) {
debugPrint("onPointTap ${detail.pointIndex}");
});
}
Steps to reproduce
Throw any value in datas field below.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
iOS
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: