score:1
Normally you should use linkedTo
property, but it works only for series not for points. To add linking functionality for points, use the below plugin which links points from different series by name.
(function(H) {
H.addEvent(H.Point, 'legendItemClick', function() {
const legendPoint = this;
this.series.chart.series.forEach(s => {
if (s !== legendPoint.series) {
const matchedPoint = s.points.find(p => p.name === legendPoint.name);
if (matchedPoint) {
matchedPoint.setVisible();
}
}
});
});
})(Highcharts)
Live demo: https://jsfiddle.net/BlackLabel/styhx6do/
API Refernece: https://api.highcharts.com/highcharts/series.column.linkedTo
Docs: https://www.highcharts.com/docs/extending-highcharts/extending-highcharts
Source: stackoverflow.com
Related Articles
- Highcharts - How to combine unique legend for multi-series pie chart which perform same action for both series? (like onclick: show/hide)
- Highcharts no longer animates and readjusts/rescales chart upon addition and removal of series in legend after upgrading to jQuery 1.10
- Highcharts - Pie chart legend remains hoverable on second series
- Highcharts remove legend and series from chart on legendItemClick
- HighCharts Hide Series Name from the Legend
- Hiding a Highcharts series without using the legend
- Highcharts - How to programmatically toggle legend items and determine which items are selected
- Add series total to legend in Highcharts
- Filtering legend of a Highcharts by only visible series
- Highcharts - Legend Positioning outside the chart
- highcharts - chart names for multiple pie chart series in one chart
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Grand Totals in HighCharts Pie Chart Legend
- HighCharts Pie Chart Legend value alignment
- Highcharts - Scatter chart with a line connecting the dots in the series
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- Highcharts - resize legend on chart resize?
- Highcharts connecting scatter chart and pie chart with single legend
- Highcharts 3.0, area chart with stacked and unstacked series - how to fix?
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts hide series without change legend color
- Highcharts - Display legend for Pie chart in two columns
- Highcharts - Remove first marker from Area chart in every series
- Highcharts - Area Chart - Stacking with series containing negative and positive values
- Highcharts: show series on legend but hide on chart
- unable to get series id in HighCharts chart
- Change chart type and redraw with multiple series in Highcharts
- Angular Highcharts Custom Legend Label In Area Chart
- How to center highcharts pie chart and legend on a page?
- How to color series legend in highcharts when colorbypoint is set to true
- Highcharts Exporting multiple Pie Charts
- Highchart is blank
- Expose additional data based on xAxis element click - Highcharts.js
- How to import date strings into javascript as UTC objects using HighStock charting?
- How to use jspdf to print and download the multiple highcharts contents in pdf format
- Highcharts: Renderer positioning issue on different screen size breakpoints
- Highcharts - Change value of text box when drilling down through chart
- Highcharts on zeppelin 0.6.0 executes but does not display any chart
- Highcharts Options not working
- Highcharts : Custom legends in boxplot chart
- Query regarding why and how to use highcharts license
- Highcharts Drilldown Setting XAxis title differently
- highcharter: how do I make a grouped plot using the hcaes function
- How can i reduce gap between legend and chart in highchart of type column where legend is aligned at top without reducing height of chart?
- High-charts scroll bar not working
- I am using highcharts that give data when I insert in array but I want to insert data dynamically
- Turn series and plot bands on/off using API
- Angular Highcharts hideNoData not working dynamically
- Highcharts: Not rendering on getJSON
- HighCharts - Pie chart drilldown for multilevel (3 to 4 level)