Announcement

Collapse
No announcement yet.

Windows Graph Control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Windows Graph Control

    Looking for a graph control that's in a dll format that can be used with either the AMS dll calling function or MemoryEx, was thinking something like Scintilla where you register the dll then you get a new windows class name, don't mind if its not free, suggestions?

  • #2
    A simple Google search resulted in http://www.componentsource.com/newre...ocx/index.html

    But I'm assuming most Graph controls might get expensive. What kind of graph do you want? Maybe you could specifically get what you need.

    Another option is to develop your own graph in Draw (not a shameless plug ) - That way, you have full control over what it will look like and how it will behave.
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment


    • #3
      You know on Windows 8 when you delete or move a file? well that kind of thing (I forgot I bought Draw :o )

      Comment


      • #4
        Originally posted by Shrek View Post
        You know on Windows 8 when you delete or move a file? well that kind of thing (I forgot I bought Draw :o )
        You could do that with Drawing.DrawLineEx and Drawing.DrawRectangle :yes But then again, you could do pretty much anything. Do you want to have it animated as well? Because that takes a little more effort
        Bas Groothedde
        Imagine Programming :: Blog

        AMS8 Plugins
        IMXLH Compiler

        Comment


        • #5
          Animation is not important but it would need to scroll vertically as the graph progresses in time.

          Comment


          • #6
            Originally posted by Shrek View Post
            Animation is not important but it would need to scroll vertically as the graph progresses in time.
            That shouldn't be hard, let me see if I can create an example later tonight!
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment


            • #7
              I would do it in this way:

              1. I will use Grid Object (its Excel CSV table format that support unlimited number of rows/columns; in AMS supports up to 32 000 because compiling, but in real file/working application with RAM its unlimited). You probably need only several rows/columns, and only some cells of informations. Then make a code to call only cell informations that you need to be on graph, so you can load that informations into a graph.
              -Now you made table with informations.

              2. You need to have MS Office installed. Start WordPad, go to Insert>Object... and select Microsoft Office Excel Chart, now edit your table from MS Excel (style, type, colors, bars, informations like arrows, etc.), make most as a temple for variables, and save it as *.RTF.
              You can also use Insert>Object...>Microsoft Graph Chart (its a classic thing, not much options, MS Office not needed), and save it as *.RTF.
              -Now you have graph, need only to set it into an AMS project.

              3. Create Rich Text Object, and load your graph into it (an *.RTF file).
              Dont forget to make a code to use CSV informations to refresh graph.
              -Now you have CSV table and graph in your project.

              Its suppost to work fine, because AMS can work with CSV table, and working with Rich Text, it means it can show you any *.RTF file, and you can even edit it if you wanna.

              Comment


              • #8
                If you dont like *.RTF, you can use also some of other format that AMS can load/show, for example Flash (*.SWF; you can make it like Flash Player, its interactive, so you can make graph in Flash, and call variables to create or edit that graph), or Web (*.HTML; if you know HTML/PHP/etc., you can make code to generate for example HTML graph from table/variables, then to render that code), etc., or you can play with AMS to create his own graph with Hotspots, Shapes, etc.

                Comment

                Working...
                X