Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

maxDateGroups based on the width of the chart

$
0
0

Hi Xavier,

This scenario is not supported out-of-the-box by Kendo UI Chart. What I would suggest as a workaround is to dynamically set maxDateGroups depending on the screen size: 

// get reference to the chart widget
var chart = $("#chart").data("kendoChart");
// dynamically set categoryAxis.maxDateGroups
chart.setOptions({categoryAxis: {maxDateGroups: 5}});

 

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>