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
- customEvents.js and H.removeEvents conflict
- Highstock, how to offset all Y data from a serie on clicking range selector buttons
- highchart with a specific json format in django
- highcharts from HTML table does not getting the x axis key
- Create Directional Arrows on highmaps
- Highcharts with Turbolinks - Rails 4
- Highcharts, Safari 6 and the curious case of the vertically aligned bar chart
- Highchart how to animate from the xaxis bottom line upward
- Highcharts: yAxis.height does not scale drawable area, causing graph to go off the chart
- Javascript set theme for each graph
- HighStock: One navigator to control two xAxis?
- dynamically disable animation highcharts javascript
- Highcharts Column Chart Not Displaying Dynamic Values
- Pie chart taking more load time than line chart in highchart
- Add vertical(projection) line from point to categories, highcharts
- Alpha value of 3d chart's rotation ? where is the center?
- Highcharts - add a second needle to a VU Meter with a different colour
- How to elegantly plot charts in ASP.NET MVC 3 using Highcharts?
- Highchart not printing json when I add extra line to redirect
- How to have data labels on top of the graph?
- How to push Json data to line chart function
- Highcharts scatter plot - make tooltip not follow pointer
- Hyperlinked column in a Highcharts drilldown
- How to set "Y" position in label Highcharts
- How can I change icon of the custom stock-tool button on click event?
- R HIGHCHARTER - How to display additional series values on a highchart hover?
- Highcharts series label
- jQuery hide/show a div containing Highcharts
- Highstock Y-Axis labels overlap eachother
- How to create a stacked chart with cumulative line using Highchart.js