ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Track Line - 'JsChartViewer' is undefined
Posted by Kev Thomas on Feb-17-2015 19:36
Attachments:
Hi again Peter,

Showing my ignorance again, but I'm trying to implement the track line functionality and I'm drawing the chart as expected, but then getting an error which is preventing the tack line from being drawn.

The error is JsChartViewer is undefined. Now, generally I know this means that the jsp page is unable to find the JsChartViewer function to be able to execute it, but I have included a "<%@page import="ChartDirector.*" %>" declaration at the top of the JSP page as you would expect, but this doesn't seem to prevent the issue.

The rest of the chart draws as expected, but I think I'm missing something blatantly obvious as to why the Track line won't draw.

Any help would be much appreciated.

Cheers,
Kev
ChartDirector_JsChartViewe_Undefined.png

  Re: Track Line - 'JsChartViewer' is undefined
Posted by Kev Thomas on Feb-17-2015 19:58
Hi Peter,

It's ok - I've sorted things. I had completely forgotten to include a reference

<script type="text/javascript" src="./js/cdjcv.js"></script>

in the <head> element of my page!!

Cheers,
Kev