Page 1 of 1

ColorLine and Label on Y-axe

Posted: Thu Oct 25, 2012 2:05 pm
by 17463568
Hello

I have a simple line chart with 2 ColorLines indicating the minimum and maximum limits of the values, parallel to the x-axe.
Now I want to have labels on the Y-axe to show the value of the ColorLine.
I found nothing in the examples.
How can I do this?

Regs
Hubert

Re: ColorLine and Label on Y-axe

Posted: Fri Oct 26, 2012 9:17 am
by yeray
Hi Hubert,

You could use an Annotation tool or draw directly the text in the canvas.
Here there were some possibilities discussed. It's a .NET thread but the same applies to Java.
http://www.teechart.net/support/viewtop ... 478#p57478

Re: ColorLine and Label on Y-axe

Posted: Fri Oct 26, 2012 12:23 pm
by 17463568
Hello Yeray

thx for the answer, but is not what we need. Annotation does not look like the labels of the axis and take more place.
We will use direct writing to GC instead.

Hubert

Re: ColorLine and Label on Y-axe

Posted: Fri Oct 26, 2012 2:05 pm
by yeray
Hi Hubert,

Just to make you notice if setting the Annotation tools to be transparent, they only show the text as the axis labels do.