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
We are handling desktop and mobile design for pie charts with V5 JSON config.
If possible, would you please let us know how to update the settings (layout) and the position of the piechart/legend, after initiated the chart?
CodePen (initiated with horizontal. Exploring a solution to change the chart to vertical and adjust the chart/legend position, when the window is resized to mobile size) https://codepen.io/flaming-cl/pen/dyxXRQX
The text was updated successfully, but these errors were encountered:
We are using itemContainer to customize our own legend.
Do you know how I can get the itemContainer instance and set their x/y and update the width/height of the pieSeries?
responsive.addRule({
relevant: am5themes_Responsive.widthM,
applying: function() {
chart.set("layout", root.verticalLayout);
// how to set legend item container
},
});
We are handling desktop and mobile design for pie charts with V5 JSON config.
If possible, would you please let us know how to update the settings (layout) and the position of the piechart/legend, after initiated the chart?
CodePen (initiated with horizontal. Exploring a solution to change the chart to vertical and adjust the chart/legend position, when the window is resized to mobile size)
https://codepen.io/flaming-cl/pen/dyxXRQX
The text was updated successfully, but these errors were encountered: