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

Magic data breaks pie chart

2 Answers 65 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 22 Aug 2012, 09:36 PM
If I place the following on my page, no graph is displayed:

This issues appears to be that I'm passing 2568 as a data value nothing is rendered. Is there a reason for this?

 <script>
function createBuildingChart() {
            $('#buildingChart').kendoChart({
                theme: $(document).data('kendoSkin') || 'default',
                dataSource: { data: graphDataBuilding },
                chartArea: { height: 250, width: 218 },
                legend: { position: 'bottom', visible: true, margin: { left: 1, right: 1 }, labels: { font: '10px Arial' }, border: {width:1, color:'black', dashType:'solid'} },
                series: [{ type: 'pie', field: 'Value', categoryField: 'Text', padding: 0}],
                tooltip: { visible: true, template: '<strong>${ category }</strong>: ${ value }' },
                seriesColors: ["#4575B4", "#D53E4F", "#F46D43", "#FDAE61", "#FEE08B"]
            });
        }
</script>
<script type='text/javascript'>var graphDataBuilding = [{ 'Text': 'Active', 'Value': 2568 }];createBuildingChart();</script>

2 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 23 Aug 2012, 10:41 AM
Hello Andrew Walters,

I am guessing that this problem appears with any IE except IE 9. This problem is already fixed. The fix will be included in the next official release.

Kind regards,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Andrew
Top achievements
Rank 1
answered on 23 Aug 2012, 12:52 PM
I actually noticed it in Firefox 14, but thanks for letting me know it will be fixed in the next release.
Tags
Charts
Asked by
Andrew
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or