Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Multiple Graphs in one frame / dialog
Reply to topic
Author Message
Giannis76



Joined: Jan 11, 2023
Posts: 35

PostPosted: Jan 11, 2023 3:44 PM    Post subject: Multiple Graphs in one frame / dialog

Dear Jarek and community,

I enjoy programming with Bio Era ... thanks for that great product!

I have one question and hope somebody can answer me or give me some hint:

How can I put more then one graph in a frame or dialog?

Until now, I only can create one frames/dialogs for each graph separately. I do this in the chart option through selecting separate frame or dialog in the "Frame" options.


thanks for your response!
jarek



Joined: Oct 22, 2007
Posts: 1037

PostPosted: Jan 12, 2023 6:28 PM    Post subject:

Yes, you can put any number of graphs in a separate frame or dialog by using a NestedDesign.

1. Create a nested design and add NestedProperties element inside it.
2. Select option "Charts are nested into one chart". This will create one chart out of all charts you have added in that nested design.
3. Use this nested element like any other element with a single chart - including the option to put it's chart in a separate frame or dialog.
Giannis76



Joined: Jan 11, 2023
Posts: 35

PostPosted: Jan 13, 2023 8:45 AM    Post subject:

Hey Jarek,

thanks for your response. I checked your instruction and it seems to work.

I was not aware of the NestedProperties Element.

Thanks ... that give me more oppertunities in showing data!
Giannis76



Joined: Jan 11, 2023
Posts: 35

PostPosted: Apr 7, 2023 11:04 AM    Post subject:

Hey Jarek,

thanks for the answer. In January, somehow I got it work, but now I am struggling again. Maybe you can give me more advice on that.

So I followed the 1. and 2., but what to do in 3. - How do I connect the NestedProperties element with the charts/graphs?

I tried several options:
1) I connected the NestedProperties element (Event - Builder) with Chart1 (Event In) and Chart2 (Event In)
2) I connected the NestedProperties element (Event - Builder) to a PropertyBuilder Element and then connected with Chart1 (Event In) and Chart2 (Event In).
3) I connected the NestedProperties element (Event - Builder) to a PropertySetter Element and then connected with Chart1 (Event In) and Chart2 (Event In).

Unfortunatelly it did not work. When I put Graph1 and Graph2 in "Separate Frame"-Status I only get the graphs in two separated frames .

thanks for response!
jarek



Joined: Oct 22, 2007
Posts: 1037

PostPosted: Apr 8, 2023 1:15 AM    Post subject:

You don't have to connect NestedProperties for this particular case. It will act as global properties for this nested design.

See an example snippet (download both to the "design" folder):

http://proatech.com/design/multigraph_main.bpd
http://proatech.com/design/multigraph_nested.bpd
Giannis76



Joined: Jan 11, 2023
Posts: 35

PostPosted: Apr 25, 2023 2:50 PM    Post subject:

Thanks Jarek! Got it!
Reply to topic