Legends messed up?

Feb 16, 2010 at 2:16 PM

Hello everyone,


first of all, thanks for this project! I use this to plot some spectral data and can't figure out what is going on with the legend in my plot. If i add a Linegraph to my ChartPlotter there is a legend to the left and a legend to the right.

The legend on the left side does not have a border. If i make the legend invisible (collapsed) i still see the legend on the left side, but now having a border. I think there is something screwed up?? I would like to have no legend view at all if that would be possible?? I don't know where te one on the left side is from. You can reproduce this with the example program which plots the sin curve. Same effect here.

Hope someone knows how i can fix this.


Regards so far! 

Feb 16, 2010 at 6:58 PM

I noticed this too. In fact, there are two Legends now and their visibilities are controlled independently.

For the old Legend, you set LegendVisibilty = Visibility.Hidden; to hide it.

For the new legand you set NewLegendVisible = false;

I assume this is a transitional code artifact that will be resolved in the next release.