Hi
I dynamically add some lines, boxes and text to a chart in the FillSceneGraph event handler, which works fine, but when I switch to zoom mode and scroll the chart so that my lines, etc. are off the chart they still get drawn over the axes! :( How can I tell the chart to clip them to the data area like all the "normal" data lines?
Thanks.
Brian
Thanks, that's just what I needed. :)
You can try using:
{
context.SetClipBounds(layer.OuterBound);
e.SceneGraph.Add(context);
// add your primitives here
}