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
Un-register an LCL Compon...
by
dbannon
[
Today
at 05:19:05 am]
Столбец из CSV в CheckLis...
by
akulovz
[
Today
at 05:16:23 am]
TFPHTTPClient.Get(URL) / ...
by
dseligo
[
Today
at 05:03:08 am]
FPC Compiler Relocation B...
by
Coldzer0
[
Today
at 04:53:42 am]
AI cheetah
by
lainz
[
Today
at 03:17:28 am]
[SOLVED] Problems with ac...
by
Gercino
[
Today
at 01:04:30 am]
[SOLVED] TLabel OptimalFi...
by
Josh
[November 30, 2023, 11:43:45 pm]
Not able to add any compo...
by
andrew Bubble
[November 30, 2023, 11:41:01 pm]
Pascal script: Unable to ...
by
aducom
[November 30, 2023, 10:13:42 pm]
TProcess and lots of data...
by
marcov
[November 30, 2023, 10:12:58 pm]
Lazarus Release Candidate...
by
AlexTP
[November 30, 2023, 10:01:08 pm]
Anyone interested in test...
by
cpicanco
[November 30, 2023, 09:35:48 pm]
Titlebar custom color
by
domasz
[November 30, 2023, 09:31:14 pm]
Dynamical creation of obj...
by
peterbos
[November 30, 2023, 09:10:55 pm]
BGRABitmap - showcase -
by
circular
[November 30, 2023, 08:52:03 pm]
Better Vectorcall Support
by
Nitorami
[November 30, 2023, 08:38:46 pm]
Mediators and Indexed Pro...
by
sfeinst
[November 30, 2023, 08:14:11 pm]
Windows API and wide/unic...
by
Nadar
[November 30, 2023, 08:08:58 pm]
Noting responds when send...
by
ccrause
[November 30, 2023, 07:52:26 pm]
Out of memory on a ATtiny...
by
ccrause
[November 30, 2023, 07:16:29 pm]
What is the meaning of TF...
by
MarkMLl
[November 30, 2023, 06:32:25 pm]
[SOLVED]Bash commands and...
by
TRon
[November 30, 2023, 06:23:52 pm]
how to change color of a ...
by
Joanna
[November 30, 2023, 04:28:17 pm]
Help with barcode scannin...
by
Handoko
[November 30, 2023, 04:16:10 pm]
Best practices to use tRt...
by
Mr.Madguy
[November 30, 2023, 12:48:45 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] TAChart right Axis range not right? (Read 1019 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: 11445
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