justinmind-logo
 
Upvote 1

Resize bar from bottom

Answered Ivan Kandi 5 years ago

Good afternoon


I'm creating a dynamic chart based on the value in data master, the chart consists of vertical bars that will resize based on user's input. I got everything figured out but the resize portion. When the bars resize, they resize from top left and going down instead of moving up. The pin to bottom option does not help because it pins the bars to the bottom of the window/browser rather than to the bottom edge of the bar.

Right now the way I'm doing it is I just resize it without animation and reposition it with a formula, but I want the animation, it's key in our prototype.

Any thoughts?

Replies (2)
photo
1

Hi Ivan,

You need to place the chart within a dynamic panel and give it a horizontal layout with bottom alignment. Check out the attached example, which shows a rectangle expanding from the bottom and another rectangle shrinking from the top.

Hope this helps.

Best,

Danielle

photo
1

Of course a dynamic panel, how I did not think of that is beyond me. Thanks so much for the help!!! And the example is awesome! Thanks for that too

photo
1

Happy to help :)

Let us know if you have any other questions or concerns.

photo
1

Thank you. The solution works like charm!

photo
Leave a Comment
 
Attach a file