Page 1 of 1

how to draw a vertical line in the middle of the chart

Posted: Tue Aug 07, 2007 11:07 am
by 9524108
i would like to draw a line in the middle of the chart as i split the bottom axis in to 2 ..

how to find start x,start y ,end x ,end y in order to use the drawline in tools ..

could u pls reply asap

Posted: Tue Aug 07, 2007 11:46 am
by narcis
Hi daryl,

Why don't you try using a ColorLine tool. Here you just need to specify to which axis you want to associate the tool and give the value where the line should be plotted. This value can be calculated from axis minimum and maximum values.

Posted: Tue Aug 07, 2007 11:57 am
by 9524108
can u send me a sample of code to create

Posted: Tue Aug 07, 2007 12:00 pm
by narcis
Hi daryl,

You'll find some examples at All Features\Welcome!\Tools\Color Line. You can also find an example here.

thx for the infor

Posted: Tue Aug 07, 2007 12:28 pm
by 9524108
i have done implementation in my app
thx