Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. MSCharts with large amount of data is slow.

MSCharts with large amount of data is slow.

Scheduled Pinned Locked Moved ASP.NET
csharpdatabaseasp-netsql-server
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cobusvdvyver
    wrote on last edited by
    #1

    Hi there guys. Background: Im currently developing a website that displays data retrieved from MS SQL Server on a chart with MS Charts. The data stored in MS SQL Server table is a temperature measurement taken every second. Every thing works fine. As long as i dont exceed 1 hour of data points. Well up to 4 hours sometimes work as well. But as sson as I increase the range of datapoints to display on the chart(using fastline series) it takes forever and even sometimes times out.(Im using Microsoft Visual Basic 2008(C#) ASP.NET and MS Charts) Question: 1.Is there another chart application that handles large amounts of data beter. There is several available but I cant say which will handle large data quantities beter. (and this is for a University final year project so the budget is very tight) 2.Is there a way to maybe speed up MS charts. 3.And finally I even tried to filter my SQL query to return only every 60th row which I dont mind on say a 12 hour chart. But I cant seem to find any solution to return every nth row that works. Thanks in advance. Any help will be much appreciated. Cobus

    S 1 Reply Last reply
    0
    • C Cobusvdvyver

      Hi there guys. Background: Im currently developing a website that displays data retrieved from MS SQL Server on a chart with MS Charts. The data stored in MS SQL Server table is a temperature measurement taken every second. Every thing works fine. As long as i dont exceed 1 hour of data points. Well up to 4 hours sometimes work as well. But as sson as I increase the range of datapoints to display on the chart(using fastline series) it takes forever and even sometimes times out.(Im using Microsoft Visual Basic 2008(C#) ASP.NET and MS Charts) Question: 1.Is there another chart application that handles large amounts of data beter. There is several available but I cant say which will handle large data quantities beter. (and this is for a University final year project so the budget is very tight) 2.Is there a way to maybe speed up MS charts. 3.And finally I even tried to filter my SQL query to return only every 60th row which I dont mind on say a 12 hour chart. But I cant seem to find any solution to return every nth row that works. Thanks in advance. Any help will be much appreciated. Cobus

      S Offline
      S Offline
      Suresh Pirsquare
      wrote on last edited by
      #2

      you need to optimize your sql queries.

      Everything Is Possible!

      C 1 Reply Last reply
      0
      • S Suresh Pirsquare

        you need to optimize your sql queries.

        Everything Is Possible!

        C Offline
        C Offline
        Cobusvdvyver
        wrote on last edited by
        #3

        Suresh Dayma wrote:

        you need to optimize your sql queries.

        Thanx. I figured that would be the best. Building a custom query to select only every 60th row. Could just not find a good solution to such a query. Current solution that ive got that is working is creating an empty data table and then using a for statement to select a specific row and appending it to the datatable with the row identifier as the for counter multiplied by 60 or whatever the case may be until the spesified date or time is reached. Thus creating a table with the relevant time span but only selected values.(thus painting the chart is much faster due to less values) This works fine just feels cumbersome and sloppy. Well thanks so far.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups