Reputation: 101
Highchart's own donut chart example does not display the yAxis. Link below:
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
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:
and then for full flexibility, the renderer method: http://api.highcharts.com/highcharts#Renderer
Upvotes: 0