Page 1 of 1
TLegendScrollBar Horizontal *and* vertical scroll bars
Posted: Fri Nov 24, 2006 9:02 pm
by 9237792
Hi,
I've just started researching the TLegendScrollBar and I have a problem. I manually added a legend scrollbar through graph control but it's not making sense to me. It should have added a vertical scrollbar as I have too many items listed vertically. Instead, it added a horizontal scrollbar. The horiztonal scroll bar that it did add scrolls things up and down. How can I have it as a vertical scroll bar? Also, the legend disappears if the text in the legend is too wide. I'd like to have it so that a horizontal scrollbar appears for situations where the legend text is too wide.
Thanks for the help.
Cheers
Posted: Mon Nov 27, 2006 10:01 am
by narcis
Hi neo,
Could you please send us an example we can run "as-is" to reproduce your problem here? You can post your files at news://
www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Posted: Mon Nov 27, 2006 4:00 pm
by 9237792
Thanks for responding.
I'd really like to send you an example but unfortunately I can't. The code that I'm writing is not mine to expose. I've done nothing more then add a TChart to a form, programmatically add a few series' and, under the graph control->tools, add a Legend Scrollbar.
If you have questions I can answer them. I just cannot supply code. Is it reproduceable on your end?
Thanks
Posted: Mon Nov 27, 2006 4:08 pm
by narcis
Hi neo,
How is your chart's legend aligned, I mean, which is the legend's position? There's no need that you send the project you are working in. You could create a simple example project with random data so that we can reproduce the problem here.
Posted: Mon Nov 27, 2006 6:30 pm
by 9237792
Hi,
The chart's legend is aligned "laBottom".
I'll see if I can slap a sample project together for you.
Thanks
Posted: Tue Nov 28, 2006 2:28 pm
by narcis
Hi neo,
Thanks for the information. When legend is bottom or top aligned, the scrollbar tool can only be used for horizontal scrolling. I've added your request to our wish-list to be considered for inclusion in future releases.
Regarding the issue that the tool disappears when text is too large, this is a bug (TV52011934) which I've added to our defect list to be fixed for next releases.
Posted: Tue Nov 28, 2006 3:02 pm
by 9237792
Excellent. Thanks for the help. I look forward to the next release with the bug fix. Is there any way I can be automatically notified when this release is available or should I keep checking.
Thanks
Posted: Tue Nov 28, 2006 3:08 pm
by narcis
Hi neo,
We don't have any automatic notifying system for now. You should be aware at this forum for new release announcements.