745 views
in GUI Development by
I want to display a graph view using line chart. The following features need to be adapted within the graph view.

- both vertical and horizontal grid lines

- auto scaling according to measurements

- scroll left to right to see the previous/or current plotted values as needed

-dynamic measurement range

- display of live reading values

-dots to indicate when the reading was taken

- showing to different measurement graphs in one graph with 2 vertical axis

-when tapping a point on the graph it should appears with a halo as a visual indication that it was selected

-tool tip to highlight the selected reading

-x axis is for time display and some measured values won't come with time and that time x axis is left empty.

Is it possible to adapt all those above features in graph view? If yes, provide some guidelines or examples.

Regards,

Sazna.

-

-

-

1 Answer

0 votes
by

Hi Sazna,

of course, you can implement your own graph class that fulfills all of the mentioned requirements. According to the feature set that you mentioned, it might be better to use a Graph template or to create your own graph component based on vector graphics.

You will find several different examples (Climate Cabinet, Waveform Generator, Pulse Oximeter, Oscilloscope, ...) delivered with Embedded Wizard Studio - each with different types of graphs. Let me recommend to have a look on these examples and then create your own implementation according to your needs.

We cannot provide an implementation that already matches all your application use-case - if you have a dedicated question, please let us know.

Best regards,

Manfred.

by

Hi Manfred,

I tried the graph view using vector graphics which is used in the example Pulse Oximeter. When I run the project, it runs for a long. unable to find the root cause. Please assist me. And if I want dynamic grid change and dot bitmaps to display graph values (similar to climate cabinet) then how those features can be adapted to vector graphics?

Regards,

Sazna.

by

Hi Sazna,

in your example you have implemented a while loop that will loop for ever:

Since x and inx will not change within the while loop, the loop can never exit....

Best regards,
Manfred.

 

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

...