Results 1 to 11 of 11

Thread: Need help with a little bit of functionality.

Threaded View

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Question Need help with a little bit of functionality.

    For the last week I have been messying around with some simple graphing code, the link is in my sig.
    The graph can plot many datasets. A dataset is just a collection of values. This means that you can plot numerous graphs on the same graph. Does that make sense.

    This isn't just a simple graphing tool. it can be used to 100% replicated the graphic equalizer music thingy from media player and the moving graphs that you see in task manager.

    Anyways. If you download the zip and run Test.vpg and click the Music button you will see the media player demo.

    Notice how the little blue "caps", I call them caps as I don't know what they are really called, are still visible when their value is 0.
    This looks silly. I can change this by setting the value < 0 so it appears off the graph, and therefore doesn't get drawn. Another method would to have these points as the 1st dataset, and the green bars would then paint over these "caps".
    I don't like either method. Anyone got any suggestions?

    How about setting an upper and lower limit, bit like in stats, and any values outside these limits don't get drawn?
    Or having a visible property on a Point object?

    The next thing is slightly releated. If I am displaying 2 datasets that both show bars then how should I draw these? The largest bar at the back and smallest at the front? On top of each other? How? This I really don't have a clue about at this moment in time, although it's not 100% important, unlike my 1st problem.

    Any other suggestions would be greatful.

    Woof

    PS U need to have VB6 to run this directly. If you don't then you have to manually edit the class files for it to run in VB5.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width