Custom the position of xAxis (equivalent with TKChartNumericAxis.offset on iOS)

Thread is closed for posting
2 posts, 0 answers
  1. Hien
    Hien avatar
    1 posts
    Member since:
    Oct 2016

    Posted 26 Oct 2016 Link to this post

    Hi, i'm working on an project with both iOS and android version.

    i'm drawing a chart which have yAxis's range from some negative value to some positive value. And i want to show the xAxis at the zero position of yAxis.

    on iOS, this can be done simply by set <TKChartNumericAxis>.offset = 0. You can see the result in attached.

    But i can't find the equivalent proprety on android, with LinearAxis. 

    Could you show me how can i archive this on android?

    Thanks alot.

  2. Victor
    Victor avatar
    1358 posts

    Posted 31 Oct 2016 Link to this post

    Hi Hilen,

    Thanks for writing.
    Our numerical axis has a property called RangeExtendDirection. Please try calling: 

    Please note that this is supported only by the numerical axes which are LinearAxis and LogarithmicAxis.

    Telerik by Progress
    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