Page 1 of 1

Bugs with Inverted Legend

Posted: Wed Jul 12, 2006 11:31 pm
by 9638056
When using Legend.Inverted = true, I've discovered the following bugs in the May 2006 release of TeeChart.NET v2:

Bug A:
1. Set legend position to bottom (and Inverted).
2. Enable show checkboxes.
3. Add many series until the legend wraps. Make sure there is a different number of series in the second row of the legend.
4. Try clicking the checkboxes. The hit test logic doesn't work right.

Bug B:
1. Set legend position to right side (and Inverted).
2. Enable the legend scrollbar tool.
3. Notice that the scrollbar behaves backwards.

My typical use of an inverted legend is so that a stacked bar chart shows the stacks in the same order as the legend. Inverting the legend accomplishes this, but of course, it make the series listed in opposite order (if originally A-Z, now Z-A), so I just add the series in reverse order of how I want them to show up.

It would be preferable to simply say that the stacking logic should be reversed so that the topmost series is the first series.

Posted: Thu Jul 13, 2006 11:22 am
by narcis
Hi Walt,

Bug A: I could reproduce it here and added it ot our defect list (TF02011575) to be fixed for future releases.

Bug B: I could reproduce it as well and added the defect (TF02011572) to our bug list to be fixed for future releases.

Posted: Mon Jul 17, 2006 9:31 pm
by 9638056
narcis wrote:Bug A: I could reproduce it here and added it ot our defect list (TF02011575) to be fixed for future releases.

Bug B: I could reproduce it as well and added the defect (TF02011572) to our bug list to be fixed for future releases.
Thanks.

I found another issue with the legend, which occurs even when not in inverted mode.

Bug C:
1. Put the legend on the bottom of the chart.
2. Add a few series titled "1", "2", "3", etc. Keep title strings all the same length to ensure duplication of the bug. My chart has 12 series, but you probably don't need to add that many.
3. Enable checkboxes.
4. Notice that the right most series does not fit within the legend box (it overlaps the edge), and further notice that only the left half of the checkbox is clickable. Also note that for best UI design, it should be possible to click on the series titles to toggle the checkboxes.

In case you need it, I have a screenshot that illustrates the problem, but I can not access the Steema newsgroups to post it due to our firewall.

Posted: Tue Jul 18, 2006 8:12 am
by narcis
Hi Walt,

Thanks for reporting.

I could reproduce the series title overlapping with the legend's edge but the checkbox clicking works fine for me. Furthermore, clicking the series title toggles checkboxes as well. I'm using our latest sources, which TeeChart version are you using? Please notice that we expect to make public a new maintenance release this week so this may already work.

Anyway, I've added the issue (TF02011588) to our bug list to be fixed for future releases.

Posted: Thu Oct 19, 2006 10:59 pm
by 9638056
narcis wrote:Bug A: I could reproduce it here and added it ot our defect list (TF02011575) to be fixed for future releases.

Bug B: I could reproduce it as well and added the defect (TF02011572) to our bug list to be fixed for future releases.
narcis wrote:Anyway, I've added the issue (TF02011588) to our bug list to be fixed for future releases.
Could you let me know if these bugs have been fixed in the latest build? The release notes don't have bug IDs, so I am not sure.

Posted: Fri Oct 20, 2006 8:37 am
by narcis
Hi Walt,

No, those bugs haven't been fixed yet.