Error loading chart

1 posts, 0 answers
  1. Greg
    Greg avatar
    19 posts
    Member since:
    Jun 2012

    Posted 14 Nov 2012 Link to this post

    My company has paid for a 3 license copy of KendoUI
    I am posting here and not under the company registered user name as no one monitors that email

    I am using

    2012.2.710 release (because I can't upgrade

    I get a error when the Chart is rendered
    Error(see attachment):
    0x800a01b6 - Microsoft JScript runtime error: Object doesn't support this property or method

    Rendered chart HTML(5.0/4.1)/jquery(1.7.2):
    <div class="k-widget k-chart" id="chart"></div><script>
        jQuery(function(){jQuery("#chart").kendoChart({series:[{name:"Sale Value",type:"area",field:"SaleValue"}],categoryAxis:{categories:["2007","2008","2009","2010","2011"]},dataSource:{data:[{"Year":2007,"SaleValue":250000.0000},{"Year":2008,"SaleValue":500000.0000},{"Year":2009,"SaleValue":250000.0000},{"Year":2010,"SaleValue":500000.0000},{"Year":2011,"SaleValue":250000.0000}]}});});

    Browser must IE8: nearly the biggest forgein client base, well be soon

    code that made it happen ,includes commented out Telerik code that works with this model
        .Series(series =>
            series.Area(s => s.SaleValue);
        .CategoryAxis(axis => axis
        .Categories(s => s.Year)) 
        .Series(series =>
            series.Area(s => s.SaleValue).Name("Sales by Year");
        .CategoryAxis(axis => axis
        .Categories(s => s.Year))
        .ValueAxis(axis => axis
        .Numeric().Labels(labels => labels.Format("${0:#,##0}")))
        .HtmlAttributes(new { style = "width: 450px; height: 200px; margin: auto;" })


Back to Top