score:-1
this is a bit of a hack but you can also try that:
title: {
text: '<span class="hidden">my custom hello</span>',
align:"left",
usehtml:true
}
score:1
this works for me!!!
title:false
score:2
just write a json object
title : {
style : {
display : 'none'
}
}
score:3
here is the solution
title: {
text: null
},
subtitle: {
text: null
}
score:4
in react-native below code worked for me,
title: {
style : {
display : 'none'
}
}
hope it helped.
score:5
for those that use typescript you can set the highcharts.titleoptions to hide the chart title.
title: {
text: undefined
},
subtitle: {
text: undefined
}
score:8
according the highcharts doc, the correct way is to set 'text' to null.
score:10
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.
score:13
you can always do this:
chart:{
margintop: 30
}
title:{
text: ''
}
that worked for me :-)
note:
this answer was for version 2.*
, for newer versions there are better answers.
score:13
it´s simple... only set the title´s text to null. like this
$(function () {
$('#container').highcharts({
xaxis: {
categories: ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec']
},
title: {
text: null
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
});
see@apireference: http://api.highcharts.com/highcharts#title.text
score:19
very simple! in the latest version of highcharts just set title and subtitle properties to false.
{
title: false,
subtitle: false
}
find the working fiddle here: https://jsfiddle.net/samuellawrentz/hkqnvm7k/4/
score:41
i prefer this method :
title: {
text: '',
style: {
display: 'none'
}
},
subtitle: {
text: '',
style: {
display: 'none'
}
},
score:73
from the highcharts doc:
text: string the title of the chart. to disable the title, set the text to null. defaults to chart title.
fiddle: http://jsfiddle.net/daub10dr/
title:{
text: null
}
score:175
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.
Source: stackoverflow.com
Related Query
- Is there a way to disable the Title and Subtitle in Highcharts?
- Is there any way to test the highcharts with large data-set with Jest and React.?
- Is there any way to disable hover action on particularly some nodes in networkchart of highcharts based on the node color.?
- Using Highcharts and displaying a message over or on the chart when there is no data
- How to add image in Highcharts Title and subtitle
- Highcharts - Why is there extra spacing before the first column and after the last column?
- Is there a way to change the display value in series using highcharts
- Is there a way to disable mouseover on highcharts entirely?
- Is there a way to fill different colors up to the desired point in Highcharts gauge graph?
- Disable the label text (min, max, average, bins values) in measure annotation while doing MeasureX in highstocks and highcharts
- How to stop plotting the graph if data is blank and continue if data is there on the y-axis in base line highcharts
- How to make hover effect for two bar in highcharts at the same time is there any way by using css or any inbuilt method to achieve this?
- Highcharts | Network Graph - Is there a way to expand leaf nodes on click of the Parent node?
- How to remove default Hover text and display the custom text title on hover Donut chart Highcharts
- In a Highcharts Stacked Area chart, is there a way of highlighting the area hovered over, rather than the area belonging to the nearest point?
- Is there any way to highlight the node on search in network chart when using highcharts in angular application
- Is there a way to plot more than 1000 points in a scatter plot using the Highcharts .NET Wrapper?
- Why aren’t those 2 HighCharts codes equivalent? (Or is there a way to modify a call to legendItemClick after the creation of the chart object?)
- Subtitle and title at bottom of highcharts
- Highcharts with shared and split tooptip, Is there any possible to style the hover xAxis labels?
- Is there a way to get the coordinates of a Segment that I draw on the HighCharts stockChart?
- The needle in highcharts speedometer gauge is very slow to react to changes in the speed value in an animation is there a way to make it more dynamic?
- how can I use rangeselector and navigation in highcharts in the given code
- How to update the HighCharts title using drill-up when there are multiple charts on same page?
- Is there any way to show the summation of area charts value in highcharts without using a line chart? I would like to know other alternative
- Calling Highcharts export to jpeg but the source is https and exporting is http (security warnings issued by browser)
- Is there a way to copy the contents of a HighCharts tooltip to the clipboard?
- Highcharts chart title and subtitle overlapping on Iphone 5
- Customize tooltip and format the number to 2 decimal places of highcharts
- How do you increase the performance of highcharts chart creation and rendering
More Query from same tag
- Change Highcharts Graph based on two Select inputs
- Highcharts fill serie's color on svg marker
- Is it possible in highcharts to have 2 charts, sharing the same x-axis, but next to one another?
- Highcharts not displaying series data for graph with multiple Y-axes
- Drill Down Maps In R + Shiny
- Highcharts v3.0.1 problems with rotating data labels in IE8 and jQuery v1.7.1
- Firebase data not plotting in HighCharts
- Change legend size in highmaps?
- How to access legendSymbols and change their shape in HighCharts
- Highcharts, trying to regulate maximum height of chart columns NOT including Axes
- Call asynchronous functions inside loop
- Highcharts width continue expanding as chart width grows
- Highstock - custom tickPositioner and tickInterval
- highcharts-ng show loading Image when loading
- Double X-axis within same Highchart object
- Basic jquery fiddle to Angular Directive
- Mult Serie Bubble Chart HighCharts
- Highcharts - svg vs digital
- How would I add a padding to the plot area in HighCharts (HighStock) to pad the border?
- Highcharts datetime axis, how to disable time part (show only dates)?
- Highcharts: get an event before drilldown?
- Selectable text at Highcharts tooltip
- Invalid datalabels position in latest version
- Highcharts - series.remove(); 4 series in chart, only 2 removed
- Highcharts - Getting a 3d effect with selected pie chart slices
- Shared Tooltip error during mouse click event in highcharts
- Gon variable is not defined in js.erb file using ajax
- navigator in highcharts not letting me decide the minimum range
- Width and show issue when use highchart
- Strange behavior of Highchart tool tip