This is a migrated thread and some comments may be shown as answers.

Extended Y axis

1 Answer 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 2
Joel asked on 07 Aug 2015, 04:52 PM
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

Sort by
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
Tags
General Discussions
Asked by
Joel
Top achievements
Rank 2
Answers by
Stef
Telerik team
Share this question
or