Extended Y axis

2 posts, 0 answers
  1. Joel
    Joel avatar
    166 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 7.2.13.1016?  (​So columns are not to top of plot area)
  2. Stef
    Admin
    Stef avatar
    3047 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.

    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
  3. DevCraft banner
Back to Top