score:2
Accepted answer
to change tooltip display you could add more info per data point and later access it and set it in tooltip
's formatter
.
example: https://jsfiddle.net/woo70ers/
it might be easier to have all extra info in another array - easier too loop, whatever the additional into is.
simple example: http://jsfiddle.net/am5ynolg/
tooltip: {
formatter: function() {
var ret = 'x: ' + this.x + ', y: ' + this.y;
highcharts.each(this.point.extrafortooltip, function(info) {
ret += '<br/>' + info[0] + ': ' + info[1];
});
return ret;
}
},
series: [{
data: [
[0, 1, [['opt1',123],['opt2','nice']] ],
[1, 2, [['opt2','bueno'],['opt3','esp_#42']] ]
],
keys: ['x', 'y', 'extrafortooltip']
}]
Source: stackoverflow.com
Related Query
- Adding thousands separator for custom formatted highcharts tooltip
- Tooltip on custom button in Highcharts
- Highcharts custom renderer chart and tooltip
- Add custom buttons in Angular Highcharts Line Chart
- Angular Highcharts Custom Legend Label In Area Chart
- Getting Highcharts tooltip to return an angular directive?
- Highcharts - how to set custom content in point tooltip (popup) on 3D scatter chart or how to customize point tooltip information?
- highcharts show additional custom data in tooltip
- Highcharts 5 tooltip colour with custom css class
- Highcharts angular.js custom tooltip
- How to edit tooltip in Highcharts C# code
- how to use highcharts tooltip formatter in python code
- Unit test for Highcharts tooltip in Angular
- Add a custom text tooltip that differs from point to point in Highcharts
- Highcharts custom tooltip positioner
- Display custom tooltip on highcharts legend
- Getting Highcharts tooltip to return an angular directive using templeteUrl?
- Highcharts custom tooltip
- Add custom data on tooltip of Highcharts donut graph
- Implementing Custom Temperature Gauge with Angular 4 and HighCharts
- Dynamically Take input from text-areas in a jquery ui custom pop up box for Tooltip in highcharts
- show tooltip for each point of highcharts network graph in Angular
- adding a custom variable as a tooltip in highcharts scatter chart
- Can I make a custom tooltip on a highcharts drilldown?
- Custom hover / tooltip data on highcharts network chart
- Custom color & tooltip for a single bar in Highcharts histogram
- Highcharts : remove custom legend tooltip from export
- Angular 8 & Highcharts - how to show tooltip crosshairs
- Highcharts - Can we have default and custom tooltip based on different chart types?
- Highcharts tooltip custom CSS turning the caret/arrow white
More Query from same tag
- How to show Highstock tooltip to nearest point in 2-D distance?
- Highcharts.js not working inside slick slider
- Using HighCharts with vb asp.net
- highcharts, highstock without jQuery
- Setting min and max for chart in Highcharts library error
- How to set object value in color attribute for high charts legends?
- Add custom data on tooltip of Highcharts donut graph
- Highchart's gauge with gradient plotband
- difference between 'stackLabels' and 'dataLabels' in highcharts
- HighCharts Bubble dataLabels color
- Draw tick lines at the top of highcharts chart
- highstock linked to spreadsheet data doesn't work anymore
- Highcarts custom legend
- Highcharts polar chart not connecting lines properly
- Getting Refreshed Highcharts Data Using Selenium & Python
- mySQL with PHP to JSON for clientside chart
- Is it possible to have an adjustable line in highcharts stack area graph?
- React Native Highcharts call method
- HighCharts BoxPlot With Multiple Series Having Single Data
- Highstock - zoom all by function
- Highcharts bubble chart with updating default colors
- Adding intraday option to highcharts
- Changing themes using highcharts-angular
- How can I display my high-chart correctly and import data?
- Create Highcharts data label formatter that filters the data to display
- Highcharts: Change scale sizes
- Highcharts: Solidgauge Shadows
- Highcharts Treemap Data Labels issue in IE & Chrome
- How to toggle tooltip programmatically in highcharts?
- Highcharts - Unable to remove xasis titles while drill down