Generating custom chart
I am facing the following problem while generating charts.
I have a tag query returning current values of two tags - T1 and T2.
If I am plotting the chart at 12.20,
The X-axis points would be 11.30, 12.00, 12.30, 1.00.
T2 should be shown as bar in the current 30 minutes range, i.e. 12.00 to 12.30
T1 should be plotted as a straight line for the whole duration.
I have used a Custom chart setting the pen type to Line for T1 and pen type as Bar for T2. If I set the value at 12.00 to T2 and for all all other X-axis points to 0, I get a bar at 12.00. How can I set the bar in the range from 12 to 12.30?
If I iterate through all the points in the range 12 to 12.30 and set it to T2, then the X-axis range goes haywire!
Can anybody help me out? Thanks.
Edited by: Amrita Nandagopal on Jan 31, 2008 9:11 AM