How to change Maximum and Minimum axis range
Posted: Thu Jul 26, 2012 6:35 am
Hi
How to change Maximum and Minimum axis range? (VB.NET)
How to change Maximum and Minimum axis range? (VB.NET)
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
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