score:1
Accepted answer
I think you would be able to do this using the tooltip.formatter from the highcharts js API: https://api.highcharts.com/highcharts/tooltip.formatter
You can see a handy article on how to do it here: https://www.highcharts.com/blog/tutorials/working-with-highcharts-javascript-syntax-in-r/?fbclid=IwAR3UzztbrY4rdCbOw1W7DmSq4mWJswJZxIw-xOqGbjIRExj-gsuVEO2zM00
library('highcharter')
highchart() %>%
hc_add_series(
type = "bubble",
data = list(5, 4, 3, 5)
) %>%
hc_chart(events = list(load = JS("function() {
var chart = this; chart.update({
tooltip: {
formatter: function () {
return 'The value for <b>' + this.x +
'</b> is <b>' + this.y + '</b>';
}
}
});
}
")
))
Source: stackoverflow.com
Related Query
- how to give different names on tooltip for one series in highcharts R
- How can I apply different background color to entire tooltip for different series in highcharts
- highcharts - chart names for multiple pie chart series in one chart
- How to hide one series data info in tooltip using highcharts
- Highcharts Modify Tooltip for One Series
- How to hide series name from tooltip in Highcharts scatter plots for linear regression
- How to have multiple highcharts with different series data in vuejs without repeating code
- Highcharts Highstock How do I change the label on top of tooltip for OHLC series data?
- HighCharts - how to customize the tooltip for dynamically added series
- How to render a bar chart with different series with only one entry per category in HighCharts
- Weird character in front of Highcharts tooltip series names
- Display tooltip for invisible series in Highcharts
- Highcharts - How to set custom colors for the series
- Highcharts - How to hide series name and Y value in tooltip
- Highcharts shared tooltip for line series and scatter plot not working
- Highcharts JS- add third variable to tooltip for two series
- How to show 0 for incomplete Series in Highcharts
- Highstock disable tooltip for one series
- how to use object as series for Highcharts
- how can i add in highcharts a different dashStyle just for a part of the graph
- Highcharts - how to export chart with different scale in one click
- How to edit tooltip in Highcharts C# code
- Highcharts - Aligning dateTime series for shared tooltip
- Changing tooltip shape for a series in Highcharts
- different approximation methods (dataGrouping) for each Series in one Highstocks-Chart?
- how to use highcharts tooltip formatter in python code
- How to display line break for irregular time series with highcharts
- Highcharts series showing different data for 'column' and 'line' chart
- Series for tooltip only in highcharts
- Show Data For Grouped Series in ToolTip Highcharts
More Query from same tag
- Cannot display name with special character in highchart
- Formatter Using HighCharts
- Highcharts 'Cannot read property tooltipOptions of null'
- How do I implement solid colours for zone boundaries in Highcharts?
- set series driildown data with looping from array
- Customize Highcharts xaxis label
- How to get hovered date in Highcharts spline?
- Highstock, multiple series chart, independent xAxis
- Highcharts Scatter plot - Add series from database as a different color
- Coloring a region programmatically based by user selection with Highmaps
- set all div in html without vertical scrollbar
- Loading multile php Files with Ajax
- Select highcharts DOM with jQuery after redraw()
- get access to chart-object in highchart
- Highstock - Draw Line on yAxis in front of the chart
- highcharts , Hide a chart
- How to customize highchart box plot box
- using Highstock and Highchart-Gantt on same page
- How to use high charts in Angular?
- unable to fetch temperature data in highcharts
- How can I reverse the series order of a pyramid chart in Highcharts
- How to pass the correct data format from SQL to PHP
- Sync ticks on multiple independent axis
- Highcharts not being drawn in some cases when using data from MySQL (page elements created before database query complete?) PHP / MySQL
- Show Information From Database onclick of HighCharts
- HighCharts/HighStocks not scrolling on mobile
- Build failing after angular upgrade from 4.4 to 8
- Rendering pie chart using xtype and Ext.create
- Combination of Scatter HighChart with Polynomial Chart
- Highchart uncaught error - Uncaught TypeError: $(...).highcharts is not a function