thiago
thiago

Reputation: 101

Highcharts -- yAxis on donut chart not being displayed

Highchart's own donut chart example does not display the yAxis. Link below:

http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/pie-donut/

Part of the code related to the yAxis that does not show up on the chart:

yAxis: {
    title: {
        text: 'Total percent market share'
    }
},

Is it possible to have a donut or a pie chart with a visible yAxis?

Upvotes: 0

Views: 384

Answers (1)

jlbriggs
jlbriggs

Reputation: 17791

I would suggest making use of one of the many other text elements already set up for the chart.

Adding a dummy series in order to add a dummy axis in order to make use of its title element seems like an odd and excessive choice.

You have these elements available to you by default:

Upvotes: 0

Related Questions