ColorLine and Label on Y-axe

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
mora
Newbie
Newbie
Posts: 19
Joined: Thu Sep 27, 2012 12:00 am
Contact:

ColorLine and Label on Y-axe

Post by mora » Thu Oct 25, 2012 2:05 pm

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

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ColorLine and Label on Y-axe

Post by Yeray » Fri Oct 26, 2012 9:17 am

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
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

mora
Newbie
Newbie
Posts: 19
Joined: Thu Sep 27, 2012 12:00 am
Contact:

Re: ColorLine and Label on Y-axe

Post by mora » Fri Oct 26, 2012 12:23 pm

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

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ColorLine and Label on Y-axe

Post by Yeray » Fri Oct 26, 2012 2:05 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply