score:1
Accepted answer
this.series
contains a reference to the chart object, which in turn has a reference to the chart.series
array.
tooltip: {
formatter: function() {
var arrayOfSeries = this.series.chart.series;
console.log(arrayOfSeries); // doing something with all the series!
}
},
Fiddle here.
score:1
According to formatter, you can reference to the series object via this.series. So for the total number of points in the series, you can try
tooltip: {
formatter: function() {
return this.series.data.length;
}
},
It seems shared tooltip doesn't work on scatter, https://github.com/highslide-software/highcharts.com/issues/1431. So I don't know how to reference another series. Otherwise you can use this.points[i].series.
Source: stackoverflow.com
Related Query
- HighCharts add another series value into tooltip
- Highcharts - Add a tooltip suffix value dynamically for each series
- Highcharts - How to hide series name and Y value in tooltip
- Highcharts add tooltip that has a small arrow pointing toward the series
- Highcharts JS- add third variable to tooltip for two series
- Highcharts Tooltip - Access "z" value in series data array
- Highcharts add external tooltip into specific div
- How to add another series into my highchart
- How to add clickable HTML-link into tooltip in Highcharts 5.0.x?
- Add another series to row Highcharts
- highcharts - add series into graph after click
- Add additional data to a Highcharts series for use in formatters
- Weird character in front of Highcharts tooltip series names
- Add series total to legend in Highcharts
- Display tooltip for invisible series in Highcharts
- Add tooltip to legend in highcharts when hovering
- Add a gap between the second and third series in a Highcharts column plot with four series displayed
- Add additional data to Pie Tooltip on Highcharts
- How to get multiple data series into Highcharts
- Highcharts add series dynamically
- Show value of last point as label or tooltip on Highcharts Stock Chart
- Highcharts shared tooltip for line series and scatter plot not working
- Stop HighCharts change transparency of another series on hover of one series
- How to hide one series data info in tooltip using highcharts
- HighCharts - Show tooltip on column where value is 0 or null
- Dynamically add data to series in Highcharts
- Highcharts - Tooltip and series name are out of their boxes in chrome
- Highcharts shared tooltip between charts with multiple series and shared tooltip
- Highcharts one value per series column
- Highcharts show the same yAxis start and end value with multiple data series
More Query from same tag
- Onclick download the highchart
- Highcharts shared tooltip requires different valueSuffix and varying decimals
- Highcharts: Style Zero Y value
- how to draw dynamic series in Highchart based on data
- Highcharts - cannot force x axis to stop on a certain date
- Prevent from executing previous JavaScript with turbolinks and highcharts //LazyHighCharts
- Changing Highcharts font size
- Check if all legend items are selected in highcharts?
- highcharts breaking when I input seconds
- HighCharts : Polar chart not stretched in its frame
- Clickevnts on MinorTickMarks getting minortickposition in highcharts
- In a Highcharts gauge graph, how can I position plotband labels centered?
- Why are Bootstrap tabs displaying tab-pane divs with incorrect widths when using highcharts?
- Highcharts legends data overlapping issue on set and update data
- Real time chars using highcharts, JSON, REST and Spring MVC
- Add label in into square Highcharts Gant
- Show Highcharts Pie Slice Name onhover
- Highcharts pie get series color in tooltip headerFormat
- Highstock xAxis scaling
- Highcharts - add a second needle to a VU Meter with a different colour
- How to make mathematical chart with HighCharts?
- Highcharts: Draw line from marker to axis?
- How to extend Tooltip Range in Highcharts
- How to color places with single dots in area chart - highcharts?
- Highcharts y axis thousands separator
- Highcharts custom pattern fill shows different stroke width
- HighCharts Heatmap: Plotting error with >= 1024 samples
- using JS event function twice in shiny R to create a dropdown
- Decide which serie goes into range-selector highstock
- How to show data at middle instead of at the bottom while one of the data's value has big difference. highcharts.js