Forum > TAChart

TAChart different axes of left and right for different data series

(1/2) > >>

grzegorz:
Hi all  I'm a beginner Lazarus user and i have question:
Is it possible to do different axes left (temperature) and right (pressure) for different data series on the same graph (common horizontal time axis)?

Leledumbo:
If you use the snapshot version: yes
Use DataSource property of each axis whose value you want to change

grzegorz:

--- Quote from: Leledumbo on April 09, 2010, 09:27:36 am ---If you use the snapshot version:
--- End quote ---
yes

--- Quote ---Use DataSource property of each axis whose value you want to change

--- End quote ---
but
unfortunately, I do not know how to do it.
It seems too complicated for me.
intuitively tried by a combination of AxisIndexy(tlineseries properties) with the corresponding axis  same way as in Delphi (lineSeries.VertAxis: = aRightAxis) but unfortunately does not work

Ask:
You may be interested in tachart/demo/axis/axisdemo project,
"Linear transform" page.

grzegorz:

--- Quote from: Ask on April 09, 2010, 11:34:05 am ---You may be interested in tachart/demo/axis/axisdemo project,
"Linear transform" page.

--- End quote ---
in that example, all the vertical axes have the same minima maxima and scale.
I need to be independent  (pressure, temperature), conected only by vertical axis (time).

Navigation

[0] Message Index

[#] Next page

Go to full version