score:2
Accepted answer
you can use pointformatter
and nodeformatter
functions:
series: [{
...,
tooltip: {
nodeformatter: function() {
return 'some text for node'
},
pointformatter: function() {
return 'some text for link'
}
}
}]
live demo: https://jsfiddle.net/blacklabel/romtnqx5/
api reference:
https://api.highcharts.com/highcharts/series.sankey.tooltip.pointformatter
https://api.highcharts.com/highcharts/series.sankey.tooltip.nodeformatter
Source: stackoverflow.com
Related Query
- Different ToolTip text For Links and Nodes in Highcharts Sankey Charts
- Why does highcharts sankey chart sometimes combine multiple nodes with same node name but different Id into one and hide the lines?
- Highcharts shared tooltip requires different valueSuffix and varying decimals
- Tooltip text alignment in Highcharts for 'direction: rtl'
- Highcharts shared tooltip for line series and scatter plot not working
- Highcharts shared tooltip between charts with multiple series and shared tooltip
- different tooltip than x-axis category text - highcharts
- highcharts and different yAxis for different categories
- Why does this Highcharts graph only show tooltip for the first and last nodes?
- Highcharts series showing different data for 'column' and 'line' chart
- how to show column and area charts with different y axis with same category and same x axis in highcharts
- Highcharts for multiple plot lines each with a different color and show tooltip?
- Different xAxis label, max and colors for drilldown in Highcharts
- Disable tooltip only for months and days in Highcharts
- Data and tooltip not working for graph using highcharts
- How can I apply different background color to entire tooltip for different series in highcharts
- HighCharts - different tooltip in "arearange" and "spline"?
- HTML table as data source for highstock charts using highcharts
- Set a different tooltip formatter for each sunburst levels - Highcharts
- how to give different names on tooltip for one series in highcharts R
- Different tooltip and value in Treemap || Highcharts
- How to change tick and minorTick color in different interval in highcharts gauge charts
- Showing/Hiding child nodes and links in Highcharts Networkgraph
- Highcharts - Can we have default and custom tooltip based on different chart types?
- customize images and different text in Highcharts
- Highcharts - Providing different range value in positive and negative side for Y-axis
- Input from some text areas for highcharts tooltip
- set different colors for each column in highcharts
- Customize tooltip and format the number to 2 decimal places of highcharts
- Highcharts text labels for y-axis
More Query from same tag
- Move series legends below x-axis in highcharts
- How to update multiple highcharts charts with one function
- Tooltips don't clear on IE8
- High Charts - Set Solid Gauge Value from JSON
- Switching between many Highcharts using buttons or link text
- different approximation methods (dataGrouping) for each Series in one Highstocks-Chart?
- Highcharts / Highstock scroll bar and Zoom issue
- Highcharts TypeScript Boost module
- How to position dataLabels at the midpoint of an arearange chart in highcharts?
- DataLabels hide themselves even after allowOverlap is set to true. How to fix it?
- Highcharts spline and columnrange inverted
- Why applying the same data twice breaks a chart?
- How to set "Y" position in label Highcharts
- Highcharts - Multiple master charts in master detail charts
- Highchart tooltip formatter function not able to get x value (this.x)?
- Pie chart overlaps with legends
- How to make highcharts tooltip show outside of the pie graph?
- Disable stacklabel for scatter line in highchart?
- Highcharts multiple column chart with drilldown, correct formatting of drilldown axes
- How to hide the context menu on clicking outside uisng JS?
- Why HighChart hangs browser?
- Data labling in highcharts
- highcart.js pointInterval for 15 days datetime x-axis
- Change color in specific columns w/ multiple series
- Is there a function to highlight another stat/point/column while hovering element on Highcharts?
- Highchart - set a line style ( width, color...) on selection
- Highcharts Isomorphic rendering / web-workers
- Highcharts export stops working after first export
- How to generate PDF Files based on a HTML+CSS+jQuery page containt
- how to show data label only on drilldown pie?