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 Query
- Make flag visible when the the plot is clicked to show
- 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
- How to make visible atleast one line inside line chart even though the custom legend clicked to make invisible it
- How to show plot lines in the legend in Highcharts?
- 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: How to make Tooltip position to be visible in the Viewport
- Show gridLines when the chart is empty(no series) in highstock
- Get name of clicked point in Highcharts when the point has drilldown
- How to show plotlines on highstock when its set much higher than the data series?
- Fetch data from firebase firestore and plot histogram using highcharts when cardview clicked - android
- How to make two charts using highchart show up in the same line side by side using div
- How to show open, close, high and low in tooltip when the chart type is 'line' in highstocks?
- Show datalabels for spiderweb only when hovered over the line or the legend?
- Show tooltips of piechart when hover outside of the chart on a button
- Highcharts: how to get the point category clicked on when drilling down?
- is it possible to add verical plot line and show the intersection with the series?
- Highcharts - How to force dataLabels to show labels when overlapping the content
- How do I plot the x axis line using Highcharts when pegged at 0?
- Strange character in the Highstock source code
- Highcharts: How to make curve start outside of the visible view horizontally?
- How to add a vertical plot line in multiple line series and show the tooltip on Plot line in highchart
- Highstocks: "columnrange" columns are always evenly spaced. How do I make highstocks show any gaps in the data?
- When adding point on dynamically created Multiple Highchart Graphs on a single page, the plot line draws to the start point instead of last point?
- How to make the full million value show up on y-axis and tooltip (Highcharts)
- How to show the name of which slice is clicked in high chart-piechart
- Highcharts : Show ticker on the start of plot
- highcharter: how do I make a grouped plot using the hcaes function
- How to make Highcharts to use all the colours when replotting? (it is repeating colours unnecessarily)
More Query from same tag
- HighCharts. Change options dynamically
- Highchart yAxis opposite is not working in type datetime
- highcharts zero values results in graph half way instead at the bottom
- How to create a stacked chart with cumulative line using Highchart.js
- Highcharts, How can I change the datalable distance in a pie chart based on the value
- Highchart click response time
- Style dash in highchart graphic
- Negative values in the data not showing in highcharts linechart
- unable to fetch temperature data in highcharts
- How to add click event on django-chatit chart
- Use same directive in same view and bind different data
- series is truncated after click on the series in the legend
- Trying to set xAxis extremes using highcharts-vue wrapper
- Styling bar colors in Highcharts with a gradient issue
- How to stop screen from moving up?
- highcharts - removing decimal places on Y axis with only one point
- Highchart Annotation Connector
- get plotBand id from highcharts
- How to add literals to panels in codebehind, in order to create a dashboard-like layout grid?
- Plot a Ganglia graph using AngularJS
- AJAX displaying values from two different functions in a single Highcharts chart instead of two different ones
- Highcharts sizing bars in a Grouped and stacked barcharts
- Highcharts stylemode and colorByPoint
- How can I prevent tooltip to appears when I hover another element?
- How can I deal with Highcharts inline styles to prevent Content-Security-Policy violations?
- Highcharts, stop the rendering of dynamic spline graph
- How to make the Y Axis values not start from 0 in highcharts? How to display forcefully display the last category data on X axis in HighCharts ?
- JSON Serialization in JSON.Net giving me Object when I need an Array
- Event listener on HiCharts - android
- Changing maker fillcolor in Highcharts scatter graph