I\'m just going to hardcode it in using html that is around the graph, I don\'t want to use the built in.
I don\'t see a \"disable: true\" option in the API.
Set the text field to null
From the documentation at http://api.highcharts.com/highcharts#title.text
text: String
The title of the chart. To disable the title, set the text to null. Defaults to Chart title.
Setting the title text to an empty string is the way to do it.
No space is created for the title in that case:
without text: http://jsfiddle.net/jlbriggs/JVNjs/284/
with text: http://jsfiddle.net/jlbriggs/JVNjs/286/
title:{
text:''
}
If you want less space than is left in that case, simply set your 'marginTop' to 0
{{edit due to numerous comments:
As pointed out a number of times below, the documentation now states text: null
as the method to achieve this.
Either method achieves the desired result.
This works for me!!!
title:false
For those that use Typescript you can set the Highcharts.TitleOptions to hide the chart title.
title: {
text: undefined
},
subtitle: {
text: undefined
}
In react-native below code worked for me,
title: {
style : {
display : 'none'
}
}
Hope it helped.
Just write a JSON object
title : {
style : {
display : 'none'
}
}