legend order for mixed charts. #29626
Replies: 4 comments 5 replies
-
Hello @sunilreddy0720! I'm here to help with any bugs, questions, or contributions you have. Let me know how I can assist you! Yes, you can alter the legend order in a time series mixed chart. You can customize the legend order by modifying the const echartOptions: EChartsCoreOption = {
// ... other properties
legend: {
// ... other legend properties
data: ["Year 1", "Year 2", "Year 3", "Year 4+", "Rolling 4 week average"],
},
// ... other properties
}; This will ensure that the legend items are displayed in the specified order [1]. |
Beta Was this translation helpful? Give feedback.
-
Hi dosu can we achieve this in a generic way apart from code change. |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Guys,
suppose i have a Time series mixed chart.
and my legend order is
i want my legend order to be Year1 year2 year3 year4+ Rolling 4 week average.
is there any option that can we alert this legend order ?
Beta Was this translation helpful? Give feedback.
All reactions