score:1
you can for example use chart.load
event and change distance
, x
or y
properties for an individual point. for example:
events: {
load: function() {
this.series[0].points.foreach(point => {
if (point.y > 5) {
point.update({
datalabels: {
distance: -50
}
// avoid redraw after each update
}, false);
}
});
this.redraw();
}
}
live demo: https://jsfiddle.net/blacklabel/lco29fdj/
api reference: https://api.highcharts.com/class-reference/highcharts.point#update
Source: stackoverflow.com
Related Query
- Pie chart labels - dynamic position (distance)
- Labels inside pie chart (highcharts) without the distance trick
- Highcharts - labels inside and outside a pie chart
- Highcharts not displaying data labels for Pie chart in arabic
- Highcharts, How can I change the datalable distance in a pie chart based on the value
- How to center chart title position dynamically inside pie chart in highcharts
- Highcharts: Placement of data labels in the middle of sections of Pie Chart
- Highcharts 3d bar chart data labels position is wrong
- To pass dynamic json array to Highcharts Pie Chart
- Distance between x-axis labels and the chart in Highcharts
- Hide Data Labels in Pie Chart below 400px width - Highcharts
- Placing labels inside pie chart slices (Highchart)
- set Pie chart labels exact in center of Slices of PIE highcharts
- Highcharts - how to do a responsive pie chart when the texts of the labels are long
- Highcharts Pie chart multi line labels overlapping
- highcharts pie chart color for dynamic data
- Custom CSS classes for Data Labels in Donut Pie Chart
- Highcharts: Pie Charts Labels Position
- Highcharts display label for pie chart using html table as data source
- Hide data labels of a HIChart's Pie chart using Swift 5.0
- Highcharts Dynamic update pie Chart mysql
- Highcharts convert: not showing pie chart data labels
- Bind dynamic Json data in pie chart
- Highcharts Pie chart export, labels are rendered twice
- Dynamic jSON into Highcharts Pie Chart
- Highchart How to set pie chart sliced distance gap wider to one another
- Semi-circle donut pie chart with labels (data names) and %-ages on the pie ... and data numbers on mousehover
- Set distance between labels and chart in Highcharts
- Pie chart data labels are hidden for smaller values
- Highcharts producing bizarre stroke seemingly at random on pie chart labels
More Query from same tag
- Selectable axis labels on highcharts
- Start scrollbar at the left for Highstock
- Submit form data to Highcharts addPoint method to dynamically update form
- Torn off point markers on Navigator highcharts
- Highcharts - How can I remove starting and ending padding from area chart
- Costumize indicators from stock tools
- Highcharts percentage of total for simple bar chart
- Old highchart data in react component when going back and forward
- Converting JS to CoffeScript, missing operand?
- Highmaps/Highcharts setData not changing
- Rescale Y-axis in Highcharts after zoom while maintaining zoomType=x behavior
- Category is not updating for drildown bar chart
- Highcharts Onclick a PieChart slice should refresh the chart
- Imported font and Highcharts JS export
- get access to chart-object in highchart
- Highcharts: some x-axis labels are disappearing after using setExtremes()
- How can i avoid congestion between x and y axis in my graph with highcharts?
- Needing to convert JSON Object to JSON Array for Highcharts
- Highcharts : How to apply style to x-axis Labels?
- can zoom be mixed with multiple y-axis in highstock
- Change SVG stroke options in Highcharts
- Show tooltip programmatically in StockChart for multiples series (highchart)
- Hightchart x-axis to top
- Highchart renders differently for height on first click
- Highstock: Can we rotate 90 degrees a candlestick chart?
- get bot xAxis values when doing click event on highcharts
- adapting text to highchart tooltip max width
- highcharts drilldown column chart change Aaxis lables
- Highcharts javascript library - marker halo zIndex?
- Custom color & tooltip for a single bar in Highcharts histogram