RadCartesianChart X-axis value as ' 0 '

5 posts, 1 answers
  1. CS
    CS avatar
    4 posts
    Member since:
    Nov 2016

    Posted 16 Aug Link to this post

    How to make the X-axis at '0' in stead of '1'?
  2. CS
    CS avatar
    4 posts
    Member since:
    Nov 2016

    Posted 16 Aug in reply to CS Link to this post

    I am trying to change the direction of bar. In this case, when the value is less than 1, the bar will be going downward. How can I make all the bar is going upward or the graph start at x-axis instead of other line of value.
  3. Answer
    Dinko
    Admin
    Dinko avatar
    416 posts

    Posted 18 Aug Link to this post

    Hello,

    Thank you for contacting us.

    I am not exactly I have fully understood your approach. Basically, when all the values are positive they will be upward. That is why I will ask you to elaborate more on your scenario. You can send me isolated project from your application, code snippets so I can better understand your case. Also, have you set the OriginValue property of the series? 

    Regards,
    Dinko
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  4. CS
    CS avatar
    4 posts
    Member since:
    Nov 2016

    Posted 20 Aug in reply to Dinko Link to this post

    Thank you, I am able to get what I want after set the OriginValue to "0". Can I know is the default OriginValue for LogarithmicAxis is 1 or the value is depends on the chart data?
  5. Dinko
    Admin
    Dinko avatar
    416 posts

    Posted 23 Aug Link to this post

    Hi,

    I am happy to hear that you found a solution for your scenario. When you are using LogarithmicAxis internally in the axis code the origin value property is set to 1d.

    Regards,
    Dinko
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top