Extended Y axis

2 posts, 0 answers
  1. Joel
    Joel avatar
    181 posts
    Member since:
    Oct 2006

    Posted 07 Aug 2015 Link to this post

    Is there a way to do the extended y-axis in Q3 2013  (​So columns are not to top of plot area)
  2. Stef
    Stef avatar
    3610 posts

    Posted 11 Aug 2015 Link to this post

    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.

    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
Back to Top