Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2003
    Posts
    74

    Changing image size at runtime

    Is there any way to, at runtime, resize an image.
    I am creating a simple bar graph, and the only thing I can think of is to have multiple stacked images(the more, the more precise the graph) that I show a certain amount of depending on an amount I get from stored figures.
    It would be a lot easier if I could simply have my twelve bars as single images, that I resize vertically depending again on the input from my stored figures.
    If anyone has any ideas besides these two on what I could do to make a fairly precise, yet simple bar graph, let me know.
    Rob

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Changing image size at runtime

    You can do this with either a flash object(s) or in a web browser object.

    Using a flash object for example you could use several instances of a single "bar" .swf and get extremely precise results very quickly.

    Actually this might be helpful to others too so I'll whip up an example and post it here in a bit...

    Corey Milner
    Creative Director, Indigo Rose Software

  3. #3
    Join Date
    Jan 2003
    Posts
    74

    Re: Changing image size at runtime

    Thanks Corey, that would be great to see!
    I was going to have my graph show the difference in dollar amounts, but I think now it would be far better to show this as a percentage, rather than a dollar figure. I am using this graph to show a monthly bills amounts compared to the previous twelve months. I figure it would be difficult to show as a dollar figure, as large bills out of the range of the graph would be useless, unless you had it so that the bottom bar of the graph moved to the closest hundred.

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Changing image size at runtime

    Here you go [img]/ubbthreads/images/icons/smile.gif[/img]

    http://www.indigorose.com/ubbthreads...amp;Main=16556

    Corey Milner
    Creative Director, Indigo Rose Software

Posting Permissions

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