Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
Axis Ranges
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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Width of Project-Close D...
by
n7800
[
Today
at 04:30:10 am]
What is a status of fpGUI...
by
Fred vS
[
Today
at 02:46:09 am]
Artificial intelligence
by
zeljko
[
Today
at 01:46:06 am]
Spaces are allowed here ?
by
440bx
[
Today
at 12:59:39 am]
SDL2 image rotation Probl...
by
TRon
[
Today
at 12:39:30 am]
A Tip for beginners
by
dbannon
[January 18, 2025, 11:30:59 pm]
Looking For Lazarus Tutor...
by
cdbc
[January 18, 2025, 10:32:29 pm]
Fatal: Cannot find Contro...
by
Soner
[January 18, 2025, 09:58:44 pm]
Restoring minimized scree...
by
Soner
[January 18, 2025, 09:41:16 pm]
[SOLVED] SetPart ?
by
BubikolRamios
[January 18, 2025, 08:51:31 pm]
[SOLVED] Operators overri...
by
ackarwow
[January 18, 2025, 07:55:54 pm]
Programs writing programs...
by
MarkMLl
[January 18, 2025, 07:50:40 pm]
How to add new methods to...
by
jmpessoa
[January 18, 2025, 07:27:22 pm]
FPC 3.2.4, naming suggest...
by
ALLIGATOR
[January 18, 2025, 07:16:55 pm]
Preparing FPC 3.2.4, poin...
by
Fred vS
[January 18, 2025, 06:09:48 pm]
TSelectDirectoryDialog do...
by
krzynio
[January 18, 2025, 05:57:40 pm]
Iterator on non-existing ...
by
PascalDragon
[January 18, 2025, 05:08:52 pm]
const declaration
by
PascalDragon
[January 18, 2025, 05:05:55 pm]
How to avoid copying
by
PascalDragon
[January 18, 2025, 05:02:08 pm]
Nested declarations insid...
by
PascalDragon
[January 18, 2025, 04:57:51 pm]
TImage colors incorrect
by
Jonny
[January 18, 2025, 04:17:53 pm]
An interprocess network?
by
cdbc
[January 18, 2025, 03:10:31 pm]
INET TLUDPcomponent for i...
by
cdbc
[January 18, 2025, 03:08:38 pm]
Bug in the formula MATCH,...
by
veb86
[January 18, 2025, 02:40:23 pm]
Bug in the formula MATCH
by
veb86
[January 18, 2025, 02:21:09 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Axis Ranges (Read 593 times)
kapibara
Hero Member
Posts: 629
Axis Ranges
«
on:
September 27, 2024, 06:06:26 am »
For the Multiple Panes example, we wrote in the wiki that either one of Axis.Range or Axis.Marks.Range is sufficient for displaying the side axismarks of each pane correctly. However, it seems both are needed to be set? Run the demo and unselect Axis.Range or Axis.Marks.Range and you'll see what I mean. Am I missing something?
Also, using a ListChartSource with real data instead of RandomChartSource seems to mess up one of the two left axises, see pic below. Select "real data" in the demo and the upper pane will have such overlapping marks.
https://wiki.freepascal.org/TAChart_Tutorial:_Multiple_Panes_in_one_Chart#Set_the_axis_range
«
Last Edit: September 27, 2024, 07:45:52 am by kapibara
»
Logged
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit
wp
Hero Member
Posts: 12523
Re: Axis Ranges
«
Reply #1 on:
September 27, 2024, 11:05:50 am »
There is also a TChartAxis.Marks.AtDataOnly. When this is set to true for both y axes the reported issues go away. Added this to the wiki.
Don't know why the Chart.Extent is switched to be fixed in the tutorial (I did not write that...)
«
Last Edit: September 27, 2024, 11:15:10 am by wp
»
Logged
kapibara
Hero Member
Posts: 629
Re: Axis Ranges
«
Reply #2 on:
September 30, 2024, 06:26:34 am »
Thanks wp, it worked.
Good to know that Chart.Extent is not needed for paned charts to work.
«
Last Edit: October 05, 2024, 10:21:32 pm by kapibara
»
Logged
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
Axis Ranges
TinyPortal
© 2005-2018