Search found 15 matches
- Mon Sep 16, 2024 6:28 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
The solution is even simpler than that. Once OtherSide is in play, no OthSide is needed. Since my tScale is a descendant of tChartAxis , I can just set OtherSide := TheParentAxis.OtherSide; around the same time as I set Horizontal := TheParentAxis.Horizontal; inside tScale 's constructor. My old Tog...
- Mon Sep 16, 2024 6:45 am
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
I think you are not looking at the latest version of my demo. When I run it I see
But you're right; I hadn't noticed the OtherSide parameter. Should it be mentioned in the Axis chapter of the tutorial?
But you're right; I hadn't noticed the OtherSide parameter. Should it be mentioned in the Axis chapter of the tutorial?
- Fri Sep 13, 2024 9:23 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
Oops. I seem to have sent this twice. Delete whichever version you choose. Here is another related issue. Your new Distance parameter will allow the title of right-sided auxiliary axes to be moved to the right of those axes, but the ticks and labels of those new axes will still come out on the left....
- Fri Sep 13, 2024 8:53 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
Here's yet another related issue. When I create a new axis to be an auxiliary scale on the right, it looks strange, because As previously discussed, the title appears to the left of the scale, when it should be to the right. This will be fixable by using your new Distance parameter. The ticks and la...
- Fri Sep 13, 2024 6:28 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
That looks good. I'll look forward to seeing it in your build for Delphi 7. Thanks for the rapid response.
- Thu Sep 12, 2024 10:04 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
I've looked into the approach of controlling an axis's title position (normal to the axis) by using a separate title axis for each axis (including each added axis-as-scale). It works well as a means of providing left and bottom scales, but it started becoming a hairball when I tried to extend it to ...
- Mon Sep 09, 2024 5:28 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
The x position to draw the left axis title is calculated considering the width of the left axis labels. Why we don't provide mechanisms to modify this x position as we consider this is the behaviour the majority of users would expect. Could you please confirm this the you are willing to modify? Yes...
- Sun Sep 08, 2024 6:39 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
How does TChart determine the left-to-right order of a vertical axis and its title? Is there a way to control this? The title is always to the left of the left axis. Good. The title is always to the right of the right axis. Good again, but The title seems to be fixedly to the left of a created axis,...
- Tue Sep 03, 2024 6:29 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
An old issue that should be somehow linked to the scales & axes discussion is control of the spacing between an axis (or scale) and its title. The spacing automatically applied seems to take account of the axis's label size, but often that spacing is unnecessarily large. As seen in my scale/axis dem...
- Mon Sep 02, 2024 5:40 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
I've tweaked it yet again. Updated version on my Web site at https://www.fenichel.net/programs/ScaleTest.zip.
- Tue Aug 20, 2024 8:16 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
I have further tweaked my implementation. Now it allows the outlying scales to be arbitrarily computed from the parent axes. The updated demo has replaced the older one on my Web site.
- Sun Aug 18, 2024 7:03 pm
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
Re: scales and axes
I have simplified the implementation of this workaround. As TeeChart now works, every tChartAxis seems to need to have at least one associated series, even if that series contains no data. My earlier implementation required that empty series be added to the target tCustomChart at design time. It tur...
- Sat Aug 17, 2024 12:50 am
- Forum: VCL
- Topic: scales and axes
- Replies: 21
- Views: 15212
scales and axes
The conceptualization of TeeChart might be enhanced if the notions of axis and scale were separated. When a series (say, temperatures on dates) is plotted, there must be vertical & horizontal axes with minima and maxima, to determine what temperatures are too low or too high, and what dates are too ...
- Wed Aug 07, 2024 11:27 pm
- Forum: .NET
- Topic: Change Custom Y axis labels ONLY
- Replies: 3
- Views: 9336
Re: Change Custom Y axis labels ONLY
Another approach to the Fahrenheit/Celsius problem (or mm Hg/PSI/pascals, etc ) is to introduce one or more parallel axes. My utility to do the work for Fahrenheit/Celsius is on my Web site at https://www.fenichel.net/Celsius/CelsiusAxisDemo.zip . It requires that a new series be added to the chart,...
- Fri Jul 19, 2024 10:46 pm
- Forum: VCL
- Topic: errata in tutorials
- Replies: 1
- Views: 10511
errata in tutorials
- Tutorial 1 page 6 'round' should be 'random'
- Tutorial 2 page 1 no such folder as Examples with downloaded source code. Also default Chart Title Header is TChart, not Teechart
- Tutorial 4 page 3 missing text in 'the from'
- Tutorial 4 pages 3-4 paragraph repeated