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

Upgrade issues

4 Answers 140 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chance
Top achievements
Rank 2
Chance asked on 20 Nov 2014, 04:53 PM
I tried upgrading to the latest and greatest and I can not render charts anymore.

We do not use the kendo.all.js as the file size is huge and we don't use everything.
These are the files I am including:

            bundles.Add(new ScriptBundle("~/bundles/kendo").Include(
                    "~/Scripts/kendo/kendo.core.js",
                    "~/Scripts/kendo/kendo.data.js",
                    "~/Scripts/kendo/kendo.columnsorter.js",
                    "~/Scripts/kendo/kendo.calendar.js",
                    "~/Scripts/kendo/kendo.popup.js",
                    "~/Scripts/kendo/kendo.datepicker.js",
                    "~/Scripts/kendo/kendo.userevents.js",
                    "~/Scripts/kendo/kendo.numerictextbox.js",
                    "~/Scripts/kendo/kendo.list.js",
                    "~/Scripts/kendo/kendo.dropdownlist.js",
                    "~/Scripts/kendo/kendo.filtermenu.js",
                    "~/Scripts/kendo/kendo.menu.js",
                    "~/Scripts/kendo/kendo.columnmenu.js",
                    "~/Scripts/kendo/kendo.groupable.js",
                    "~/Scripts/kendo/kendo.autocomplete.js",
                    "~/Scripts/kendo/kendo.filtercell.js",
                    "~/Scripts/kendo/kendo.pager.js",
                    "~/Scripts/kendo/kendo.selectable.js",
                    "~/Scripts/kendo/kendo.reorderable.js",
                    "~/Scripts/kendo/kendo.resizeable.js",
                    "~/Scripts/kendo/kendo.validator.js",
                    "~/Scripts/kendo/kendo.binder.js",
                    "~/Scripts/kendo/kendo.editable.js",
                    "~/Scripts/kendo/kendo.draganddrop.js",
                    "~/Scripts/kendo/kendo.window.js",
                    "~/Scripts/kendo/kendo.pdf.js",
                    "~/Scripts/kendo/kendo.excel.js",
                    "~/Scripts/kendo/kendo.drawing.js",
                    "~/Scripts/kendo/kendo.grid.js",
                    "~/Scripts/kendo/kendo.fx.js",
                    "~/Scripts/kendo/kendo.sortable.js",
                    "~/Scripts/kendo/kendo.dataviz.js",
                    "~/Scripts/kendo/kendo.dataviz.core.js",
                    "~/Scripts/kendo/kendo.dataviz.themes.js",
                    "~/Scripts/kendo/kendo.dataviz.chart.js",
                    "~/Scripts/kendo/kendo.dataviz.stock.js"));


 We use the datepicker, grid and charts primarily. The datepicker and grids appear to be working (untested) but the charts will not render. I get the following error:

Warning: KendoUI DataViz cannot render. Possible causes:
- The browser does not support SVG, VML and Canvas. User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
- The kendo.dataviz.(svg|vml|canvas).js scripts are not loaded

Now if I use kendo.all.js everything works fine. The dataviz.svg.js file no longer exists and I assumed kendo.drawing.js was the replacement.

FYI on the page http://docs.telerik.com/kendo-ui/install/custom under 'grid' there are several dupes in the list. Also under 'stockchart' it lists kendo.stockchart.js which is now just kendo.stock.js...

Any ideas as to what I am missing or doing wrong?



  


















4 Answers, 1 is accepted

Sort by
0
Chance
Top achievements
Rank 2
answered on 20 Nov 2014, 05:05 PM
If I go to the Custom download page: http://www.telerik.com/download/custom-download and select Chart w/PDF export I get the following files listed at the bottom of the page: 

<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.core.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.pdf.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.data.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.userevents.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.drawing.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.dataviz.core.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.dataviz.themes.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.dataviz.chart.min.js"></script>

 If I reference just these files I still get the above mentioned error in development testing. I am not using the minified versions as .Net minifies them for production...

 


0
JSON
Top achievements
Rank 1
answered on 20 Nov 2014, 08:40 PM
I'm having the same issues with sparkline, which relies on Grid. I'm testing it in the latest version of Chrome but it's not rendering and I'm getting the same error message. Since it renders SVG, I'm assuming it doesn't have a dependency. WHAT dependency is a complete mystery to me.
0
Sean
Top achievements
Rank 1
answered on 21 Nov 2014, 12:19 AM
I have several bundles, one of which includes the scripts necessary for charts on a few pages in my app.  Here is the bundle configuration:

var kendoChartBundle = new ScriptBundle("~/bundles/js/kendodataviz") { CdnPath = cdnPath + "bundles/js/kendodataviz" }
.Include("~/Scripts/kendo/js/kendo.drawing.min.js")
.Include("~/Scripts/kendo/js/kendo.dataviz.core.min.js")
.Include("~/scripts/kendo/js/kendo.dataviz.themes.min.js")
.Include("~/Scripts/kendo/js/kendo.dataviz.chart.min.js")
.Include("~/Scripts/kendo/js/kendo.dataviz.chart.polar.min.js")
.Include("~/Scripts/kendo/js/kendo.dataviz.gauge.min.js");
kendoBundle.Transforms.Clear();
bundles.Add(kendoChartBundle);

Hope it helps...

Sean
0
Hristo Germanov
Telerik team
answered on 24 Nov 2014, 03:18 PM
Hello Sean,

Could you try now? We have updated the download builder and I think that all problems should be resolved.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Chance
Top achievements
Rank 2
Answers by
Chance
Top achievements
Rank 2
JSON
Top achievements
Rank 1
Sean
Top achievements
Rank 1
Hristo Germanov
Telerik team
Share this question
or