Results 1 to 6 of 6

Thread: Need Charting wo/ using Db...

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2003
    Location
    Devron System
    Posts
    53

    Need Charting wo/ using Db...

    I am working on a project that requires a bar chart to be displayed on realtime.

    Are any any ActiveX or dotNet components that allows values to be pushed to the chart without any usage of Database as there are hundreds of thousands of values generated in 12 hours.

    Will be glad to pay for it. Thanks.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    Try the MS Chart control. They probably have a .NET version as well. I have no idea how robust it is as I have only ever used it for simple charts.

  3. #3
    Banned
    Join Date
    Jul 2003
    Location
    New delhi
    Posts
    143
    Ms chart control give you facility of that.

    but it make a problem in query.so the trick is write the quesy in the mschart control.




    so this control only help to show but the main trick to write the query


    Bisawjit das

  4. #4

    Thread Starter
    Member
    Join Date
    Nov 2003
    Location
    Devron System
    Posts
    53
    Originally posted by biswajitdas
    Ms chart control give you facility of that.

    but it make a problem in query.so the trick is write the quesy in the mschart control.

    so this control only help to show but the main trick to write the query

    Bisawjit das
    Thanks all for the suggestions, i will explore your recommendation.

    I have never used MS Chart in much detail and have tried. Can someone show me a few lines of codes in pushing the values along?

    Now let's say T1 (Time-1) with value 10 comes along first. Then T2 comes with 20.

    I need to push T1, T2 and Tn from Right to Left as time goes by. I need to retain 100 values in the chart before dropping off the oldest entry.

  5. #5
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    This is just a guess.

    Create an array of 100 items.
    Set element 100 to T1.
    Set the Chart data to the array (MSChart.ChartData = aData)

    Move all the elements down one position
    Set element 100 to T2.
    Set the Chart data to the array (MSChart.ChartData = aData)
    Repeat.

    Also, once your grid is setup, I am pretty sure you have direct access to the data through the different chart properties (DataGrid, Series etc..)

  6. #6

    Thread Starter
    Member
    Join Date
    Nov 2003
    Location
    Devron System
    Posts
    53
    Thanks for the direction and algorithm.

    I will take it further and test how robust MS Chart when it is under pressure.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width