Page 1 of 1

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

Posted: Fri Aug 02, 2013 8:12 am
by 16563417
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 2845 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

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

Posted: Tue Aug 06, 2013 10:31 am
by yeray
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 2818 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.