Good morning.
i have a graph where I need to show the same data that tooltip shows but in an element outside of the graph. I have seen in forum the next ways to do it:
– Setting a function in the “update” field of the “tooltip”, calling ” CanvasJS.formatNumber(e.entries[0].xValue, “##.##”)” to get the xasis value and after, prints this in a “span” element.
I have done a little code with jsfiddle code, and I can see the value. But the problem comes when I do the same in my graph. The element outside of the graph doesn´t show the value and the “Chromes console” says the next message when a open the section on web that has the graph:
[url=https://postimg.cc/w7PhZrCr][img]https://i.postimg.cc/w7PhZrCr/error-graph.jpg[/img][/url]
Thank you for your time and help.