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
Is changing name supposed...
by
wp
[
Today
at 11:00:07 am]
Feature announcement: Fun...
by
Peter H
[
Today
at 10:55:02 am]
Possible work-around for ...
by
Thaddy
[
Today
at 10:13:31 am]
How to download a file fr...
by
c4p
[
Today
at 09:44:13 am]
list of IT assets
by
xinyiman
[
Today
at 09:36:55 am]
program locks up using se...
by
cdbc
[
Today
at 09:34:10 am]
.cvd ClamAV database comp...
by
Onur2x
[
Today
at 08:14:34 am]
Small DBMS project and Ho...
by
TRon
[
Today
at 07:44:06 am]
Check for updates and upd...
by
KodeZwerg
[
Today
at 07:43:19 am]
python for lazarus
by
Mongkey
[
Today
at 06:23:44 am]
Scope of cross-platform
by
TRon
[
Today
at 06:07:59 am]
Something wrong when i cl...
by
TRon
[
Today
at 05:57:57 am]
Connect Bluetooth Chess b...
by
tearsfornations
[
Today
at 05:48:10 am]
Lazarus for RISC OS
by
TRon
[
Today
at 05:36:04 am]
Are We Dead Yet?
by
dieselnutjob
[
Today
at 12:35:09 am]
How to POST a SOAPAction ...
by
rvk
[
Today
at 12:12:23 am]
is it possible to create ...
by
andyf97
[
Today
at 12:04:07 am]
What to change ModePortA,...
by
ccrause
[June 08, 2023, 10:17:09 pm]
Access violation with use...
by
Martin_fr
[June 08, 2023, 08:34:18 pm]
Suggestion on the lines o...
by
Skvoznjak
[June 08, 2023, 06:43:43 pm]
Best way to include lots ...
by
PascalDragon
[June 08, 2023, 06:14:51 pm]
DBEdit - display setting ...
by
rvk
[June 08, 2023, 05:44:34 pm]
[SOLVED] Help for downloa...
by
magleft
[June 08, 2023, 05:02:48 pm]
Testers needed: FpDebug a...
by
Martin_fr
[June 08, 2023, 03:27:07 pm]
Making a little chart app
by
circular
[June 08, 2023, 01:23:15 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] TAChart right Axis range not right? (Read 487 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: 10876
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