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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Which Control should I us...
by
J-G
[
Today
at 02:30:55 pm]
[New Component] ExtTabCtr...
by
wp
[
Today
at 02:12:30 pm]
FPC Unleashed (inline var...
by
Khrys
[
Today
at 01:40:07 pm]
ZxTune chiptunes player
by
Guva
[
Today
at 12:41:14 pm]
RunFormula: math expressi...
by
CM630
[
Today
at 12:17:34 pm]
Codepage issue in console...
by
ASerge
[
Today
at 12:13:36 pm]
Mundo Medieval 3D MMORPG ...
by
schuler
[
Today
at 12:02:50 pm]
Onscroll event for Tscrol...
by
laz_one_or2
[
Today
at 11:16:39 am]
Fpcupdeluxe
by
CharlyTango
[
Today
at 10:35:33 am]
Compiling Qt6 project on ...
by
wp
[
Today
at 10:14:53 am]
Error with last fixes_3.2...
by
HaraldNieswandt
[
Today
at 10:13:48 am]
What am I missing here? [...
by
loaded
[
Today
at 08:11:06 am]
IDE Editor (OS: Windows11...
by
keith
[
Today
at 07:36:18 am]
Single and Double, Conver...
by
avk
[
Today
at 06:55:03 am]
Content is distorting / w...
by
jamie
[
Today
at 02:55:30 am]
AI Assist Python - to - P...
by
kirtu
[
Today
at 12:57:01 am]
Instruction-level paralle...
by
LeP
[
Today
at 12:23:51 am]
Lazarus syntax helpers
by
Edson
[June 15, 2026, 10:34:34 pm]
Can /my/ AI help me with ...
by
microxa
[June 15, 2026, 08:25:36 pm]
[ANN] PasBuild v1.9.0 Rel...
by
Graeme
[June 15, 2026, 08:14:26 pm]
If FileExists(
by
Remy Lebeau
[June 15, 2026, 07:58:06 pm]
Implementing an Elo ratin...
by
Warfley
[June 15, 2026, 06:33:56 pm]
[SOLVED]Program experienc...
by
Thaddy
[June 15, 2026, 05:39:33 pm]
Message CM_ShowingChanged...
by
AlexTP
[June 15, 2026, 01:21:03 pm]
MOVED: Eye Candy TESCheme
by
theo
[June 15, 2026, 10:06:43 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Axis Ranges (Read 1187 times)
kapibara
Hero Member
Posts: 662
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.3.1 / Kubuntu 24.04 - 64 bit
wp
Hero Member
Posts: 13580
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: 662
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.3.1 / Kubuntu 24.04 - 64 bit
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
Axis Ranges
TinyPortal
© 2005-2018