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 Query
- Highcharts - How to combine unique legend for multi-series pie chart which perform same action for both series? (like onclick: show/hide)
- highcharts - chart names for multiple pie chart series in one chart
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- Highcharts - Display legend for Pie chart in two columns
- How to center highcharts pie chart and legend on a page?
- Highcharts display label for pie chart using html table as data source
- Highcharts how to make a set number of colors for pie chart data and drilldown data
- Highcharts - Pie chart legend remains hoverable on second series
- how to show legend in PIE chart from chart to pie drilldown highcharts
- Highcharts Pie chart how to reduce space between chart and legend caused by plot width
- How to make legend labels to bring out the series of a pie chart and not make them disappear when label is clicked in HighCharts?
- How to create a legend for bar colors in a Highcharts bar chart
- Highcharts Pie chart: how to hide the legend for all but the three highest values
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- Highcharts - How to programmatically toggle legend items and determine which items are selected
- Highcharts - How to set custom colors for the series
- Highcharts not displaying data labels for Pie chart in arabic
- HighCharts - Pie chart drilldown for multilevel (3 to 4 level)
- Grand Totals in HighCharts Pie Chart Legend
- HighCharts Pie Chart Legend value alignment
- How do I style the series labels on a Highcharts pie chart?
- Highcharts connecting scatter chart and pie chart with single legend
- How to create an inner circle pie chart in Highcharts
- How to make a pie chart from highcharts responsive
- Highcharts 3.0, area chart with stacked and unstacked series - how to fix?
- How to center chart title position dynamically inside pie chart in highcharts
- How to use add series and update methods in the high chart wrapper for angular?
- How to show 0 for incomplete Series in Highcharts
- How to create a table for legend of a Stacked Chart in Highcharts?
- How to format my json data for stack column chart in HighCharts
More Query from same tag
- Highstock scrollbar not covering the whole length in multiple series
- Highcharts: How to shift yAxis to center (e.g.Population by sex and age group)
- Per-cell border colors in a highcharts heat map
- How do you remove the partialFill from Highcharts xrange chart
- Stop Highcharts overwriting containers
- Ember App Kit: Calling a view gives me Assertion Failed error
- rCharts: Change the individual point colors of a time series plot (Highcharts)
- Highmaps - how i can have a seperate legend by different report?
- Marker rotation in Highchart
- Highcharts Pie chart not accepting values
- HighCharts adding another variable
- Highcharts pie chart list of selected section
- highcharts: bar/column chart with drilldown
- Highcharts (Highstock) how to manually set the navigator selected range
- Pie Chart keeps loading and never stops
- Highcharts stylemode and colorByPoint
- Rounded edges Gauge with Highcharts.js
- How to horizontally align Highcharter objects in Distill article in R Markdown?
- Plotting of Network Topology graph based on json input
- Highcharts - manually trigger hover event on a point
- Draw highcharts with many year for xAxis
- Highcharts : Under Y Axis we need to display a Image
- Highlight tooltip shared item depending on hovered serie in Highcharts
- How to make label in highcharts area graph display absolute values instead of negative values?
- How to set a minimum column height or range so that values in a stackedcolumn do not overlap?
- ActiveAdmin Dashboard partial not appearing?
- Changing highcharts options with buttons
- Highcharts solid gauge with multiple series
- Remove line dots from the area spline chart
- Highcharts: how to loop through array to add series