I'm new here
I would like to take a graph from a bitmap and fill it in ascending order.
I don't want to fill the individual segments.
I tried it like in the "CoffeMaschine" demo but it only works horizontally but not vertically
welcome to our forum!
Assuming you have already a bitmap prepared, the simplest approach would be to display the bitmap in an Image view. Then you can adjust the width of the image at the runtime so more or less of the bitmap will be visible. If the Image view is smaller than the bitmap, the bitmap content is clipped automatically. To adjust the width of the Image view you modify its property Bounds, for example:
var int32 desiredWidth = ...
Image.Bounds.w = desiredWidth;
Please note that the Image view is per default configured to center the bitmap within its own area. For your application case you will thus need to align the bitmap at the left edge of the Image view. This is configured by Image view's property Alignment.
Does it help you further?
Thank you very much, it works.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!