Hi,
I am using your latest version of TChartPro with Embarcadero Delphi XE5.
I was wondering if you could tell me how I can change my symbol size in my chart legend without changing the font size in the legend.
In the chart editor, under Series-->Format-->Size I have the ability to change the size of my symbol by either changing the Size parameter (adjust the size of the entire symbol) or individually adjust the width or height.
I need to have the same ability for the symbol in my legend. Currently in Chart--> Legend--> Symbols --> Options, I see that I can change the width of the symbol. But there is no parameter to change the height. The height seems to only be changeable by changing the font size in the legend. But I want my font size to stay fixed and make only my legend symbol smaller. Is there any way I can do that? I tried adjusting the width and then selecting "sqaured" but that did not work. I would appreciate any information you could provide me on this, especially on the corresponding data structures for the associated TChart if such a height property exists.
If it matters, I am using GDI and not GDI+.
Thanks!
SDE
Adjusting Legend Symbol Height
Re: Adjusting Legend Symbol Height
Hi SDE,
I've added it to the wish list to be implemented in future releases
http://bugs.teechart.net/show_bug.cgi?id=642
Feel free to add your mail account to the CC list so you can be automatically notified when an update arrives.
I've added it to the wish list to be implemented in future releases
http://bugs.teechart.net/show_bug.cgi?id=642
Feel free to add your mail account to the CC list so you can be automatically notified when an update arrives.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Adjusting Legend Symbol Height
Hi Yeray,
Thanks for adding it to the wish list! In your notes I noticed that you said "This height would only be applied when the height specified here is bigger than the font size," but actually that is kind of the opposite of what I need. The reason why I was really asking was to use this as a workaround for something that has changed in your most recent releases.
It used to be that if I had my series height size set to anything that had a smaller height than my font size, in my legend, the symbol size matched the series size up to the height of my font. If the series height was larger than the font height, the symbol height in the legend matched the font size. For example, if the font size of 8 is equivalent to a symbol height of 3, I would get the following:
Series Height:Legend Font size:Legend Symbol Height:
1:8:1
2:8:2
3:8:3
4:8:3
5:8:3
Now, no matter what the series size is, the legend symbol height always matches the Legend font size. So now it is the following:
Series Height:Legend Font size:Legend Symbol Height:
1:8:3
2:8:3
3:8:3
4:8:3
5:8:3
I don't like how this looks on my legend. To get around it, I wanted to the ability to manually change the symbol height to be smaller than the legend font height so that it would match my series size.
Do you happen to know why there was this change? Or if you will ever return to how it used to be charted?
Thanks!
SDE
Thanks for adding it to the wish list! In your notes I noticed that you said "This height would only be applied when the height specified here is bigger than the font size," but actually that is kind of the opposite of what I need. The reason why I was really asking was to use this as a workaround for something that has changed in your most recent releases.
It used to be that if I had my series height size set to anything that had a smaller height than my font size, in my legend, the symbol size matched the series size up to the height of my font. If the series height was larger than the font height, the symbol height in the legend matched the font size. For example, if the font size of 8 is equivalent to a symbol height of 3, I would get the following:
Series Height:Legend Font size:Legend Symbol Height:
1:8:1
2:8:2
3:8:3
4:8:3
5:8:3
Now, no matter what the series size is, the legend symbol height always matches the Legend font size. So now it is the following:
Series Height:Legend Font size:Legend Symbol Height:
1:8:3
2:8:3
3:8:3
4:8:3
5:8:3
I don't like how this looks on my legend. To get around it, I wanted to the ability to manually change the symbol height to be smaller than the legend font height so that it would match my series size.
Do you happen to know why there was this change? Or if you will ever return to how it used to be charted?
Thanks!
SDE
Re: Adjusting Legend Symbol Height
Hi SDE,
I've added another comment into the ticket description.
http://bugs.teechart.net/show_bug.cgi?id=642
Feel free to add a comment there if you think it isn't precise or complete enough.
I've added another comment into the ticket description.
http://bugs.teechart.net/show_bug.cgi?id=642
Feel free to add a comment there if you think it isn't precise or complete enough.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Adjusting Legend Symbol Height
Thanks, Yeray! Looks like David already added the height properties, which will be very helpful.