Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to change the bottom axis in a fastline TChart? Posted by CLCase on 17 Oct 2006 at 12:45 AM
Hello,

My program contains a fastline TChart.
If I add e.g. 100 Y-Values the tekst of the bottom axis (Y-axis) will be from 0-100.
How can this be changed so even that I have 100 Y-Values the text written along the Y-axis will be e.g. 0-10?

Thank in advance for any help!


Report
Re: How to change the bottom axis in a fastline TChart? Posted by zibadian on 17 Oct 2006 at 12:59 AM
: Hello,
:
: My program contains a fastline TChart.
: If I add e.g. 100 Y-Values the tekst of the bottom axis (Y-axis) will be from 0-100.
: How can this be changed so even that I have 100 Y-Values the text written along the Y-axis will be e.g. 0-10?
:
: Thank in advance for any help!
:
:
:
Set the axis's automatic property to false, and set the Minimum and Maximum properties. Also the bottom axis is not the y-axis but the x-axis. If you want to change the Y-axis, using the TChart.LeftAxis or TChart.RightAxis properties. Otherwise use the TChart.BottomAxis property.
Report
Re: How to change the bottom axis in a fastline TChart? Posted by CLCase on 17 Oct 2006 at 2:07 AM
: : Hello,
: :
: : My program contains a fastline TChart.
: : If I add e.g. 100 Y-Values the tekst of the bottom axis (Y-axis) will be from 0-100.
: : How can this be changed so even that I have 100 Y-Values the text written along the Y-axis will be e.g. 0-10?
: :
: : Thank in advance for any help!
: :
: :
: :
: Set the axis's automatic property to false, and set the Minimum and Maximum properties. Also the bottom axis is not the y-axis but the x-axis. If you want to change the Y-axis, using the TChart.LeftAxis or TChart.RightAxis properties. Otherwise use the TChart.BottomAxis property.
:


The problem is if you set Minimum to 0 and Maximum to 10 then only 10 Y-Values are shown.
I want to see all 100 Y-Values.
But the text should not show amaount of Y-Values, but amount of Y-Values/10.

Hope I explained well...







 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.