Move X axis higher on Y axis

2 posts, 0 answers
  1. Aleksandr
    Aleksandr avatar
    3 posts
    Member since:
    Jan 2015

    Posted 13 Jan Link to this post

    Is it possible to Make X axis cross Y axis  at different point other then (0,0) for example (0,10)?

    I need to raise or lower X axis along Y axis based on some condition.

    Cheers,

    Alex

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 15 Jan Link to this post

    Hi Alex,

    Currently the crossing value property can only be set through the kendo widget - http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-valueAxis.axisCrossingValue

    You can use the code below for the RadHtmlChart and test it over this demo - http://demos.telerik.com/aspnet-ajax/htmlchart/examples/charttypes/columnchart/defaultcs.aspx

    $find('ctl00_ContentPlaceholder1_ColumnChart').get_kendoWidget().options.valueAxis.axisCrossingValue = 27000;
    $find('ctl00_ContentPlaceholder1_ColumnChart').get_kendoWidget().redraw();

    You can also log such a feature request about the RadHtmlChart in our feedback portal - http://feedback.telerik.com/Project/108. If you log it and provide a link to it here, we will be glad to award you with Telerik points for the efforts.

    Regards,
    Danail Vasilev
    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. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top