This question is locked. New answers and comments are not allowed.
Hi,
when using the zooming enabled chart from AJAX extendsions like follow:
I get the attached error shown in FF. Any idea?
when using the zooming enabled chart from AJAX extendsions like follow:
| <form runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"/> |
| <% |
| DataTable dt = new DataTable(); |
| dt.Columns.Add(new DataColumn("MyColumn", typeof(int))); |
| Random rand = new Random(DateTime.Now.Millisecond); |
| for (int i = 0; i < 20; i++) |
| { |
| DataRow dr = dt.NewRow(); |
| dr[0] = rand.Next(20); |
| dt.Rows.Add(dr); |
| } |
| RadChart1.DataSource = dt; |
| RadChart1.DataBind(); |
| RadChart2.DataSource = dt; |
| RadChart2.DataBind(); |
| RadChart3.DataSource = dt; |
| RadChart3.DataBind(); |
| %> |
| <h2><%= Html.Encode(ViewData["Message"]) %></h2> |
| <p> |
| telerik chart test |
| </p> |
| <telerik:RadChart ID="RadChart3" runat="Server" Width="495px" AutoLayout="true" Skin="Mac"> |
| <Series> |
| <telerik:ChartSeries DataYColumn="MyColumn" Type="Line"> |
| </telerik:ChartSeries> |
| </Series> |
| <Legend Visible="false"></Legend> |
| <ChartTitle TextBlock-Text="Zooming / Scrolling (no scrolling)"> |
| </ChartTitle> |
| </telerik:RadChart> |
| <br /> |
| <telerik:RadChart ID="RadChart1" runat="Server" Width="495px" AutoLayout="true" Skin="Mac"> |
| <ClientSettings ScrollMode="Both" /> |
| <Series> |
| <telerik:ChartSeries DataYColumn="MyColumn" Type="Line"> |
| </telerik:ChartSeries> |
| </Series> |
| <Legend Visible="false"></Legend> |
| <ChartTitle TextBlock-Text="Zooming / Scrolling (no initial scaling)"> |
| </ChartTitle> |
| </telerik:RadChart> |
| <br /> |
| <telerik:RadChart ID="RadChart2" runat="Server" Width="495px" AutoLayout="true" Skin="Mac"> |
| <ClientSettings EnableZoom="false" ScrollMode="XOnly" XScale="4" /> |
| <Series> |
| <telerik:ChartSeries DataYColumn="MyColumn" Type="Line"> |
| <Appearance FillStyle-MainColor="223, 87, 60"> |
| </Appearance> |
| </telerik:ChartSeries> |
| </Series> |
| <Legend Visible="false"></Legend> |
| <ChartTitle TextBlock-Text="Scrolling only (initial XScale applied)"> |
| </ChartTitle> |
| </telerik:RadChart> |
| </form> |
I get the attached error shown in FF. Any idea?