Welcome to the Flutter feedback portal. We’re happy you’re here! If you have feedback on how to improve the Flutter, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Empty



series: <ChartSeries<Map<String, dynamic>, String>>[
ColumnSeries<Map<String, dynamic>, String>(
dataSource: dataSource,
xValueMapper: (Map<String, dynamic> data, _) =>
WeekUtils.getWeek(data['week']),
yValueMapper: (Map<String, dynamic> data, _) =>
IntlUtils.tryToNum(data['negSaleAmt']),
name: '销售额',
dataLabelSettings: const DataLabelSettings(
isVisible: true,
showZeroValue: false,
),
// isVisible: dataSource?.isNotEmpty == true, //

If I uncomment, no error will be reported


),
LineSeries<Map<String, dynamic>, String>(
dataSource: dataSource,
xValueMapper: (data, _) => WeekUtils.getWeek(data['week']),
yValueMapper: (data, _) =>
IntlUtils.tryToNum(data['negSaleAmtRatio']) ?? 0,
name: '销售额占比',
markerSettings: const MarkerSettings(isVisible: true),
dataLabelSettings: const DataLabelSettings(isVisible: true),
yAxisName: 'cvAxis',
// isVisible: dataSource?.isNotEmpty == true, //

If I uncomment, no error will be reported


),
],

if