score:15
you'll have to specify a tooltip formatter yourself (see documentation):
tooltip: {
formatter: function() {
return 'the value for <b>'+ this.x +
'</b> is <b>'+ this.y +'</b>';
}
},
there you can just show the x-values if you like or your custom text.
hope that helps.
score:0
if you want to format the second line of the tool tip, but leave the x-axis label name alone you can use point format instead of formatter.
tooltip: {
pointformat: 'the value is point.y'
},
score:2
i have modified the demo and created a new demo here
to customize the text displayed in the tooltip
, you should use it like:
highcharts.chart('container', {
title: {
text: 'solar employment growth by sector, 2010-2016'
},
subtitle: {
text: 'source: thesolarfoundation.com'
},
........
.....
....
tooltip: {
formatter: function() {
return '<strong>x value: </strong>'+ this.x;
}
},
});
Source: stackoverflow.com
Related Query
- Highcharts - How to hide series name and Y value in tooltip
- How to hide series name from tooltip in Highcharts scatter plots for linear regression
- How to hide Series Name in HighCharts Tooltip when using pointFormatter
- How to hide one series data info in tooltip using highcharts
- Highcharts - Tooltip and series name are out of their boxes in chrome
- Treemap in highcharts display series name and value in treemap only
- How to Increase minimum point value and the color of series in advanced accessible charts in Highcharts by making it traverse
- How to remove Series name on bottom and we are not getting bar value on top of each bar and also each bar description is aligned cross in Columnchart
- HighCharts Hide Series Name from the Legend
- How can I hide series from a HighCharts legend?
- How can I hide a series from initially being displayed in Highcharts
- Hiding _groups_ of series in Highcharts and jQuery: how to get acceptable performance?
- How can i hide all the Series in highcharts at a time
- Highcharts - How to remove connecting line between fixed tooltip and point
- Highcharts shared tooltip for line series and scatter plot not working
- Highcharts 3.0, area chart with stacked and unstacked series - how to fix?
- How do I hide a Highcharts series from the chart, but always show it in the tooltip?
- how to pass values to tooltip which not in x and y axis in highcharts
- How can I hide and show a category in highcharts
- Highcharts shared tooltip between charts with multiple series and shared tooltip
- Highcharts - Hide series "points" (labels) on both x- and y-axis
- How to remove the value and number labels from Highcharts angular gauge
- Showing HighCharts series name on x-axis and in legend
- How to remove a series in Highcharts by name
- Highcharts show the same yAxis start and end value with multiple data series
- Highcharts - how to create multiple y axis and group the data series
- How to change space value between grid and yAxis in Highcharts line chart
- How to edit tooltip in Highcharts C# code
- How to get Series Name Based on Selection in Highcharts
- How can I hide non-selected series and axes when using XY zoom with highcharts?
More Query from same tag
- hide zoom text on rangeSelector
- How to highlight and show tooltip for correct (left / right) step point instead of the closest point
- Highcharts - show custom tooltip on mouseOver and on mouse Click
- Scale graph in angular
- Add time-stamp data from multiple csv files to highchart
- django-chartit highcharts options object "chart" not displaying subtitle
- HighCharts.StockChart tooltip lables on hover of datapoints is incorrect
- Highcharts treemap top and left borders missing
- Small HighCharts disappear
- Highcharts full circle gauge as in Knob js
- (HighCharts) Color reverts on mouseOut after manual mouseOver
- highcharts solidgauge - make it striped or 3D
- Highcharts tooltip displayed over div
- How can i reduce gap between legend and chart in highchart of type column where legend is aligned at top without reducing height of chart?
- Highstock - Single line series-Dynamically create marker based on a trigger
- How to make a Highstocks x-axis even and regular?
- How do I reset Highcharts bar color back to it's original color?
- Highcharts click events not firing when displaying multiple line series
- Applying custom color on HighCharts?
- Properly align columns in highcharts
- Multiple pie-charts in the same chart with HighCharts
- Highcharts tooltip backgroundColor inherit from the hovered element
- Highcharts not rendering properly with too many series
- Adjust X Scale in highchart to display proper ratio
- Highcharts creating series for column graph
- HighCharts Live Data using mqtt
- HighMaps: Using multi-valued mapData identifier in joinBy option
- Highchart.js is not working properly in pure IE8
- Highcharts/Highstocks jQuery - Scroll, Zoom and Margin issue
- Can we set bar labels with dynamic custom array in Highcharts?