Legend disappears or changes position


Author
Message
Yuri Gaidoukevitch
Yuri Gaidoukevitch
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)
Group: Forum Members
Posts: 5, Visits: 1

I am using NLegend to display coloring of the chart. The chart uses

m_ChartControl.Settings.RenderSurface =  RenderSurface.Window;

In some case the legend do not show up on the image, but changing window size may make the legend appear, though it's not always in the correct place.

I've attached the image that shows the original legend position and the legend position after small resize of the window. The legend moved down and only partially visible, sometimes it disappears completely. The legend may not show up with some PredefinedLegendStyle, for example "Left", but may get visible with other. Also the legend is always visible with RenderSurface.Bitmap.

Do you have an idea how to fix this problem.

Thanks,

Yuri Gaidoukevitch


Attachments
LegendProblem.jpg (73 views, 117.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Yuri,

Most likely this is an issue with the legend texture cache in window mode. Do you use set the legend Cache property to true?



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search