Disable title and subtitle in Highcharts
In this post, I am sharing wow to disable title and subtitle with Highcharts JavaScript chart library.
The easiest way to disable title or subtitle in Highcharts is to provide empty (or null
) title
or subtitle
text property when creating new chart e.g.
$('#container').highcharts({
//...
title: {
text: ''
// text: null // as an alternative
},
subtitle: {
text: ''
// text: null // as an alternative
}
//...
series: [ ... ]
});
The rendered chart will have no space for the title or subtitle.
There might be some other options for hiding title or subtitle labels on this StackOverflow question.