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
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
exception external SIGSEG...
by
billjtx
[
Today
at 01:06:50 am]
Commerce website written ...
by
Joanna
[
Today
at 01:00:28 am]
So many "newbies"
by
Curt Carpenter
[
Today
at 12:40:11 am]
Recompiled IDE with LCLRe...
by
AlexTP
[December 12, 2025, 09:35:04 pm]
TaurusTLS 1.0.0.25 beta 2...
by
LeP
[December 12, 2025, 09:21:31 pm]
Single / Double / Float s...
by
tetrastes
[December 12, 2025, 09:10:39 pm]
Publish a LAMW app in F-d...
by
spacepascal
[December 12, 2025, 09:00:41 pm]
OS/2 Warp 4 problem with ...
by
PascalDragon
[December 12, 2025, 08:30:23 pm]
TLazSerial : serial port ...
by
tetrastes
[December 12, 2025, 08:23:58 pm]
Introducing PasBuild 1.0....
by
PascalDragon
[December 12, 2025, 08:20:32 pm]
Convert string with Key-V...
by
Bart
[December 12, 2025, 07:28:04 pm]
Hashing pointers by using...
by
BrunoK
[December 12, 2025, 07:11:30 pm]
The TChromeTabs component...
by
1-berto
[December 12, 2025, 07:02:28 pm]
Military Grade Directives
by
Warfley
[December 12, 2025, 05:44:12 pm]
connecting to mariadb
by
marcov
[December 12, 2025, 04:13:37 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 12, 2025, 03:09:07 pm]
How can I make a safe app...
by
marcov
[December 12, 2025, 02:58:10 pm]
fpsockets error: 10047
by
Warfley
[December 12, 2025, 01:32:51 pm]
FPC 3.2.4-rc1 available
by
marcov
[December 12, 2025, 10:47:38 am]
[SOLVED] Lazreport. Multi...
by
Petrus Vorster
[December 12, 2025, 09:27:32 am]
Has anyone installed TeeB...
by
egsuh
[December 12, 2025, 06:34:29 am]
[SOLVED] Program compiles...
by
Schmitty2005
[December 11, 2025, 07:35:39 pm]
[SOLVED] Need help conver...
by
srvaldez
[December 11, 2025, 01:52:33 pm]
SpkToolbar custom update
by
wp
[December 11, 2025, 01:48:16 pm]
Is FPGUI still active?
by
BSaidus
[December 11, 2025, 01:25:31 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] TAChart right Axis range not right? (Read 2138 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: 13268
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