Horizontal Line when showing only one bar

TeeChart for ActiveX, COM and ASP
Post Reply
Oblicore
Newbie
Newbie
Posts: 79
Joined: Fri May 27, 2005 4:00 am

Horizontal Line when showing only one bar

Post by Oblicore » Thu Jun 01, 2006 12:45 pm

We want to show a bar that is indicating a result for a specific date and a limit that is shown as a horizontal line.
Our data table shows the following values:
04.06 100 0 0 97,5

97,5 is the limit.

When doing this for a table with only one row there is no horizontal line shown. When having two rows the line is shown because it connects two points.

Question is: How do I show a horizontal line having only one result.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jun 01, 2006 1:56 pm

Hi Oblicore,

You can't draw a line with only one point because you need two points to draw a line between them. If you only have one data value you can draw a line with a constant value by populating it with 2 points, one for the minimum value you wish the line range to be and one for the maximum value.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply