Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
286
Fillscenegraph event with increases Legend stroke width leads to grid not refreshing ?
posted

Hi ,

I added an FillSceneGraph event for an Ultrachart to increase the legend stroke width like this:

   foreach (Primitive p in e.SceneGraph)
            {
                Polyline poly = p as Polyline;
                if (poly != null && poly.Path != null && poly.Path.ToLower().IndexOf("legend") != -1)
                {
                    poly.PE.StrokeWidth = 5;
                }
            }

Whenever this code with the stroke width is used for the chart, the Ultragrid in the same form is not refreshed until the window is resized.

Is this a bug ?

(version is 8.1)