This is a migrated thread and some comments may be shown as answers.

Move X axis higher on Y axis

1 Answer 40 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Aleksandr
Top achievements
Rank 1
Aleksandr asked on 14 Jan 2016, 05:24 AM

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

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 15 Jan 2016, 09:20 AM
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
Tags
Chart (HTML5)
Asked by
Aleksandr
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or