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 / C++ / MFC
  4. how to create line graph in vc++?

how to create line graph in vc++?

Scheduled Pinned Locked Moved C / C++ / MFC
c++graphicsdata-structurestutorialquestion
7 Posts 6 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
    mathivanaan
    wrote on last edited by
    #1

    hi, I don't know Graphics in vc++? i want how to develop line graph in vc++? Win32 GUI use line graph is possible? any sample code or url please give me Regards, M.Mathivanan

    _ R C B S 5 Replies Last reply
    0
    • M mathivanaan

      hi, I don't know Graphics in vc++? i want how to develop line graph in vc++? Win32 GUI use line graph is possible? any sample code or url please give me Regards, M.Mathivanan

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      I don't understand from your query on which base do you want to draw the line on. If it's a Win32 SDI application, you can get the device context and then draw the lines on the graph using the MoveTo and LineTo API's.

      I am a HUMAN. I have that keyword (??? too much) in my name........ ;-)_AnsHUMAN_b>

      1 Reply Last reply
      0
      • M mathivanaan

        hi, I don't know Graphics in vc++? i want how to develop line graph in vc++? Win32 GUI use line graph is possible? any sample code or url please give me Regards, M.Mathivanan

        R Offline
        R Offline
        RaviRanjanKr
        wrote on last edited by
        #3

        Navigate the Given link how to draw line graph in VC++[^] Hope it will work for you. :)

        1 Reply Last reply
        0
        • M mathivanaan

          hi, I don't know Graphics in vc++? i want how to develop line graph in vc++? Win32 GUI use line graph is possible? any sample code or url please give me Regards, M.Mathivanan

          C Offline
          C Offline
          Cedric Moonen
          wrote on last edited by
          #4

          Are you using MFC or pure win32 API ? If you are using MFC, take a look at my sig for a charting control I wrote for codeproject.

          Cédric Moonen Software developer
          Charting control [v3.0] OpenGL game tutorial in C++

          M 1 Reply Last reply
          0
          • C Cedric Moonen

            Are you using MFC or pure win32 API ? If you are using MFC, take a look at my sig for a charting control I wrote for codeproject.

            Cédric Moonen Software developer
            Charting control [v3.0] OpenGL game tutorial in C++

            M Offline
            M Offline
            mathivanaan
            wrote on last edited by
            #5

            i try to win32 GUI

            1 Reply Last reply
            0
            • M mathivanaan

              hi, I don't know Graphics in vc++? i want how to develop line graph in vc++? Win32 GUI use line graph is possible? any sample code or url please give me Regards, M.Mathivanan

              B Offline
              B Offline
              basementman
              wrote on last edited by
              #6

              pDC->MoveTo(x,y);

              while(oPoint in points collection)
              {
              pDC->LineTo(oPoint.x,oPoint.y);
              }

              onwards and upwards...

              1 Reply Last reply
              0
              • M mathivanaan

                hi, I don't know Graphics in vc++? i want how to develop line graph in vc++? Win32 GUI use line graph is possible? any sample code or url please give me Regards, M.Mathivanan

                S Offline
                S Offline
                SoftwareDeveloperGoa
                wrote on last edited by
                #7

                ms chart active x control can be alternative

                My Company

                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