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

[Solved] Line Chart in tabstrip not displaying lines in IE9

1 Answer 13 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Charles
Top achievements
Rank 1
Charles asked on 15 Jun 2012, 03:39 PM
Hi, 
I have run into an unusual problem. I have a line chart that is generated from a partial view inside a tab strip. The chart works on all browsers, except on IE9 I get just the grid and no lines on the chart. My code for the line chart looks like so:

   
<%= Html.Telerik().Chart<AllStars.Models.Metrics.StatisticsChart>()
           .Name("myChart")
           .Legend(legend => legend
               .Position(ChartLegendPosition.Bottom)
           )
           .Series(series => {
                series.Line(s => s.open_rate).Name("Open Rate").Color("#26a0db");
                series.Line(s => s.click_rate).Name("Click Rate").Color("#009900");
                series.Line(s => s.referral_rate).Name("Referral Rate").Color("#E4814F");
            })
           .CategoryAxis(axis => axis
                .Categories(o => o.title)
                .Labels(l => l.Rotation(-45))
           )
           .ValueAxis(axis => axis
                .Numeric().Labels(labels => labels.Format("{0:#,##0}%"))
           )
           .Tooltip(tooltip => tooltip
                .Visible(true)
                .Template("<#= series.name #> : <#= value #>")
           )
           .DataBinding(dataBinding => dataBinding
                .Ajax().Select("_GetMyChartInfo", "Metric")
           )
           .HtmlAttributes(new {style = "width: 840px; height: 400px;"})
    %>


Do note that the chart works perfectly on every other browser even IE7 and 8. 

Any help would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 20 Jun 2012, 08:02 AM
Hello Charles,

This is not a known issue and I couldn't reproduce it locally. The Chart content will not be displayed if the Binary and script behaviors is not enabled in the security options but this should cause problems only in older versions. I am attaching my test project. Could you check it and let me know if the Chart is displayed properly on your side or if I am missing something?

Kind regards,
Daniel
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
Chart
Asked by
Charles
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or