LegendBox Symbols do not match series

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

User avatar
bcroteau
Posts: 7
Joined: Thu Oct 23, 2014 5:38 pm
Location: Canada

LegendBox Symbols do not match series

Post by bcroteau » Tue Nov 04, 2014 2:59 pm

It would seem that series symbols in the legend are not respecting the aspect ratio of the symbols assigned to the series themselves.

Here's an example:
Series.png
Series.png (34.82 KiB) Viewed 4581 times
In this case Series 2 has clearly been given a symbol that is elliptical (width=30, height=20) which works correctly on the chart, however the series in the legend seems to be resizing the symbol. I imagine that you're doing this to make sure the symbols in the legend are a normalized size and always legible however in this case, it seems to be resizing them to be square making my series indistinguishable... Other attributes, such as "angle" are being properly respected (as you can see in the screenshot).

While I can understand why you need to resize the symbol in the legend to make it legible I would expect the aspect ratio of the symbol to be maintained.

Please note that the example provided is trivial - we frequently have charts with MANY series and have to "recycle" the markers as there are only 5 bulit-in shapes that suit our purposes... therefore we use techniques such as rotation and "stretching" to provide a few more. We are also using colours to distinguish between series but for other reasons we cannot rely only on colour (for example we also colour our markers based on a 3rd parameter - similar in concept to a heat map).

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: LegendBox Symbols do not match series

Post by ArctionPasi » Wed Nov 05, 2014 2:32 pm

We'll improve the icons so they keep the aspect ratio of the shape in near future.
LightningChart Support Team, PT