score:1
Accepted answer
insert the tooltip bit as shown below:
xaxis:{
categories:['a','b','c','d','e'],
linecolor:'#999',
linewidth:1,
tickcolor:'#666',
ticklength:3,
title:{
text:'x axis title',
style:{
color:'#333'
}
}
},
--------------------------------------
tooltip: {
formatter: function () {
var s = '<b>' + this.x + '</b>';
$.each(this.points, function () {
s += '<br/>' + this.series.name + ': ' +
this.y + '%';
});
return s;
},
shared: true
},
----------------------------------------
yaxis:{
linecolor:'#999',
linewidth:1,
tickcolor:'#666',
tickwidth:1,
ticklength:3,
gridlinecolor:'#ddd',
title:{
text:'y axis title',
rotation:0,
margin:50,
style:{
color:'#333'
}
}
},
Source: stackoverflow.com
Related Query
- Highchart Add text after value tooltip
- HighChart Tooltip addition text and value
- adapting text to highchart tooltip max width
- Tooltip is not hidden after formatting in highchart
- Add a custom text tooltip that differs from point to point in Highcharts
- How to add value of y-axis under the x-axis labels in highchart with given dataset
- how to fix tooltip after highchart upgrade
- Android Highchart bar chart add a text below a bar
- How to add a vertical plot line in multiple line series and show the tooltip on Plot line in highchart
- How to add text verticaly and horizantaly centered inside highchart solid gauge
- HighCharts add another series value into tooltip
- Highchart add a text under single bar in bar chart
- Add tooltip in highchart custom button
- add text under the bar with plotOptions highchart (BAR)
- Highchart - add "onclick event" for total value stackLabel
- Highcharts - Add a tooltip suffix value dynamically for each series
- Highchart tooltip formatter function not able to get x value (this.x)?
- Add a colored text in italic to Highchart plot
- Highchart tooltip value should be format based on locale
- Highstock : how to add an empty zone after last value
- Highchart line chart Tooltip showing index value instead of X-axis formatted label name
- Allow text input (write-back) from highchart tooltip
- How to add color in highmap highchart based on value
- How to add value in the tooltip in graph Highcharts?
- Make a text box appear on dragging point in highchart or an editable tooltip
- I want to give numbering in x axis and tooltip shows my specific array value according to that in highchart
- How to display highchart series line marker symbol from tooltip formatter?
- Change Highcharts tooltip formatter from chart Object , after chart is rendered
- HighChart Shared Tooltip Number Formatting
- Add tooltip to legend in highcharts when hovering
More Query from same tag
- highcharts: edit data labels style in css file
- Convert data to percentages HighCharts
- Proper x-axis for Highcharts stack group column
- Highcharts 3 cannot render more than 1000 points in one series
- Can I create multiple dynamic carts with Highcharts
- draw linear-gradient line chart in highchart.js based on another series
- Highstock line chart xAxis datetime being sampled down
- Updating highcharts using ajax for Rails
- Draw plot bands between 2 points in x axis - Highcharts
- Highcharts: How to make startRow and endRow work again when data is stored in Google Spreadsheet?
- axis labels overlap each other in polar chart
- Highcharts dynamic data fetching in React
- Fullscreen functionality on saperate html button for highchart in angular
- Highchart show percentage on group column highcharts
- Links in pie charts for Highcharts.js
- Highcharts chart sometimes appears squashed
- incorrect generation of highcharts
- Category in x-axis of second chart is not coming properly
- Modifing the "X" close button of highslide popups
- how can i add popup to flags in highchart?
- how do i redraw only the Highchart with new API that depends on my Select Option Parameter?
- responsive highcharts with dynamic font size and widths
- Draw line before marker appear Highchart
- implementing HighCharts-xrange in angular4
- Need to precisely set Highcharts axis min/max after chart creation
- Highcharts Zoom out in steps
- Highcharts stocks - Scale candlesticks serie only
- Selenium: How to relate an id or a class to a specific div?
- Dynamically modifying the HighChart layout options
- Tooltip Highcharts in hybrid application