score:6
Accepted answer
You can use setVisible function:
$('#button').click(function () {
if(sliced)
chart.series[0].data[0].setVisible(true);
else
chart.series[0].data[0].setVisible(false);
sliced=!sliced;
});
Source: stackoverflow.com
Related Query
- How to hide a highcharts pie slice programatically
- How Can I Hide a Pie Chart's Slice in HighCharts Without Removing It From the Legend?
- How to hide labels in the highcharts in the pie
- highcharts - how to controle slice pie from bottom
- Highcharts - How do I move an icon inside each pie slice when the pie slice moves on hover?
- Highcharts - How do I position tooltip behind icon on each pie slice on hover?
- 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
- How can I hide series from a HighCharts legend?
- How to disable legend click to stop pie slice from disappearing in Highcharts?
- How can I hide a series from initially being displayed in Highcharts
- How can i hide all the Series in highcharts at a time
- How can I remove the white border from HighCharts pie chart?
- How to programatically hide a tooltip in highcharts?
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- Highcharts - How to hide series name and Y value in tooltip
- HighCharts Pie Chart - Add text inside each slice
- how to make highcharts pie datalabels always in center of each slice?
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- How do I style the series labels on a Highcharts pie chart?
- How to create an inner circle pie chart in Highcharts
- How to make a pie chart from highcharts responsive
- How to hide one series data info in tooltip using highcharts
- How to hide color axis in heatmaps using highcharts
- How to hide Axes Crosshairs by onclick event in Highcharts
- How to center chart title position dynamically inside pie chart in highcharts
- How do I hide a Highcharts series from the chart, but always show it in the tooltip?
- Length of slice in Highcharts pie chart
- How can I hide and show a category in highcharts
- Customise Highcharts Pie Chart Selection State so that slice does not animate out when selected
More Query from same tag
- Highcharts series- Hiding/revealing a series via button
- Highcharts - apply gradient on custom colors
- Highcharts tooltip formatter
- To reduce the height of highchart
- How use joinBy with subregion in France with HighMaps?
- How to draw disconnected straight lines over a graph?
- Highcharts Trying to Hide/Show series
- how to sync updates on several highchart graphs
- Highcharts multiple series from JSON with different style depending on serie name
- HighCharts round down when over 100
- Remove exporting button in Internet Explorer alone
- Add X-Axis label click event on Angular 2 Highcharts
- How to import highchart-more into angular-cli 6 project
- Remove spaces between columns in HighChart
- Rails Not outputting Highcharts javascript graph
- incorrect highcharts export server js script error codes
- Highcharts.stockChart Range Selector (zoom) Button Position After the Chart Container
- Dynamic xAxis Highcharts
- Highcharts - how to export chart with a custom legend?
- How can I hide and show a category in highcharts
- Highcharts - series.remove(); 4 series in chart, only 2 removed
- How to build query and to make chart in Yii2 using highchart?
- High Charts - Gradients on both Vertical and horizontal
- HighCharts. How to align yAxis title and yAxis labels to right in one line?
- customize highcharts tooltip to show datetime
- JavaScript method begins w/ variables assigned?? very confused
- Prevent Highcharts to redraw Axis' scale
- Get Legends and color code of a piechart
- Rails App Plotting Zeros in Highchart Graph via Lazy_High_Charts Gem
- highcharts- I would like to change the axis value while leaving the graph intact