Is there a way to do the extended y-axis in Q3 2013 7.2.13.1016? (So columns are not to top of plot area)
1 Answer, 1 is accepted
0
Stef
Telerik team
answered on 11 Aug 2015, 04:19 PM
Hello Joel,
In Telerik Reporting Q1 2015 we introduced bindings which allow you to control the axes Min and Max values via expressions.
In Q3 2013 you will have to set the axes' Scales Min and Max in the report's constructor. For example:
//at run-time in code-behind
var report = new Report1();
var graph=report.Items.Find("graph1", true)[0] as Telerik.Reporting.Graph;
var cartesianCS=graph.CoordinateSystems[0] as CartesianCoordinateSystem;
var numericalScale = cartesianCS.YAxis.Scale as NumericalScale;
numericalScale.Maximum = 80;
numericalScale.Minimum = 30;
var IRS = new InstanceReportSource { ReportDocument = report };
I hope this information is helpful.
Regards,
Stef
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items