score:0
pasting some info in here as a pointer for people that would like to do the above with javascript outside of highcharts, like i did myself.
for(i=0; i<datajson.finished.length; i++) {
//console.info(i);
if(datajson.finished[i].name !== '_all_' && datajson.finished[i].name !== 'anders') {
tempvalue=0;
for(j=0; j<datajson.finished[i].data.length; j++) { tempvalue += datajson.finished[i].data[j]; }
if(tempvalue / totalvalue > 0.02) {
piedata.push({ name:datajson.finished[i].name, y:tempvalue });
} else andersvalue += tempvalue;
}
}
//console.info(piedata);
piedata.sort(function(a,b) {return (a.y > b.y) ? -1 : ((b.y > a.y) ? 1 : 0);});
piedata.push({ name: "overig", y: andersvalue });
score:6
no. this behaviour is not built into highcharts.
the easiest way to achieve this is by manually changing the data you pass to the chart. ie if you do the grouping into a category 'others' before you pass the data and render the chart
Source: stackoverflow.com
Related Query
- highcharts: pie chart - reduce number of slice
- HighCharts Pie Chart - Add text inside each slice
- Length of slice in Highcharts pie chart
- Customise Highcharts Pie Chart Selection State so that slice does not animate out when selected
- Show tootip and select pie slice on legend click of pie chart in HighCharts
- Highcharts Pie Chart Slice Errors
- Pie chart Slice color Change Dynamically in Highcharts
- Highcharts display label for pie chart using html table as data source
- Highcharts pie chart slice colour intensity using colorValue
- Highcharts - Pie Chart change slice colors dynamically
- Pie chart slice radius using HighCharts library
- Highcharts how to make a set number of colors for pie chart data and drilldown data
- Highcharts Pie chart return slice animation on mouseout
- Highcharts - change color while hovering over a slice in pie chart
- Highcharts set slice size of pie chart
- Highlight a slice of pie chart in highcharts on click of a div
- Highcharts pie chart slice animation only works when an error is thrown
- Highcharts - Pie chart Color for each slice
- Highcharts Pie chart how to reduce space between chart and legend caused by plot width
- Highcharts same legend color as of the pie chart slice color
- Highcharts pie chart - offset a single slice on legend click
- Highcharts Pie Chart Specify Pie Slice Gradient Color
- Disabling a slice for a Highcharts pie chart when creating the chart
- Highcharts - change pie slice color on existing chart
- Highcharts piechart with slice animation and drilldown on click together throws exception in chart and breaks the pie chart
- Highcharts same legend color as of the Pie chart slice color?
- Highcharts Pie Chart - slice color dependent of category
- Highcharts datalabels are not showing infront of each slice in pie chart
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- HighCharts - Make the pie chart 100% of the div
More Query from same tag
- Hichcharts Add Button to toggle between Series
- HighCharts Disable some Series Name from the Legend
- How to add new symbols in Highstock chart?
- Call addSeries() from within addSeries event
- Highcharts not drawing lines between points
- Dynamically Transform Data with User Input (Highcharts, JavaScript,Django)
- HighCharts - How to create dynamic chart that exports EVERYTHING
- rCharts - Data label for Highcharts bubble chart
- compare chart series array with new array to determine adds/removes
- Highcharts Bar Chart - How to set the minimum bar width/length
- How would I convert this array to this json format
- Background color to highcharts
- Specify X-Axis Category in Series Data in Highcharts
- Highcharts instance created in which Angular life cycle hook
- Is there anyway to hide the dataLabels for one of the stacked series in HighCharts
- Old draggable elements stay on high charts after turning on and off data point
- Highcharts columns are thin when 10+ series displayed
- Highcharts and JSON data from PHP
- Drilldown on multiple Highcharts with the same data
- Javascript,Highcharts : Avoiding parallel function calls
- Choose which data to display on Highcharts
- HighChart Stacked Column label issue
- how add an arrow pointing to the y-axis on highcharts
- Angular - Custom DaterangePicker in Highchart
- Highchart is not working when I am fetching the axis values from database
- Is it possible to create a multi level (stacked) donut chart with variable diameter on the last stack
- Highcharts - Fix chart height when it has legends
- Highcharts title background can't be changed
- LINQ SQL Method not Filling Highcharts
- Columns too wide in Highcharts with lots of points