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 Articles
- HighCharts add another series value into tooltip
- Highcharts - How to hide series name and Y value in tooltip
- Highcharts Tooltip - Access "z" value in series data array
- Highcharts - Add a tooltip suffix value dynamically for each series
- Weird character in front of Highcharts tooltip series names
- Display tooltip for invisible series in Highcharts
- How to get multiple data series into Highcharts
- 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
- Highcharts add tooltip that has a small arrow pointing toward the series
- Highcharts JS- add third variable to tooltip for two series
- 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
- I had created a scatterplot using Highcharts but the the point.z value is not getting displayed in tooltip
- Getting a django view python dict into highcharts series data
- Highcharts - Series tooltip doesn't work when plotting lines that zigzag on the x axis
- Is there a way to change the display value in series using highcharts
- How to edit tooltip in Highcharts C# code
- Highcharts - Aligning dateTime series for shared tooltip
- Changing tooltip shape for a series in Highcharts
- how to use highcharts tooltip formatter in python code
- Highcharts synchronize tooltip on multiple charts with multiple series
- Highcharts Modify Tooltip for One Series
- Series for tooltip only in highcharts
- Highcharts pie get series color in tooltip headerFormat
- How we configure highchart x axis start from first tick?
- Access min/max values for a Highcharts series: afterSetExtremes does not fire
- Can another column name than "value" be used in Highmaps?
- How do i show Last seven days of a week from current date in area spline categories highcharts
- Using FontAwesome icons as HighChart markers
- HighChart: Add xaxis dynamically doesn't consider what type I give it
- Highchart - How do I change the colour of the baseline of the chart?
- HighChart isn't plotting data correctly
- Highchart from json object
- unable to get series id in HighCharts chart
- How to put value on highcharts compare option in R
- Unable to use ShowInLegend Property along with drawTable in highcharts Piechart
- Change Graph in the div using Drop Down List.
- Highcharts not rendering : React+Typescript+Highcharts
- Creating charts and including them in email, a PHP lib that can render to image?
- Highcharts grouping column, hide in tooltip
- Changing month names of a highchart plot
- highchart save image using exporting java and phantomjs
- Unable to refer javascript array from another javascript file
- HighCharts Live Data using mqtt