You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the only way to do this is to access the chart attribute of the element's state:
this.refs.mychart.state.chart
chart however is null when I try to access in componentDidMount and accessible (not null) in componentWillUpdate (called after componentDidMount and only called once on refresh of the current page - ie., if I click a link to my AmCharts page from another page, this method is never called).
Is there a reliable way to access state data so that I can call AmSerialCharts methods on the AmChart?
The text was updated successfully, but these errors were encountered:
It seems the only way to do this is to access the
chart
attribute of the element's state:chart
however isnull
when I try to access in componentDidMount and accessible (not null) in componentWillUpdate (called after componentDidMount and only called once on refresh of the current page - ie., if I click a link to my AmCharts page from another page, this method is never called).Is there a reliable way to access state data so that I can call AmSerialCharts methods on the AmChart?
The text was updated successfully, but these errors were encountered: