Create Chart Area With Negatif Value in Axis Y

5 posts, 0 answers
  1. zake
    zake avatar
    17 posts
    Member since:
    Nov 2018

    Posted 27 Nov 2018 Link to this post

    I am attempting create Chart Area with negatif Value in Axis Y. Can Anyone help me, please ? 
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3900 posts

    Posted 28 Nov 2018 Link to this post

    Hello, Zake,  

    You can achieve the chart from the provided screenshot by using an inverse axis. The IsInverse property of the abstract LineAxis class determines whether an axis of a RadChartView will be reversed. In certain areas in engineering or physics it is a standard for some data representation an axis to be inverse. Please refer to the following help article: https://docs.telerik.com/devtools/winforms/controls/chartview/axes/inverse-axis

    I hope this information helps.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. zake
    zake avatar
    17 posts
    Member since:
    Nov 2018

    Posted 02 Dec 2018 Link to this post

    thank you for the answer, but I still have a question, 

    what if the value on the axis y is positive and negative, the chart like image that I attach below

  4. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3900 posts

    Posted 03 Dec 2018 Link to this post

    Hello, Zake,    

    By default, RadChartView doesn't render the positive values from bottom to top and the negative values in reversed direction. The following KB article shows how you can paint a chart where the area is started from zero. This means that the positive values will go up and the negative down: https://docs.telerik.com/devtools/winforms/knowledge-base/negative-area-chart

    Note that this is just a sample approach and it may not cover all possible cases. Feel free to modify it in a way which suits your requirement best.

    I hope this information helps. 

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  5. zake
    zake avatar
    17 posts
    Member since:
    Nov 2018

    Posted 04 Dec 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    It's amazing, thank for the satisfying answer,,,  
Back to Top