Profile Picture

Legend disappears or changes position

Posted By Yuri Gaidoukevitch 14 Years Ago
Author
Message
Yuri Gaidoukevitch
Posted 14 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 13 Years Ago
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 (61 views, 117.00 KB)
Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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





Similar Topics


Reading This Topic