score:1
solved via highcharts support forum: fiddle , just call the following function on chart load and redraw events:
function redrawconnectors() {
var chart = this,
cx, cy,
shapeargs, ang, posx, posy, bbox;
highcharts.each(chart.series, function(series, j) {
highcharts.each(series.points, function(point, i) {
if (point.datalabel) {
bbox = point.datalabel.getbbox();
shapeargs = point.shapeargs;
cx = shapeargs.x,
cy = shapeargs.y,
ang = shapeargs.end;
posx = cx + shapeargs.r * math.cos(ang);
posy = cy + shapeargs.r * math.sin(ang);
point.datalabel.attr({
x: posx - bbox.width / 2,
y: posy - bbox.height / 2
});
}
});
});
}
Source: stackoverflow.com
Related Query
- Highcharts Multiseries Gauge with DataLabels at Ends
- Highcharts Multiseries Gauge with DataLabels at Ends
- How do I use an Highcharts Solid Gauge in angular 6 with typescript?
- Highcharts - Global configuration with common code and unique data & Headings
- Show more data on Gauge chart with Highcharts
- Highcharts Solid Gauge with min number NOT zero
- Gauge Series of Highcharts with React not the Solid Gauge but Gauge Series
- Highcharts Gauge Chart with text labels
- Gauge highcharts is not resize with ionic 2
- Setting highcharts datalabels backgroundColor with the same color of its serie
- HighCharts :(Solid Gauge) How to generate gauge dial with an arrow end.
- highcharts dataLabels support RTL with enable hover it for show tooltip
- highcharts Gauge live data with ajax
- Combining Highcharts Gauge with Area Chart
- passing formatting JavaScript code to HighCharts with JSON
- Highcharts solid gauge with tick mark over the bar
- Highcharts solid gauge with multiple series
- How to create a solid gauge chart with Highcharts in angular 6?
- Highcharts datalabels with gradient color
- Highcharts multiple axis gauge with 2 dials with different radii
- Implementing Custom Temperature Gauge with Angular 4 and HighCharts
- Highcharts series visibility with csv data source
- HighCharts activity gauge populated with series data from a function
- highcharts gauge use with negative values
- highcharts gauge multineedles datalabels are overlapping
- How to have multiple highcharts with different series data in vuejs without repeating code
- Not able to animate solid gauge chart with Angular Highcharts
- Trouble importing Highcharts Gauge with NPM/Webpack
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- Angular 9 Highcharts - when using series of type pie with type gauge the innerSize of pie is not working
More Query from same tag
- HighChart.js data source recommendations
- Highchart Maps (Highmaps)- data
- Marker transform(translate) doesn't work
- I am getting same highchart in pdf using jspdf when I am downloading the pdf with dynamic ids on click
- Prevent from executing previous JavaScript with turbolinks and highcharts //LazyHighCharts
- how to limit the label size only for bubble diameter in high charts
- HIghmap colorAxis filter
- How to change names of menuItems in R highcharter when exporting
- Highcharts is rounding off the decimal values to 0. How to avoid it?
- render a circle onclick event in highcharts
- HighCharts API for Deprecated Versions
- How to change Highcharts xAxis formatting from yearly to monthly?
- Color contrast setting on dataLabels style parameter using Highcharts 5 is not working on some colors
- Having trouble passing data to Highcharts
- Parsing to milliseconds changes date
- HighCharts Pie Chart - Displaying multiple series values in Tooltip
- two dimensional array highcharts Active Record Associations
- Feeding a combo highchart from Google Spreadsheet or json
- Chart update everytime on Loading second array : Highcharts, Javascript
- how to use different colour for some specific column in my high chart?
- AngularJS for Highcharts with dynamic ajax data
- How to modify style properties in an Highcharts tag with Angular?
- Highcharts Uncaught TypeError: Cannot set property 'day' of undefined
- Highstock chart export as PDF with image and text in title
- Highcharts multiple pie chart series hover
- Invalid temp images directory in chart handler configuration
- Yii - Highcharts - Cannot get chart to show
- How to display highchart series line marker symbol from tooltip formatter?
- highchart total in tooltip
- Highcharts JS - share legend color between pie charts