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
On the Axis header page in the Legend in header section the example code should use chart.series.values rather than chart.series since the legend.data.setAll() call expects an array.
var legend = yAxis.axisHeader.children.push(am5.Legend.new(root, {}));
legend.data.setAll(chart.series);
should be
var legend = yAxis.axisHeader.children.push(am5.Legend.new(root, {}));
legend.data.setAll(chart.series.values);
The text was updated successfully, but these errors were encountered:
On the Axis header page in the Legend in header section the example code should use
chart.series.values
rather thanchart.series
since thelegend.data.setAll()
call expects an array.should be
The text was updated successfully, but these errors were encountered: