Conditional unit and step with Chart DateTime scale

2 posts, 0 answers
  1. Magnus
    Magnus avatar
    4 posts
    Member since:
    Jun 2013

    Posted 29 Oct 2015 Link to this post

    Hello,

    I need to set scale unit and/or step properties based on expressions for datetime scale. The reason for this is because my charts' time axis (x-axis) vary based on report input parameters (from date and to date).

    Moreover, axis labels and grid lines should be able to dynamically reflect a timespan of an hour as well as a timespan of several months. 

    Doing this programmatically is currently not an option. Are there any ways to achieve the above in Telerik Report Designer?

     

     

  2. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 30 Oct 2015 Link to this post

    Hello Magnus,

    The graph axis scale properties can be set based on data field values using Bindings. To do so, select the Graph item and expand the CoordinateSystems.myCoordinateSystem node in the Properties window. There you can invoke the Bindings editor which allows you to assign expressions to the DateTimeScale properties.

    Regards,
    Nasko
    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