Minimum and Maximum values for Chart Axis

2 posts, 1 answers
  1. Sal
    Sal avatar
    58 posts
    Member since:
    Feb 2015

    Posted 23 Dec 2015 Link to this post

    I'm working on the Android port of our iOS App on on the iOS side when setting up an axis (either a DateTimeAxis or NumericAxis) both of them have options for setting a minimum and maximum date/value but I can't seem to find the same option in the Android Charts. Is this something that is available on the Android side or not yet ? Also, I use the textForAxis option to limit the labels on the axis to only show certain indexes depending on the chart but again I can't find a similar counterpart on the Android side. Thanks. 
  2. Answer
    Todor
    Admin
    Todor avatar
    778 posts

    Posted 28 Dec 2015 Link to this post

    Hi,

    Thank you for your question.

    Yes, the chart for Android supports setting minimum and maximum values to its axes, which are not Categorical. The categorical axes, simply show the categories that are included in the data that they represent. For displaying date time values, you can use DateTimeContinuousAxis and for numerical values, you can use LinearAxis, both of them have methods setMinimum and setMaximum which allow you to limit the values they show.

    Let us know if you need further assistance.

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