Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
[solved] TAChart right Axis range not right?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
CRT unit kills Ctrl-C
by
MarkMLl
[
Today
at 11:23:54 am]
help exporting 2 data col...
by
paweld
[
Today
at 11:17:23 am]
Actions and Reslts
by
wp
[
Today
at 11:13:35 am]
fphttpclient. set path op...
by
RDL
[
Today
at 10:54:56 am]
Does FPC uses any interme...
by
MarkMLl
[
Today
at 10:29:28 am]
How can I capture all key...
by
jcmontherock
[
Today
at 10:21:51 am]
Changes in "Search Result...
by
BrunoK
[
Today
at 10:20:58 am]
How to make a T[Flow]Pane...
by
pleumann
[
Today
at 10:19:34 am]
(Solved) Hex2Dec, strange...
by
arneolav
[
Today
at 10:02:02 am]
Making a little chart app
by
phoenix27
[
Today
at 09:50:32 am]
any one knows how to set ...
by
TRon
[
Today
at 08:54:37 am]
Any way to intercept stdo...
by
TRon
[
Today
at 08:35:10 am]
help choosing laptop
by
Weiss
[
Today
at 08:15:57 am]
IInterface issues, compil...
by
WooBean
[
Today
at 07:59:51 am]
FileOpenDialog crashes/fr...
by
calebs
[
Today
at 06:47:37 am]
.cvd ClamAV database comp...
by
Onur2x
[
Today
at 03:47:26 am]
How to download a file fr...
by
maurobio
[
Today
at 02:04:49 am]
Best way to include lots ...
by
KodeZwerg
[June 04, 2023, 10:54:51 pm]
Are We Dead Yet?
by
SymbolicFrank
[June 04, 2023, 09:57:00 pm]
Working with the canvas o...
by
Jonax
[June 04, 2023, 05:31:27 pm]
ControlAtPos Behavior
by
Zoran
[June 04, 2023, 04:24:32 pm]
TDBGrid extended like Acc...
by
dsiders
[June 04, 2023, 03:49:48 pm]
Improvement of procedure ...
by
Martin_fr
[June 04, 2023, 03:20:51 pm]
How do I set these packag...
by
lazpas
[June 04, 2023, 01:30:01 pm]
general reference manual ...
by
simone
[June 04, 2023, 12:38:19 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] TAChart right Axis range not right? (Read 484 times)
yyouchen
Newbie
Posts: 2
[solved] TAChart right Axis range not right?
«
on:
February 11, 2023, 02:16:04 am »
The right axis display value is equal to the left axis value multiplied by the right axis value
How can i fix it?
«
Last Edit: February 12, 2023, 01:10:22 pm by yyouchen
»
Logged
wp
Hero Member
Posts: 10865
Re: TAChart right Axis range not right?
«
Reply #1 on:
February 11, 2023, 11:21:19 am »
The AutoScaleAxisTransform does not work properly when no series is assigned to the axis associated with this transformation. In your example the left axis is not assigned to any series. Change the AxisIndexY of the first lineseries in each chart from -1 (no axis) to 0 (index of left axis).
Code: Pascal
[Select]
[+]
[-]
Chart1LineSeries1
.
AxisIndexY
:
=
0
;
Chart1LineSeries2
.
AxisIndexY
:
=
2
;
// (already assigned in OI, just repeating)
Chart2LineSeries1
.
AxisIndexY
:
=
0
;
Chart2LineSeries2
.
AxisIndexY
:
=
2
;
// (already assigned in OI, just repeating)
«
Last Edit: February 11, 2023, 11:27:42 am by wp
»
Logged
yyouchen
Newbie
Posts: 2
Re: [solved] TAChart right Axis range not right?
«
Reply #2 on:
February 12, 2023, 01:10:44 pm »
THANK YOU WP
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
[solved] TAChart right Axis range not right?
TinyPortal
© 2005-2018