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
110
FillSceneGraph in 6.1 with a custom layer?
posted

Sorry, wrong topic....it's WebForms!  Could someone please move it? Thanks

 Hello,

I'm currently developing a compositechart in Version 6.1.2006.

I would now like to draw some additional Primitives onto the chart after it has been drawn. Since this is not possible with the ChartDrawEvent I would have to do it in the FillSceneGraph which is not available in version 6.1.

Now my question is: Can I add a custom layer to add composite chart which then calls the FillSceneGraph? I tried to do that by calling the following code but it doesn't execute the FillSceneGraph:  

UltraChart1.Layer.Add("ellipse", New MyLayer())

UltraChart1.UserLayerIndex = New String() {"Default", "ellipse"}

UltraChart1.InvalidateLayers()

 

The layer only gets drawn if I use a normal chart like ColumnChart. Is it possible at all to add a custom layer to a composite chart? If yes, this would be the way to still be able to call the FillSceneGraph, or?

Many thanks for your replies.

Daniel