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. Representing data

Representing data

Scheduled Pinned Locked Moved C#
csharpdata-structureshelpquestion
2 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.
  • P Offline
    P Offline
    Paul Harsent
    wrote on last edited by
    #1

    I need to draw a graph in C#, which has lables on the y axis (e.g drive 1, drive 2) and time on the x axis. The problem is this isnt a normal graph, the data will have an open close point, so the graph will have a bar from when the drive starts writing to when it finishes, then again when it start. By doing it graphically I can see when all the drive are not writing. Also maybe in the future I need the graph/pitcure to be dynamic so I can zoom into an area to get more info and zoom out to get a bigger pic, but this is a minor detail, getting the stuff drawn I the main focus. Drive 1 | ----- -- ----- - -------- the bar might look something like this (bad picture i know) What would you say the best way to go about this is?

    L 1 Reply Last reply
    0
    • P Paul Harsent

      I need to draw a graph in C#, which has lables on the y axis (e.g drive 1, drive 2) and time on the x axis. The problem is this isnt a normal graph, the data will have an open close point, so the graph will have a bar from when the drive starts writing to when it finishes, then again when it start. By doing it graphically I can see when all the drive are not writing. Also maybe in the future I need the graph/pitcure to be dynamic so I can zoom into an area to get more info and zoom out to get a bigger pic, but this is a minor detail, getting the stuff drawn I the main focus. Drive 1 | ----- -- ----- - -------- the bar might look something like this (bad picture i know) What would you say the best way to go about this is?

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

      That's a fairly wide ranging question, but the following Google search[^] looks useful.

      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