score:1
Accepted answer
Here is your solution :
var plotBox = point.renderer.plotBox;
var path = renderer.path(['M',point.cx+plotBox.x,point.cy+plotBox.y,'L',100,100])
In fact, your graphic does not start at 0,0 of your svg, it has an offset. You can find it in the renderer of every objects. Your graphic is contained into the plotBox.
I have updated your jsFiddle : http://jsfiddle.net/FsDks/
score:1
You can use plotX and plotY coordinades, kept in point object (not graphic) and add plotTop / plotLeft (spacing around chart).
var renderer = this.series.chart.renderer,
chart = this.series.chart,
point = this,
path;
path = renderer.path(['M',point.plotX + chart.plotLeft,point.plotY + chart.plotTop,'L',100,100])
.attr({
'stroke-width': 1,
stroke: 'red'
}).add();
this.graphic.animate({
opacity: 0.2
});
Source: stackoverflow.com
Related Articles
- Highcharts centre of a bubble chart point
- Highcharts Bubble Chart - How to get the size of the point
- Highcharts => Getting the id of a point when clicking on a line chart
- Highcharts scatter chart with a name per point
- Highcharts Pie Chart ignores percentageDecimals tooltip setting and has floating point inaccuracy issue
- Highcharts 3.0 Bubble Chart -- Controlling bubble sizes
- how to get chart object inside a point event function in Highcharts
- Show value of last point as label or tooltip on Highcharts Stock Chart
- Highcharts bubble chart dataLabels overlapping
- Highcharts - Bubble chart - Moving gridlines
- Color each point individually in column chart highcharts
- Displaying additional text for Highcharts Bubble chart
- Highcharts Bubble Chart - How to move an individual point's data label (dataLabel) to the front/top
- Highcharts - Rotate pie chart aligning the clicked section to a fixed point (180°)
- Motion in drilldown bubble chart Highcharts
- HighCharts - Show categories in x axis intead of the value of x in Bubble Chart
- HighCharts Stock Chart error code 18
- Highcharts - Bubble chart - Proportional bubbles
- Highcharts - how to set custom content in point tooltip (popup) on 3D scatter chart or how to customize point tooltip information?
- Highcharts bubble chart datalabels color contrast issue
- Highcharts Scatter Chart Data Point Hover
- Highcharts polar chart - zero at centre
- Legend for each point in column chart in highcharts
- Highcharts add point to line chart with json
- Highcharts can't render a bubble chart with a single series
- Highcharts - bubble chart with titles at x- and y-Axis - Error #14
- Drawing Bubble Chart by using npm highcharts with error #17
- Point title in bubble chart (Highcharts)
- Highcharts area chart hide graphs with one data point
- Click a point on a highcharts graph from outside of the chart
- How to add text to the bottom of a Highchart, but above the legend?
- Why heatmap is on top scatter when using boost.js?
- Highcharts - show only selected points
- undefined value in Highchart
- how can I fill absent points in a series with average of its two neighbor points
- How to get a list of hoveredPoints in Highcharts v4?
- Can we add negative color in highcharts stockchart based on a variable other that data?
- How can I add a "for" in a Highcharts series?
- Highcharts: Formatter and click function don't work with Angular
- How to have shadow enabled in hover and select of highmap?
- highcharter hcaes "group" usage while plotting large amounts of data with highchart2()
- HighCharts angular not working with dynamic data from Angular service
- Highcharts isn't displaying the data
- Highcharts load effect on button click
- Highcharts does not display when a line of PHP header('location...') is added
- Draw a exrta line at specific angle in high chart
- Console HighCharts errors broke visualisation
- Highcharts function not covered with unit tests with Karma + Jasmine
- Can't make multiple charts to work with highcharts
- Heatmap: Append new data rows