Upgrade issues

5 posts, 0 answers
  1. Chance
    Chance avatar
    12 posts
    Member since:
    Mar 2014

    Posted 20 Nov 2014 Link to this post

    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?



      


















  2. Chance
    Chance avatar
    12 posts
    Member since:
    Mar 2014

    Posted 20 Nov 2014 Link to this post

    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...

     


  3. Kendo UI is VS 2017 Ready
  4. JSON
    JSON avatar
    25 posts
    Member since:
    May 2014

    Posted 20 Nov 2014 in reply to Chance Link to this post

    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.
  5. Sean
    Sean avatar
    19 posts
    Member since:
    Jul 2012

    Posted 20 Nov 2014 Link to this post

    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
  6. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 24 Nov 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready