score:2
Accepted answer
See this fiddle: http://jsfiddle.net/bBQKv/
Make use of the show and hide events to trigger the show and hide methods for the flag series.
plotOptions: {
series: {
events: {
show: function(event) {
if (this.options.type != 'flags') {
series = this.chart.get(this.options.id + 'Flags');
series.show();
}
},
hide: function(event) {
if (this.options.type != 'flags') {
series = this.chart.get(this.options.id + 'Flags');
series.hide();
}
}
}
}
},
Source: stackoverflow.com
Related Articles
- Make flag visible when the the plot is clicked to show
- Fetch data from firebase firestore and plot histogram using highcharts when cardview clicked - android
- 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 make a rendered label in Highcharts always visible and still relative to the point clicked or hovered over
- Highcharts Tooltip Show Arrow/Caret when followPointer flag is on
- How to make visible atleast one line inside line chart even though the custom legend clicked to make invisible it
- How to make Highcharts default pie not show when Angular page loading
- How to make highcharts scrollable horizontally when having big range in x-axis
- How to make stacked column graph to show total data value on top
- How to show plot lines in the legend in Highcharts?
- Highcharts - only show tooltip when hovering directly on point
- How to know information about the clicked bar in highchart column r shiny plot
- Highcharts - show every month on datetime x-axis when the parent container is small
- highcharts: fire animation when visible instead of on page load
- Highcharts. Make tooltip of a specific point always visible
- Highcharts - show at least 5 horizontal grid lines, even when value doesn't change
- Show N/A in datalabels, when value is null - Highcharts
- Highcharts: How to make Tooltip position to be visible in the Viewport
- Code works on fiddle but not when I do /show
- Show gridLines when the chart is empty(no series) in highstock
- Show HighCharts tooltip when chart loads
- Get name of clicked point in Highcharts when the point has drilldown
- Highcharts show plot value on x axis label
- How to show sum of all visible series' data dynamically
- Highcharts stacked column stackLabels do not show when axis is reversed
- Delete button when it's clicked javascript
- Highcharts - How to make a scatter plot with multiple series from HTML table
- How to show plotlines on highstock when its set much higher than the data series?
- Make highcharts bar-chart threshold line visible & labels not to overlap on one another
- Highcharts scatter plot - make tooltip not follow pointer
- how can we draw column chart with stacked column chart in a single high chart?
- Highchart bar pagination
- unable to display json data on highcharts
- Convert data to percentages HighCharts
- Fill graph area with a gradient in HighChart
- Highstock.js display incorrect value if more than 2000 points
- How can I access the 'this' field in plotOptions of highcharts
- Highchairs how to prepend HTML to legend
- Highcharts export to svg
- How to remove the value and number labels from Highcharts angular gauge
- how to create proper json data format from mysql for highcharts
- loop list of Javascript Objects to render Highcharts
- How can I change opacity of not hovered columns on highchart?
- Highcharts dataLabels reposition on overlap
- putting a semi-transparent div over a highcharts graph
- Removing specific days from highcharts datetime graph
- Angular dynamic highchart integration - response is not updating in the chart component
- Highcharts exporting hide data labels if number doesn't fit in stacked bar
- Add text over export button in Highcharts
- Highcharts - shared tooltips for certain serieses