This is a composit chart.
You can see here a blue line chart layer and a red step area chart layer. If I resize the window I want, that only the blue chart layer grows or shrink and the red chart layer should keep it's size.
The only possibility I saw, is to set the margins of the Y axis each time the window is resized. But for the calculation I need the height of the chart area. Were to get this value?
If anybody has an better idea, I would be grateful.
Thanks
P.S.:I'm using Infragistics 7.3 with Hotfix 1060
Try handling the FillSceneGraph event, and inside the event handler, call e.ChartCore.GetChartLayer().GetInnerBounds().
Hallo,
thank's for your reply. The heigt I got with the descripted code is a good way but not the solution yet. Look at the picture:
Is there a possibility to get the height drawed in (pink)? Or ist there a possibility to get the height drawed in (turquoise)?
it seems that you are using a composite chart. in that case, you can get the inner bounds of the first ChartLayer using this expression:
this.ultraChart1.CompositeChart.ChartLayers[0].ChartLayer.GetInnerBounds()