locked
Issue with line graph display on internet explorer RRS feed

  • Question

  • User447209261 posted

    I'm currently running multiple line graphs, and while they work perfectly on other web browsers, running them in internet explorer is causing an issue. As its draws the linegraph, every other most recent point (so 3 out of 6)  doesnt immediately plot on the graph, but on the bottom under the x-axis. If my graph only has 5 points, the number will stay there and not ever populate correctly in the graph. Keeping 6 data points prevents that issue, but i have the graphs refreshing often and that animation is not acceptable.

    Here's an example of the asp code. I've already checked the CssClass and its not related to that. 

    <ajax:LineChart ID="Tickets runat="server" CssClass="breadcrumb"
    ChartTitle="Tickets " BorderStyle="None" ChartWidth="420" ChartHeight="300"></ajax:LineChart>

    And the series creation in code behind.

    Tickets.Series.Add(new AjaxControlToolkit.LineChartSeries { LineColor = "Blue", Data = ticketScore, Name = "Scores" });

    Any ideas on how to stop this? If there is a way to just disable the animation of the graphs and have them static i would be willing to do that as an alternative.

    Friday, March 20, 2015 8:54 AM

Answers

  • User1711366110 posted

    thestamos23

    I'm currently running multiple line graphs, and while they work perfectly on other web browsers, running them in internet explorer is causing an issue. As its draws the linegraph, every other most recent point (so 3 out of 6)  doesnt immediately plot on the graph, but on the bottom under the x-axis. If my graph only has 5 points, the number will stay there and not ever populate correctly in the graph. Keeping 6 data points prevents that issue, but i have the graphs refreshing often and that animation is not acceptable


      As per your case, If you had IE 8 or earlier version, I suggest you to upgrade the latest version. Also check that corresponding css class.
    Moreover check in the code-behind "Data= ticketscore" which should be y-axis value
    For your reference, check the following link which is having the sample code of ASP.Net AJAX Line Chart Control:

    http://www.aspsnippets.com/Articles/ASPNet-AJAX-Line-Chart-Control-Populate-from-Database-example.aspx

    --
    with regards,
    Edwin

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 23, 2015 1:28 AM