Page 1 of 1

How to change Maximum and Minimum axis range

Posted: Thu Jul 26, 2012 6:35 am
by a_hnd
Hi
How to change Maximum and Minimum axis range? (VB.NET)

Re: How to change Maximum and Minimum axis range

Posted: Thu Jul 26, 2012 9:52 am
by HighAley
Hello.

Please, try to use next code:

Code: Select all

Dim chart As StiChart = TryCast(rep.GetComponentByName("Chart1"), StiChart)
DirectCast(DirectCast(chart.Area, Stimulsoft.Report.Chart.StiAxisArea).YAxis, Stimulsoft.Report.Chart.StiAxis).Range.Minimum = 2
DirectCast(DirectCast(chart.Area, Stimulsoft.Report.Chart.StiAxisArea).YAxis, Stimulsoft.Report.Chart.StiAxis).Range.Maximum = 10
Thank you.

Re: How to change Maximum and Minimum axis range

Posted: Thu Jul 26, 2012 10:33 am
by a_hnd
And where i use this code? Visual Studio or Designer (Version 2012) ?
Thank You.

Re: How to change Maximum and Minimum axis range

Posted: Thu Jul 26, 2012 11:47 am
by Alex K.
Hello,

Sorry, maybe in this case we did not exactly understand your question. Could you explain your issue in more details?

Thank you.