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

Message ListMessage List     Post MessagePost Message

  Indicator lines are crossing the Y-axis line in the graph
Posted by Srinivas on Apr-12-2016 19:08
Attachments:
Dear peter kwan,

we are facing one problem in chart director. we  have implemented zoom-in and zoom-out options successfully. when ever we zoom-in the chart the indicator line is crossing the Y-axis in the chart.

Please find the below attachment.

waiting for your response.
Thank you.
problem.docx
problem.docx

40.38 Kb

  Re: Indicator lines are crossing the Y-axis line in the graph
Posted by Peter Kwan on Apr-13-2016 02:35
Hi Srinivas,

In your code, it seems the indicator ExpATR20 is computed by your own code. However, the attached code does not include how it is computed. Is it possible the code that computes ExpATR20 incorrectly?

Note that the indicator ExpATR20 should be consistent with the other data range your code passes to ChartDirector. For your case, the data range your code passes to ChartDirector is viewPortTimeStamps. The ExpATR20 therefore should be computed using data in the exact same data range. If you use another data range (such as the full timeStamps) to compute ExpATR20, it would be inconsistent.

Regards
Peter Kwan