HOW TO CHANGE THE X AXIS SCALE OF TSurfaceSeries!
HOW TO CHANGE THE X AXIS SCALE OF TSurfaceSeries!
When I draw Vector 3D with TSurfaceSeries(DEIPHI 7.0, TCHART7.07), the X axis scale should be input with the continues num, such as 0, 1, 2…and so on, or the picture can’t be drawled. But I want to set the X axis scale as 50,100,150… How to settle this problem? Thank you!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi hexfhhu,
Have you read Tutorial 4 - Axis Control on how to set axes? You'll find the tutorials at TeeChart's program group.
If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Have you read Tutorial 4 - Axis Control on how to set axes? You'll find the tutorials at TeeChart's program group.
If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi hexfhhu,
We have received your example code:
The second set of data is not displayed because you need to set IrregularGrid property to true before populating your series:
This is necessary when X and Z intervals are not equidistant, different than one or their values are negative.
We have received your example code:
Code: Select all
{ When I draw Vector 3D with TSurfaceSeries(DEIPHI 7.0, TCHART7.07), the X axis scale should be input with the continues num, or the picture can’t be drawled.
For example:
When I input the follow code : }
series1.addxyz(0,0.5,0);
series1.addxyz(1,0.5,0);
series1.addxyz(2,0.5,0);
series1.addxyz(0,0.6,1);
series1.addxyz(1,0.6,1);
series1.addxyz(2,0.6,1);
series1.addxyz(0,0.75,2);
series1.addxyz(1,0.75,2);
series1.addxyz(2,0.75,2);
{ The 3D can be drawled. But when I input the follow code: }
series1.addxyz(0,0.5,0);
series1.addxyz(10,0.5,0);
series1.addxyz(25,0.5,0);
series1.addxyz(0,0.6,1);
series1.addxyz(10,0.6,1);
series1.addxyz(25,0.6,1);
series1.addxyz(0,0.75,2);
series1.addxyz(10,0.75,2);
series1.addxyz(25,0.75,2);
{ the 3D can be drawled. How to cure this problem? Thank you!}
Code: Select all
Series1.IrregularGrid:=true;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |