JBasu
JBasu

Reputation: 95

Legends display order using highcharts in pie chart

Using highcharts, legends are displayed in a horizontal manner. I am trying to display in vertical order (one series below the other) but I could not find any solutions for that.

In the image below, the order of legends are horizontal. Can someone help me figure out how to display the legend in a vertical order? enter image description here

Upvotes: 0

Views: 673

Answers (1)

Ygalbel
Ygalbel

Reputation: 5519

Use this snippet, it will place the label vertically in bottom of chart:

  legend: {    
            verticalAlign: 'bottom',
            layout: 'vertical        
        },

You can check it with this fiddler.

Upvotes: 3

Related Questions