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
Strings in Free Pascal: I...
by
Thaddy
[
Today
at 10:15:00 am]
What's wrong with my appl...
by
Thaddy
[
Today
at 09:49:16 am]
Very simple Style Manager...
by
sgj
[
Today
at 09:29:05 am]
Cross Compile for Dos on ...
by
Thaddy
[
Today
at 09:19:24 am]
IStringList...
by
Thaddy
[
Today
at 08:17:55 am]
AdvancedHTTPServer: A Go-...
by
egsuh
[
Today
at 06:25:59 am]
Unit decfloat
by
srvaldez
[
Today
at 12:14:43 am]
Access violation during d...
by
Martin_fr
[January 19, 2026, 08:02:11 pm]
Adjacent rectangles not a...
by
jamie
[January 19, 2026, 06:21:09 pm]
Developing FreePascal on ...
by
HKPhysicist
[January 19, 2026, 03:53:13 pm]
Assigning firebird file n...
by
egsuh
[January 19, 2026, 10:18:22 am]
Postgres, ZEOS and Visual...
by
Thaddy
[January 19, 2026, 07:00:03 am]
Feature announcement: Fun...
by
Thaddy
[January 19, 2026, 06:55:15 am]
[SOLVED] Strange behavior...
by
jamie
[January 19, 2026, 12:08:12 am]
ThemeServices.OnThemeChan...
by
sgj
[January 18, 2026, 10:37:32 pm]
AVRPascal – free code edi...
by
ackarwow
[January 18, 2026, 10:18:12 pm]
help implementing frexp
by
srvaldez
[January 18, 2026, 09:25:07 pm]
my implementation of frex...
by
srvaldez
[January 18, 2026, 06:27:39 pm]
Rolling releases Lazarus[...
by
Martin_fr
[January 18, 2026, 04:37:42 pm]
Question about optimizer ...
by
PascalDragon
[January 18, 2026, 04:01:54 pm]
How to set the Excel cell...
by
dodgex
[January 18, 2026, 02:06:25 pm]
PeaZip project turns 20 t...
by
JanRoza
[January 18, 2026, 01:57:46 pm]
How to implement multiple...
by
bills
[January 18, 2026, 01:26:29 pm]
RPNCalc in Lazarus
by
jwdietrich
[January 18, 2026, 12:13:43 pm]
Is this Pascal Compiler t...
by
HKPhysicist
[January 18, 2026, 11:11:59 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Axis Ranges (Read 1059 times)
kapibara
Hero Member
Posts: 656
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 24.04 - 64 bit
wp
Hero Member
Posts: 13334
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: 656
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 24.04 - 64 bit
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
Axis Ranges
TinyPortal
© 2005-2018