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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Inexpensive Charting Library

Inexpensive Charting Library

Scheduled Pinned Locked Moved The Lounge
c++javacsharppythonphp
37 Posts 14 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.
  • N Nish Nishant

    Hey John, I know you don't want to go the .NET route, but it is possible to embed a .NET charting control in an MFC window (a view or a dialog). So if you are not satisfied with any of the native controls you are looking at, it may be an option to consider. The bad side is that this would add a dependency on the .NET framework.

    Regards, Nish


    Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
    Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

    R Offline
    R Offline
    Ryan Roberts
    wrote on last edited by
    #15

    Nishant Sivakumar wrote:

    The bad side is that this would add a dependency on the .NET framework.

    You might as well ask to John to start wearing lacey panties.

    Ryan

    "Michael Moore and Mel Gibson are the same person, except for a few sit-ups. Moore thought his cheesy political blooper reel was going to tell people how to vote. Mel thought that his little gay SM movie about his imaginary friend was going to help him get to heaven." - Penn Jillette

    M 1 Reply Last reply
    0
    • N Nish Nishant

      Hey John, I know you don't want to go the .NET route, but it is possible to embed a .NET charting control in an MFC window (a view or a dialog). So if you are not satisfied with any of the native controls you are looking at, it may be an option to consider. The bad side is that this would add a dependency on the .NET framework.

      Regards, Nish


      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
      Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #16

      By the way, I downloaded and compiled the C++ demo code. The first thing that impressed me about the library is that it compiled clean (not even a single warning) under VS2005. The second thing that impressed me was that the charts are all flawless. Lastly, the sheer NUMBER of available charts is simply astounding. All that for just $99 (per language). And in case anyone is curious, I don't know if it comes with source code, and frankly I don't care. If it is easily implemented and the support is there, who needs the source? I just want to make graphs. (Oh yeah, the redistribution license is royalty free for the DLL.) Now, does anyone have any experience with this library? I'm on the verge of buying it.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      N 1 Reply Last reply
      0
      • RaviBeeR RaviBee

        John Simmons / outlaw programmer wrote:

        It's only $99,

        Plus $499 for the redist license. :( /ravi

        My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #17

        Wrong, bucko. It's royalty-free when you include the DLL with a desktop app.

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        RaviBeeR 1 Reply Last reply
        0
        • R Ryan Roberts

          Nishant Sivakumar wrote:

          The bad side is that this would add a dependency on the .NET framework.

          You might as well ask to John to start wearing lacey panties.

          Ryan

          "Michael Moore and Mel Gibson are the same person, except for a few sit-ups. Moore thought his cheesy political blooper reel was going to tell people how to vote. Mel thought that his little gay SM movie about his imaginary friend was going to help him get to heaven." - Penn Jillette

          M Offline
          M Offline
          Mike Gaskey
          wrote on last edited by
          #18

          Ryan Roberts wrote:

          You might as well ask to John to start wearing lacey panties.

          now that was funny

          Mike Dear NYT - the fact is, the founding fathers hung traitors. Vincent Reynolds: My opposition is as enlightened as your support, jackass. dennisd45: My view of the world is slightly more nuanced dennisd45 (the NAMBLA supporter) wrote: I know exactly what it means. So shut up you mother killing baby raper.

          1 Reply Last reply
          0
          • K Kyudos

            John, I assume you've looked at this NTGraph[^] and it insn't up to the job? I used it because it was very lightweight - the previous (commercial) charting tool we used came with (dependent) distributables that were about 3 times the size of our app...

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #19

            Yeah, I saw it - not sufficient. I want anti-aliased lines without having to turn myself inside out (or having to require an external library like OpenGL).

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            W 1 Reply Last reply
            0
            • realJSOPR realJSOP

              Wrong, bucko. It's royalty-free when you include the DLL with a desktop app.

              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

              RaviBeeR Offline
              RaviBeeR Offline
              RaviBee
              wrote on last edited by
              #20

              Their Licensing Faq[^] seems to indicate otherwise. /ravi

              My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

              A 1 Reply Last reply
              0
              • realJSOPR realJSOP

                I'm fully aware of what's possible. I'm not interested in burdening my application under the weight of .NET. Observing the fact that I am willing to PAY for a library to avoid .NET should give you a bit more perspective on my views. Native code rules - managed code drools...

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                R Offline
                R Offline
                Rama Krishna Vavilala
                wrote on last edited by
                #21

                John Simmons / outlaw programmer wrote:

                . I'm not interested in burdening my application under the weight of .NET.

                Have you really studied whether it is really a burden? IMHO: If you get a library use it, otherwise the .Net alternative is not a bad one.


                Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan

                realJSOPR 1 Reply Last reply
                0
                • R Rama Krishna Vavilala

                  John Simmons / outlaw programmer wrote:

                  . I'm not interested in burdening my application under the weight of .NET.

                  Have you really studied whether it is really a burden? IMHO: If you get a library use it, otherwise the .Net alternative is not a bad one.


                  Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #22

                  Rama Krishna Vavilala wrote:

                  Have you really studied whether it is really a burden?

                  What part of "25mb runtime" doesn't scream "burden" at you? This thread is not intended to be a contest to see who can say the most good/bad things about .NET. I stated my requirement for a library written in un-managed code, intended for use in an MFC application. Nowhere in that requirement did I even HINT that a .NET library was an acceptable solution. Why are you people so hell-bent on trying to coerce me into using crap I don't want to use? Now that we have the pleasantries out of the freakin' way, can we get back to the issue at hand?

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  L 1 Reply Last reply
                  0
                  • RaviBeeR RaviBee

                    Their Licensing Faq[^] seems to indicate otherwise. /ravi

                    My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                    A Offline
                    A Offline
                    Anna Jayne Metcalfe
                    wrote on last edited by
                    #23

                    Interesting. Looked at that way, TeeChart ($379 per dev for the ActiveX version, but no royalties) is actually cheaper unless you need two or more development licences. It sure looks pretty though.

                    Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                    1 Reply Last reply
                    0
                    • realJSOPR realJSOP

                      Rama Krishna Vavilala wrote:

                      Have you really studied whether it is really a burden?

                      What part of "25mb runtime" doesn't scream "burden" at you? This thread is not intended to be a contest to see who can say the most good/bad things about .NET. I stated my requirement for a library written in un-managed code, intended for use in an MFC application. Nowhere in that requirement did I even HINT that a .NET library was an acceptable solution. Why are you people so hell-bent on trying to coerce me into using crap I don't want to use? Now that we have the pleasantries out of the freakin' way, can we get back to the issue at hand?

                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                      -----
                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

                      John Simmons / outlaw programmer wrote:

                      Why are you people so hell-bent of trying to coerce me into using crap I don't want to use?

                      Misery loves company? A successful .NET implementation somehow validates their choice to jump on the .NET bandwagon?

                      "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss

                      A 1 Reply Last reply
                      0
                      • L Lost User

                        John Simmons / outlaw programmer wrote:

                        Why are you people so hell-bent of trying to coerce me into using crap I don't want to use?

                        Misery loves company? A successful .NET implementation somehow validates their choice to jump on the .NET bandwagon?

                        "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss

                        A Offline
                        A Offline
                        Anna Jayne Metcalfe
                        wrote on last edited by
                        #25

                        LOL! :laugh:

                        Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          By the way, I downloaded and compiled the C++ demo code. The first thing that impressed me about the library is that it compiled clean (not even a single warning) under VS2005. The second thing that impressed me was that the charts are all flawless. Lastly, the sheer NUMBER of available charts is simply astounding. All that for just $99 (per language). And in case anyone is curious, I don't know if it comes with source code, and frankly I don't care. If it is easily implemented and the support is there, who needs the source? I just want to make graphs. (Oh yeah, the redistribution license is royalty free for the DLL.) Now, does anyone have any experience with this library? I'm on the verge of buying it.

                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                          N Offline
                          N Offline
                          Nish Nishant
                          wrote on last edited by
                          #26

                          John Simmons / outlaw programmer wrote:

                          By the way, I downloaded and compiled the C++ demo code. The first thing that impressed me about the library is that it compiled clean (not even a single warning) under VS2005. The second thing that impressed me was that the charts are all flawless. Lastly, the sheer NUMBER of available charts is simply astounding. All that for just $99 (per language).

                          I downloaded and gave it a test run too. Looks really good. Compiles without warnings on both VC 6 and VC 2005 - which is an excellent achievement. And yeah, the graphs look good too - though till you start using it, it won't be fully obvious how easy it's to implement.

                          John Simmons / outlaw programmer wrote:

                          Now, does anyone have any experience with this library? I'm on the verge of buying it.

                          You may well be the first CPian to buy it :-)

                          Regards, Nish


                          Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                          Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

                          1 Reply Last reply
                          0
                          • realJSOPR realJSOP

                            Yeah, I saw it - not sufficient. I want anti-aliased lines without having to turn myself inside out (or having to require an external library like OpenGL).

                            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                            -----
                            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                            W Offline
                            W Offline
                            wout de zeeuw
                            wrote on last edited by
                            #27

                            OpenGL is not a lib, so you don't have to install it. DirectX on the other hand...

                            Wout

                            realJSOPR 1 Reply Last reply
                            0
                            • K Kyudos

                              Wout, That's what I thought. I didn't have to do anything extra to get it to work. But I guess it depends on where you intend to deploy...

                              W Offline
                              W Offline
                              wout de zeeuw
                              wrote on last edited by
                              #28

                              At least someone got the point :rolleyes:

                              Wout

                              1 Reply Last reply
                              0
                              • W wout de zeeuw

                                OpenGL is not a lib, so you don't have to install it. DirectX on the other hand...

                                Wout

                                realJSOPR Offline
                                realJSOPR Offline
                                realJSOP
                                wrote on last edited by
                                #29

                                Both require that the end-user have one or the other installed. Frequently being an end-user myself, I hate to be told I have to install this or that in order to use an app I just downloaded. Why doesn't the download include everything I need? Get my drift? I treat end-users like they're all just like me - lazy.

                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                1 Reply Last reply
                                0
                                • realJSOPR realJSOP

                                  Okay, I've given up trying to find a free one for un-managed code, so I started looking around for an inexpensive one, and found this: ChartDirector[^] It's only $99, and is directly supported in an un-managed coding environment (MFC and C++). The graphs on their demo pages look great, and it appears as if it does everything you'd want in a charting library, even including cross-platform compatibility. Has anyone heard of these guys or used their stuff before? (They also have .NET, PHP, ASP, PERL, Python, and JSP/Java versions.) I fired off an email asking some questions about their licensing, and I'll be happy to share their responses if anyone is interested.

                                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                  -----
                                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                  V Offline
                                  V Offline
                                  Vivek Rajan
                                  wrote on last edited by
                                  #30

                                  It is $99 for a developer license + $499 for a redist license. We are talking $598.

                                  realJSOPR 1 Reply Last reply
                                  0
                                  • V Vivek Rajan

                                    It is $99 for a developer license + $499 for a redist license. We are talking $598.

                                    realJSOPR Offline
                                    realJSOPR Offline
                                    realJSOP
                                    wrote on last edited by
                                    #31

                                    The jury is still out on that. I think that's based on a web distribution, not on desktop apps. Like I said earlier, I sent emails, and I'm waiting on a response. The downside is that these people are in hong kong, and they're 13 hours BEHIND on time, so I won't have an answer until tomorrow.

                                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                    -----
                                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                    L 1 Reply Last reply
                                    0
                                    • realJSOPR realJSOP

                                      The jury is still out on that. I think that's based on a web distribution, not on desktop apps. Like I said earlier, I sent emails, and I'm waiting on a response. The downside is that these people are in hong kong, and they're 13 hours BEHIND on time, so I won't have an answer until tomorrow.

                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                      -----
                                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

                                      John Simmons / outlaw programmer wrote:

                                      The downside is that these people are in hong kong, and they're 13 hours BEHIND on time, so I won't have an answer until tomorrow.

                                      I like to think I understand (and when I don't try and work it out) the various time zones around. If I do understand it correctly, since your in Texas your on Central Time (GMT -6) though for the next couple of weeks it's Central Daylight Time (GMT -5). Hong Kong in (GMT +8), so they are in fact 13 hours ahead or 11 hours behind depending on your view point. Though either way the answer won't arrive until tommorow. Am I even close? Next unrelated wuestion is Mountain Time. Where the hell is that? If I'm not mistaken the following are correct though far from complete - Eastern Time (GMT -5) - Massachussets, New York and the rest of the East Coast. Central Time (GMT -6) - Texas, Illonois and other places. Mountain Time (GMT -7) - ??? Pacific Time (GMT -8) California and the rest of the West Coast. Arizona Time (GMT -?) Different cause they don't have Daylight Savings.

                                      Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash 24/04/2004

                                      realJSOPR L 3 Replies Last reply
                                      0
                                      • L Lost User

                                        John Simmons / outlaw programmer wrote:

                                        The downside is that these people are in hong kong, and they're 13 hours BEHIND on time, so I won't have an answer until tomorrow.

                                        I like to think I understand (and when I don't try and work it out) the various time zones around. If I do understand it correctly, since your in Texas your on Central Time (GMT -6) though for the next couple of weeks it's Central Daylight Time (GMT -5). Hong Kong in (GMT +8), so they are in fact 13 hours ahead or 11 hours behind depending on your view point. Though either way the answer won't arrive until tommorow. Am I even close? Next unrelated wuestion is Mountain Time. Where the hell is that? If I'm not mistaken the following are correct though far from complete - Eastern Time (GMT -5) - Massachussets, New York and the rest of the East Coast. Central Time (GMT -6) - Texas, Illonois and other places. Mountain Time (GMT -7) - ??? Pacific Time (GMT -8) California and the rest of the West Coast. Arizona Time (GMT -?) Different cause they don't have Daylight Savings.

                                        Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash 24/04/2004

                                        realJSOPR Offline
                                        realJSOPR Offline
                                        realJSOP
                                        wrote on last edited by
                                        #33

                                        Po-tay-toe, po-tah-toe - so they'll get my emails yesterday instead of tomorrow... :)

                                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                        -----
                                        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          John Simmons / outlaw programmer wrote:

                                          The downside is that these people are in hong kong, and they're 13 hours BEHIND on time, so I won't have an answer until tomorrow.

                                          I like to think I understand (and when I don't try and work it out) the various time zones around. If I do understand it correctly, since your in Texas your on Central Time (GMT -6) though for the next couple of weeks it's Central Daylight Time (GMT -5). Hong Kong in (GMT +8), so they are in fact 13 hours ahead or 11 hours behind depending on your view point. Though either way the answer won't arrive until tommorow. Am I even close? Next unrelated wuestion is Mountain Time. Where the hell is that? If I'm not mistaken the following are correct though far from complete - Eastern Time (GMT -5) - Massachussets, New York and the rest of the East Coast. Central Time (GMT -6) - Texas, Illonois and other places. Mountain Time (GMT -7) - ??? Pacific Time (GMT -8) California and the rest of the West Coast. Arizona Time (GMT -?) Different cause they don't have Daylight Savings.

                                          Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash 24/04/2004

                                          realJSOPR Offline
                                          realJSOPR Offline
                                          realJSOP
                                          wrote on last edited by
                                          #34

                                          Mountain Time includes all of New Nexico, Colorado, Utah, and Montana, and parts of Idaho and Arizona (and I think parts of a few other states east of Montana).

                                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                          -----
                                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                          L R 2 Replies 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