Hello,
AT design-time, when I double-click on a TChart I see an Edit Chart GUI where I can set a myriad of chart/series properties.
Is there any documentation mapping the GUI elements with object properties? I need to be able to set many properties at run-time and as a novice TeeChart user, I am really struggling to work out what object property is equivalent to a particular GUI element.
Example 1: See LegendBorder.png attachment.
On the GUI, I change Chart -> Legend -> Format -> Border -> Frame -> Visible to remove the border around the legend.
What property do I change at runtime to achieve this?
Example 2: See PointSeriesBorder.png attachment.
On the GUI, I change Series -> Format -> Border -> Visible to remove the border around the points.
What property do I change at runtime to achieve this?
I request that you implement hints in the Edit Chart GUI that give the property associated with a GUI element when the mouse hovers over a GUI element. Or (non-standard behavior) synchronize the object inspector with the GUI so that a change in GUI positions to the object inspector property that has has changed.
Thanks in advance,
Mark
Mapping of Edit Chart GUI with object properties
Mapping of Edit Chart GUI with object properties
- Attachments
-
- PointSeriesBorder.png (29.44 KiB) Viewed 17333 times
-
- LegendBorder.png (23.39 KiB) Viewed 17333 times
Re: Mapping of Edit Chart GUI with object properties
Hello Markus,
I have added below the lines code you need use to achieve as you want in runtime:
Hoping this helps you.
Thanks in advance
I have added below the lines code you need use to achieve as you want in runtime:
Example 1: See LegendBorder.png attachment.
On the GUI, I change Chart -> Legend -> Format -> Border -> Frame -> Visible to remove the border around the legend.
What property do I change at runtime to achieve this?
Code: Select all
Chart1.Legend.Pen.Visible := false;
Example 2: See PointSeriesBorder.png attachment.
On the GUI, I change Series -> Format -> Border -> Visible to remove the border around the points.
What property do I change at runtime to achieve this?
Code: Select all
Series1.Pointer.Pen.Visible := false;
Thanks in advance
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Mapping of Edit Chart GUI with object properties
Thanks Sandra!
Your solution to remove the border around the points works well.
To remove the border around the legend, I eventually discovered this code:
Although different from your code, it seems to work as desired.
Regards
Mark
Your solution to remove the border around the points works well.
To remove the border around the legend, I eventually discovered this code:
Code: Select all
Chart1.Legend.Frame.Visible := false;
Regards
Mark