I’m having trouble finding anything related to that so I’m trying to get some insights here.
Is there a way to build a graph (any graph, but let’s take a bar graph as an example) in way where part of the series items lay under ‘Other’, and on click on it, they expand? For example, In the following graph, having the circled items as part of ‘Other’, and only on click on it, expand it to be shown as in the picture. Notice that the example I gave is a static list of items, but in my case I can not rely
Highcharts.chart(‘container’, {
chart: {
type: ‘bar’
},
title: {
text: ‘Amounts of 15 Different Types of Fruits’
},
xAxis: {
categories: [‘Fruits’]
},
yAxis: {
title: {
text: ‘Amount’
}
},
series: dataSeries
});
Bar Graph Legend Items
I tried having a nested item list- didn’t work. Searched documentation and didn’t find any reference to that.
Zohar Zaig is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.