Go Premium for a chance to win a PS4. Enter to Win

x
Solved

# TChart formatting X axis

Posted on 2001-08-20
Medium Priority
1,184 Views
Hello,

I am using the TChart to plot some data, however am having trouble formatting the X-axis. The problem is that I have an array of data from 0 to 99 which is plotted as:

for i := 0 to 99 do

However this plots the data with an increment of 1 between values. I would like to increase this increment to 25 so that the scale corresponds correctly with my data, so for example the graph line would go from 0 to 2450, not 0 to 99.

There is an increment property:-

Chart1.bottomaxis.Increment := 25 ;

I have also set min to 0 and max to 2500.

However this does not increment each data value by 25.

Can any one help me with this annoying problem, I'm sure it is probably simple - but the on-line documentation is driving me mad!

...matt
0
Question by:mattlaver

LVL 3

Accepted Solution

Slavak earned 200 total points
ID: 6406623
you can use

for i := 0 to 99 do

it should be enough

0

LVL 17

Expert Comment

ID: 9287545
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Thanks,

geobul
EE Cleanup Volunteer
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
###### Suggested Courses
Course of the Month7 days, 4 hours left to enroll