Approved
Last Updated: 03 Oct 2016 10:15 by ADMIN
ADMIN
Slav
Created on: 03 Oct 2016 10:06
Category: HtmlChart
Type: Bug Report
0
NarrowRange of YAxis is not serialized when set to true
When you configure RadHtmlChart's YAxis with NarrowRange set to true, the setting is not serialized and as a result, not applied.
You can avoid it by setting the narrowRange on the client-side:

		<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="250px" Height="300px">
			<ClientEvents OnLoad="chartLoad" />
			...
		</telerik:RadHtmlChart>
		<script>
			function chartLoad(){
				var chart = $telerik.$("#RadHtmlChart1").data("kendoChart");
				chart.options.valueAxis.narrowRange = true;
			}
		</script>
0 comments