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!

2
Votes

Installed 

  syncfusion_flutter_charts: ^19.1.54+1

My charts (that worked with 18.4.0.49) now fail with the ERROR listed in the title.  StackTrace indicates the error is in displaying a technical indicator - EMA.

I have several and they are all which are created with this code


  EmaIndicator ema(List chartData, int period) {
    print('EMA$period');
    return EmaIndicator(
      name: 'EMA$period',
      signalLineColor: Colors.lightGreen,
      dashArray: period == 50 ? [5, 5] : null,
      dataSource: chartData,
      xValueMapper: (ChartData data, _) => data.date,
      openValueMapper: (ChartData data, _) => data.open,
      highValueMapper: (ChartData data, _) => data.high,
      lowValueMapper: (ChartData data, _) => data.low,
      closeValueMapper: (ChartData data, _) => data.close,
      period: period,
    );
  }


Clearly the EMA indicator has the name property set.