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. please help

please help

Scheduled Pinned Locked Moved C / C++ / MFC
help
5 Posts 4 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    can some1 help me to draw a pie chart using MSCHART control.I am unable to obtain sufficient info from the msdn docs.

    S M 2 Replies Last reply
    0
    • A Anonymous

      can some1 help me to draw a pie chart using MSCHART control.I am unable to obtain sufficient info from the msdn docs.

      S Offline
      S Offline
      Scozturk
      wrote on last edited by
      #2

      Are you using API, MFC or net? Well... I am a beginner ...

      1 Reply Last reply
      0
      • A Anonymous

        can some1 help me to draw a pie chart using MSCHART control.I am unable to obtain sufficient info from the msdn docs.

        M Offline
        M Offline
        Marc Soleda
        wrote on last edited by
        #3

        I'm also very confused :confused: with the poor information about using MS Chart in VC++ provided by msdn. Look at these examples, they'll help you: Using the MS Chart control in VC++[^] and MS Chart[^] Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

        R 1 Reply Last reply
        0
        • M Marc Soleda

          I'm also very confused :confused: with the poor information about using MS Chart in VC++ provided by msdn. Look at these examples, they'll help you: Using the MS Chart control in VC++[^] and MS Chart[^] Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

          R Offline
          R Offline
          rajeshvv 0
          wrote on last edited by
          #4

          thanx 4 the piece of info.but i happened to see that info earlier.i seem to have a serious problem in inderstanding the COleSafeArray .can u plz explain why we create an array DWORD numElements[] = {10, 10}; .is that a one dimensional array or something else.im totalled.plz mail me at rajeshvv007@yahoo.com if u aint mind. thanx 4 helpin.....

          M 1 Reply Last reply
          0
          • R rajeshvv 0

            thanx 4 the piece of info.but i happened to see that info earlier.i seem to have a serious problem in inderstanding the COleSafeArray .can u plz explain why we create an array DWORD numElements[] = {10, 10}; .is that a one dimensional array or something else.im totalled.plz mail me at rajeshvv007@yahoo.com if u aint mind. thanx 4 helpin.....

            M Offline
            M Offline
            Marc Soleda
            wrote on last edited by
            #5

            Taking the first example, COleSafeArray is the chart data and simplyfing it's: COleSafeArray saRet; SAFEARRAYBOUND sab[2]; // each dimension bounds. In this case: 2 dimensions sab[0].cElements = NUM_DISCS; // rows sab[1].cElements = m_iCols; // number of columns + 1 (the first is for putting the row labels) sab[0].lLbound = sab[1].lLbound = 1; // lower bounds of each dimension saRet.Create(VT_BSTR, 2, sab); // Create the safe-array: Create(data type, dimensions, data) m_msChart.SetChartData(saRet.Detach()); // Initialize the data into the chart I hope it helps, Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

            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