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. General Programming
  3. C#
  4. Multiple chart display in winforms devexpress

Multiple chart display in winforms devexpress

Scheduled Pinned Locked Moved C#
questioncsharpwinformsdata-structurestutorial
4 Posts 3 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.
  • M Offline
    M Offline
    Member_14663811
    wrote on last edited by
    #1

    I have a multithreaded application.Each thread results some data which I need to display in chart/graph . How can I do it? For example if there are 16 threads then there should be 16 small charts on winform in 4 rows and 4 columns. If 17 threads, then another chart added accordingly.

    OriginalGriffO L 3 Replies Last reply
    0
    • M Member_14663811

      I have a multithreaded application.Each thread results some data which I need to display in chart/graph . How can I do it? For example if there are 16 threads then there should be 16 small charts on winform in 4 rows and 4 columns. If 17 threads, then another chart added accordingly.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      And? What have you tried? What happened when you did? Where are you stuck? What help do you need?

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • M Member_14663811

        I have a multithreaded application.Each thread results some data which I need to display in chart/graph . How can I do it? For example if there are 16 threads then there should be 16 small charts on winform in 4 rows and 4 columns. If 17 threads, then another chart added accordingly.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Member 14663811 wrote:

        How can I do it?

        Synchronziation. With the UI thread. Quite some articles on CP cover it. Most will not be using a graph as an example, but the principles remain the same.

        Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        1 Reply Last reply
        0
        • M Member_14663811

          I have a multithreaded application.Each thread results some data which I need to display in chart/graph . How can I do it? For example if there are 16 threads then there should be 16 small charts on winform in 4 rows and 4 columns. If 17 threads, then another chart added accordingly.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          You don't need 16 threads; you just need one thread and 16 (concurrent) queues of data points (one for each series / source). The form would have 16 "chart controls" (or more) in a "wrap panel"; one for each queue / source. If you're talking "millions" of data points, only some commercial software will do. On the other end, I've used one thread to poll all source devices at intervals; so still only 2 threads in total.

          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

          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