score:3
As @wergeld said, you need to pass 0-based values to options, otherwise you won't get displayed nothing at all. For nulls it's no possible, since this doesn't have value.
Now,you need to set minPointLength
, to some value (like 10), then even 0-values will be displayed as small bars. See demo: http://jsfiddle.net/EJK4e/12/
Just to be on the same page - to display tooltip, you need point graphic, otherwise there will be no hover event for triggering tooltip to show up.
score:5
Why not make it a shared
tooltip like this:
tooltip: {
formatter: function() {
var s = '<b>'+ this.x +'</b>';
$.each(this.points, function(i, point) {
s += '<br/>'+ point.series.name +': '+
point.y +'m';
});
return s;
},
shared: true
},
Demo here. Note that I have added a 0 point value. If there is no point there then there is nothing to show, right?
{
name: "2012",
data: [
[0, 69347.35],
[1, 120753.55],
[2, 0],
[12, 95050.45]
]
}
Source: stackoverflow.com
Related Query
- HighCharts - Show tooltip on column where value is 0 or null
- Show value of last point as label or tooltip on Highcharts Stock Chart
- Show N/A in datalabels, when value is null - Highcharts
- Column Chart Show datalabel for null values - Highcharts
- Highcharts stacked column don't show the stacked with min value
- Remove gap in Highcharts column chart from null value from JSON file in React
- Highcharts column chart histogram show x range in tooltip
- Highcharts: Show tooltip anywhere over series value column without using shared:true?
- How to show an additional column from CSV file as a tooltip in Highcharts
- customize highcharts tooltip to show datetime
- How to show a column with the value Zero in Column chart in Highcharts?
- How to make stacked column graph to show total data value on top
- Highcharts - only show tooltip when hovering directly on point
- Show tooltip of a column chart programmatically in StockChart (highchart)
- Highcharts - How to hide series name and Y value in tooltip
- Highcharts - show at least 5 horizontal grid lines, even when value doesn't change
- Change Datalabel Color, Rotation and Align values based on Column value in highcharts
- Show HighCharts tooltip when chart loads
- highcharts / highstock column doesn't show all datalabels
- Highcharts not showing tooltip after update from null
- Highcharts show plot value on x axis label
- HighCharts area graph - show tooltip only on hover of marker
- Highcharts - Show tooltip onClick instead of hover
- Highcharts column tooltip - always on top + fit the container
- Highcharts - Show tooltip on points click instead mouseover
- HighCharts - Show categories in x axis intead of the value of x in Bubble Chart
- Highcharts Tooltip At Column Chart
- Highcharts one value per series column
- Highcharts stacked column stackLabels do not show when axis is reversed
- Highcharts show the same yAxis start and end value with multiple data series
More Query from same tag
- Format data for Highcharts chart
- Highcharts-How to align shared tooltip on the top of column in multiple series column chart?
- Highcharts - Trying to get a dyamic spline to update from left to right
- How to change the legend data highcharts
- Change window position with button HighStocks
- Github pages not locating CSV file even though it works locally (Highcharts)
- Highcharts XRange datetime format
- Legend and Axis titles not showing in Highcharts Graph
- Highmaps caribbean map
- set font size of sankey chart in HIghcharter for R
- How to limit dataLabels in highcharts?
- Library duplication issue using Highcharts in Jaspersoft Studio
- highcharts move a point using pixels
- Highcharts: export image show wrong color and line width if user change the color and/or line width
- How can I move x axis of highchart in a particular time period?
- highcharts Export XLS files on client side
- Highcharts data grouping method for objects
- How to find a point with longitude and latitude in a Highmaps maps serie, initiated with GeoJson?
- Programmatically change legends in highstock or highchart
- HighChart Graph not displaying in Mail
- How to set an fillArea offset in HighCharts
- Create graph in tooltip of highchart
- Highcharts: multiple series columns by year
- Incrementing a date by the {point.x} value in Highcharts
- Why do my Highcharts stacked areaspline charts look funny?
- How to style text annotation using CSS in highchart
- Google Pie chart, can't set different values for 2 different graphs
- how push some elements of an array to another
- how to remove time from Highstock chart at navaigater bar?
- Highchart with dynamic scale for both series