score:0
This can be achieve using events as well.
Working fiddle : Outside Fiddle
Here if data point is less than five the show labels outside the charts.
chart: {
type: 'pie',
events: {
load: function() {
var series = this.series[0];
setTimeout(function(){
(series.points).forEach(function(point, i){
if (point.y < 5) {
point.update({dataLabels:{distance: 2}});
}
});
}, 200);
}
}
}
score:2
This post can helps you to acomplish your work :
Is it possible to position Highcharts dataLabels depending on the value?
$.each(chart.series[0].data, function(i, point) {
// using the value or calculating the percent
if(point.percentage < 30) {
point.dataLabel.attr({y:20});
}
});
Source: stackoverflow.com
Related Query
- Highcharts - labels inside and outside a pie chart
- highcharts - donut chart - Labels inside and outside
- realign Labels inside and outside the bar chart on highcharts
- Highcharts pie dataLabels inside and outside
- highcharts pie dynamic label inside and outside for each slice
- Highcharts Pie Chart ignores percentageDecimals tooltip setting and has floating point inaccuracy issue
- Highcharts not displaying data labels for Pie chart in arabic
- HighCharts Pie Chart - Add text inside each slice
- Highcharts connecting scatter chart and pie chart with single legend
- How to center chart title position dynamically inside pie chart in highcharts
- display pie chart using highcharts api and mysql
- How to center highcharts pie chart and legend on a page?
- Distance between x-axis labels and the chart in Highcharts
- Hide Data Labels in Pie Chart below 400px width - Highcharts
- HighCharts - Need more space between bottom of chart and Xaxis labels
- Placing labels inside pie chart slices (Highchart)
- Show tootip and select pie slice on legend click of pie chart in HighCharts
- set Pie chart labels exact in center of Slices of PIE highcharts
- Highcharts - where to place style and changing style for one wedge in a pie chart
- Highcharts - how to do a responsive pie chart when the texts of the labels are long
- Highcharts Pie chart multi line labels overlapping
- Highcharts display label for pie chart using html table as data source
- Switch between pie charts and bar chart in highcharts
- Highcharts how to make a set number of colors for pie chart data and drilldown data
- Highcharts convert: not showing pie chart data labels
- Highcharts issue when dealing with 3D pie and large labels
- Highcharts issue when dealing with 3D pie and large labels
- Highcharts yAxis labels inside plot area and left padding
- Create a Highcharts Pie Chart Legend Inside a Table
- Highcharts - Make text inside pie chart responsive
More Query from same tag
- Highcharts range selector date formats from C#
- Highchart (pie chart) with data from HTML table not displaying legend
- HighChart / HighStock chart.refresh seems to fail to reload the chart
- Get x-axis label into the first colomn of the table - highcharts
- HighCharts - applying a formatting function over plot options
- Pass a varible as input to Date.UTC
- Highcharts chart doesn't show in jquery dialog
- HighChart : update group column chart
- How to fire a jquery function onchange from an html element in highchart event on click?
- Highcharts - display time data in tooltip
- highcharts stockchart tooltip on flags switches to data series tooltip while mouse is still over flag
- Using global data in High Charts point click custom function in R Shiny
- Math in highcharts to change units?
- highcharts IE8 redraw chart issue
- Highcharts - on zoom start Y axis from 0
- HighCharts dateformat does not have microseconds (%f)
- Highcharts: Dynamically change the offset of the xAxis
- Setting xAxis.min breaks area display in two-point highcharts
- Highstock columnrange data grouping values not consistent
- Highcharts (rCharts) onclick tooltip
- Getting Highcharts tooltip to return an angular directive?
- Hightlight x-axis label in Highcharts
- Highcharts stacked column chart with with irregular time intervals possible?
- How can I update a total chart value in legendItemClick callback?
- The Gauge needle is always started from 0 when it's value is updated | HighCharts with Angular 7
- Changing baseSeries dynamically for live chart
- Convert grouped strftime time to integer
- Set Highchart cursor/pointer with a click on a gmap polyline point
- Export Chart Using PhantomJS From WebServer
- How to make highcharts boxplot with drilldown?