Updating charts with mobx-state-tree for state management

Hello,

I'm a little confused why I am unable to update the ChartComponent title in the following Stackblitz:

Any ideas?

Thank you 🙏



1 Reply

DG Durga Gopalakrishnan Syncfusion Team February 15, 2021 12:12 PM UTC

Hi Eric,

We have ensured the reported scenario with provided sample. As of now we are facing problem in updating chart title using specified scenario. We suggest you use chart refresh method to change chart title. We have attached sample for your reference.

  changeTitle = () => {
    this.chart.title = "Chart 2";
    this.chart.refresh();
  };


If the provided solution doesn't meet your expectations, please revert us.

Regards,
Durga G



Loader.
Up arrow icon