Problem with the bottom axis if its length is less than 20ms

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jarek
Newbie
Newbie
Posts: 3
Joined: Wed Sep 05, 2012 12:00 am
Contact:

Problem with the bottom axis if its length is less than 20ms

Post by Jarek » Fri Aug 02, 2013 8:12 am

For bottom axis longer than 20ms label increment 5ms is ok. But for asix shorter than 20ms label increment 2 ms would be better. Unfortunately teechart shows only one label on the right side of the axis.
Untitled.png
Untitled.png (7.44 KiB) Viewed 2844 times
For asix shorter than 11ms label increment 1 ms would be better. Unfortunately teechart also shows only one label on the right side of the axis.

Thanks for any help you can give.

Jarek
Attachments
TeeChart20ms.zip
Test project
(16.36 KiB) Downloaded 292 times

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

Re: Problem with the bottom axis if its length is less than 20ms

Post by Yeray » Tue Aug 06, 2013 10:31 am

Hi,

I could reproduce the problem with your application so I've added it to the wish list to be revised for next releases (TV52016677).
Note if you resize the chart to less than 518 pixels width, the labels are correctly displayed:
2013-08-06_1225.png
2013-08-06_1225.png (15.75 KiB) Viewed 2817 times
Note I've added this to see the chart size:

Code: Select all

void __fastcall TForm1::Chart1Resize(TObject *Sender)
{
	Caption = "Chart size: " + IntToStr(Chart1->Width) + "x" + IntToStr(Chart1->Height);
}
So there seems to be a number of variables here affecting this.
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