Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TChart Label, tick, grid problem

Status
Not open for further replies.

goodmanrAy

Programmer
Feb 6, 2002
53
GB
I have a TChart with three axis

bottom, right and left

I am trying to line up the ticks and labels on the right and left axis, the ranges are different on the left and right axis but I want the grids and ticks to line up. So that a label on the left axis is at the same point on the right axis.

Has anyone got any ideas

Thanks

Andrew

 
I had this problem and I simply turned off the ticks on the right-hand side. However, this isn't a great solution so I would suggest playing with the Increment (TChartAxis) property and try and make it so that each axis has the same number of increments and then I assume the gridlines will match up. You may also need the following TChartAxis properties: Maximum and Minimum.

Hope this helps!

Clive [infinity]
Ex nihilo, nihil fit (Out of nothing, nothing comes)
 
Thanks
Clive

I think I have sussed it now.

As you said it is a case of using the increment and getting the ratio between maximum and minimum of the two different axis.

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top