Bsharma7
Posts: 31
Joined: Thu Jul 23, 2020 6:09 am

When I drag plot lines getting this error in console. highstock.src.js:4289 Error: <path> attribute d: Expected number,

Hi,

When I drag plot lines getting this error in console.
When I drag plot line P1 only that time this error is coming.

same code I am using https://jsfiddle.net/naganand123/g4d9ayvo/16/

if I comment line no 86 then there is no error in the console.

plotBand.svgElem.attr('d', newPath); // if I comment this line not getting an error. What happens if I comment this line?
Attachments
highstockerror.PNG
highstockerror.PNG (29.91 KiB) Viewed 1839 times
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: When I drag plot lines getting this error in console. highstock.src.js:4289 Error: <path> attribute d: Expected numb

Hi,
Thanks for contacting us with your question.

The drag plotline is not officially setting from available on documentation.

This functionality is adding wrapping the code from core and edit.
I suppose some functions have been rebuilt and the core code has changed, and that is responsible for the error.

You have to check what has changed and rewrite this implementation.
This is already a bit beyond the scope of forum support.

Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Stock”