The following shows the source code that creates the X and Y axis information for my composite chart. I want to be access the Y Axis in my code behind page, so that I can adjust the Min and Max Range values. I am adding mulitple NumericTimeSeries to the chart layer(s) in my code behind page, and the Y axis range needs to be based on the the numeric values from these. How can I do this?
<ChartAreas>
<MinorGridLines Visible="False" DrawStyle="Dot" Color="LightGray" Thickness="1" AlphaLevel="255"></MinorGridLines>
Thanks Teodor, this was helpful. However, I have since found a better method, which is as follows:
Dim chartLayer1 As New ChartLayerAppearance
chartLayer1 = myChart.CompositeChart.ChartLayers.FromKey(
"chartLayer1")
chartLayer1.AxisY.RangeMax = myNewMaxValue
Try looking at:
https://es.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/20187/ultradock-manager#20187