Page 1 of 1
App Developer XY-Chart add few more series
Posted: Tue Mar 08, 2022 3:01 pm
by stefan.erni
Hi Ben
Would it be possible to have a few more series for the XY-Chart component? 10 instead of 8 would be good, 16 would be great. With 16 series, the chart fits to the DSP Multiplexer component.
regards
Stefan

- chart_2022-03-08_15-52-31.jpg (26.99 KiB) Viewed 7631 times
Re: App Developer XY-Chart add few more series
Posted: Tue Mar 08, 2022 3:36 pm
by Steve-Matrix
It could be done, but at the moment this would be quite difficult. I will have a look and see if there is any way to make this easier.
Re: App Developer XY-Chart add few more series
Posted: Thu May 30, 2024 11:30 am
by stefan.erni
Hi Steve
What about the extension from the chart Series to 10 or 16?
regards
Stefan
Re: App Developer XY-Chart add few more series
Posted: Thu May 30, 2024 12:00 pm
by Steve-Matrix
Hi Stefan,
If you need more traces on a chart, then you can use 2 charts as in the attached example.
The two charts are in the same location and one of them has a transparent background, so it will look like there is only one chart. You can use this trick to have as many traces on chart as you want.

- ten traces.png (352.08 KiB) Viewed 6329 times
Re: App Developer XY-Chart add few more series
Posted: Thu May 30, 2024 2:07 pm
by stefan.erni
Hi Steve
Yes thats working fine.
Just one small question.
can i set parameters with a build in function (command).
like this example :

- 2024-05-30_14-59-01.PNG (101.58 KiB) Viewed 6323 times
Re: App Developer XY-Chart add few more series
Posted: Thu May 30, 2024 4:48 pm
by Steve-Matrix
I'm not sure. There are dedicated functions to reposition components. What are you trying to achieve?
Re: App Developer XY-Chart add few more series
Posted: Thu May 30, 2024 4:59 pm
by stefan.erni
with a switch the user can choose whether he wants the chart overlapping or separate. to do this i have to change the y position of the chart.

- 2024-05-30_17-50-45.PNG (135.05 KiB) Viewed 6317 times
can still ask something unimportant.
Why can I only choose 5 series and not 8?

- 2024-05-30_17-55-36.PNG (25.48 KiB) Viewed 6317 times
Re: App Developer XY-Chart add few more series
Posted: Thu May 30, 2024 5:15 pm
by Steve-Matrix
stefan.erni wrote: ↑Thu May 30, 2024 4:59 pm
can still ask something unimportant.
Why can I only choose 5 series and not 8?
We use a 3rd-party graphing tool within Flowcode for this and that is limited to 5 different colours for the traces. So trace 5 must be the same colour as trace 1, etc.
This can be overcome using that overlapping chart trick. BTW, you could have more than 2 overlapping if you needed. But lots of traces on the same chart can be difficult to view for the user.
I will answer your other question shortly...
Re: App Developer XY-Chart add few more series
Posted: Thu May 30, 2024 5:38 pm
by Steve-Matrix
A lot of the old object move function calls are not yet implemented for the 2d panel, so I would suggest making objects visible or invisible instead of actually moving them on the panel programmatically. This allows you to be more precise with their positions too. See the attached for an example.