573 views
in GUI Development by

Hi EW Team,

I have a question concerning a possibility of the curve data.
I plan to implement in my application a summary of the positions of 2 curves relatively to each others.

In picture, it could look like this :


The datas would not be real-time.

How could I make the bottom bar following the datas of the graph?

1 Answer

+1 vote
by
 
Best answer

Hello Velas,

the simplest (and economic concerning RAM and CPU usage) would be the Rectangle view. According to the above image, you would need 3 Rectangle views arranged side by side. All views would have the same height. In turn the width of each view is different similar to the colors. To arrange the views at the runtime you modify their Bounds property. If the number of views (the number of bars) changes, you can also create/add the views dynamically. See also the section Compose the component programmatically.

I hope it answers your question.

Best regards

Paul Banach

by
Thank you M. Banach, it answers my question!

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...