Professional Web Applications Themes

stapel with different hight - Macromedia Director Lingo

Hi , have done a program that process data, and I would like to show that data as a stapel diagram. How is a clever way to do that. I have thought about making a sprite that has one length and then display the sprite as many times in a line as the value in the variable, but then I have to define exactly where the next sprite should be compared to the one before. It would be very nice to here suggestions to how to do it. Helu...

  1. #1

    Default stapel with different hight

    Hi , have done a program that process data, and I would like to show that data as a stapel diagram. How is a clever way to do that. I have thought about making a sprite that has one length and then display the sprite as many times in a line as the value in the variable, but then I have to define exactly where the next sprite should be compared to the one before. It would be very nice to here suggestions to how to do it.

    Helu


    hetta webforumsuser@macromedia.com Guest

  2. #2

    Default Re: stapel with different hight

    Hello,

    by the way, "stapel" (german) is "stack" in English - maybe it helps others
    to understand your intention :-)

    My suggestion would be to use a vector shape member and to change the height
    property of its associated sprite(s). That way you don't need to draw the
    member several times. Just create sprites for each bar in your diagram
    containing one and the same vector shape member. You could find a fixed
    multiplier to scale values from your data to the size (in pixels) you want
    the bars to appear on stage.

    sprite(theSpriteContainingVectorMember).height = dataValue * multiplier

    Maybe you have to adjust the "locV" property after changing the "height" of
    the sprite.

    I hope this helps a bit!
    L. Schwarz


    Loren Schwarz Guest

Similar Threads

  1. CSS 100% table hight...
    By Brian in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: June 1st, 11:23 PM
  2. Frameset Hight
    By einish in forum Dreamweaver AppDev
    Replies: 1
    Last Post: May 16th, 04:43 PM
  3. How do I set table row hight when 1 <TD> contains aform?
    By harrillj in forum Dreamweaver AppDev
    Replies: 1
    Last Post: March 12th, 07:35 PM
  4. hight resolution with flash
    By stanley in forum Macromedia Flash
    Replies: 3
    Last Post: October 29th, 11:12 PM
  5. Are you able to hight light leters
    By Joe {RoastHorse} in forum Macromedia Dreamweaver
    Replies: 1
    Last Post: July 16th, 12:58 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139