12-22-2024 08:44 AM - edited 12-22-2024 09:41 AM
Hello
I have a problem with displaying the cursors values of multiple 2D charts in the legend of the CurveChart2D area.
I'd like to achieve a similar layout of cursors values as in these pictures.
As you can see, the cursor legend is the horizontal aligned table in comparison with Diadem vertical table as this picture below shows.
Diadem cursor legend is located at the bottom right and I have not been able to move it to the top. It's not very user friendly if you need to show more cursor values for many plots.
I tried alternative way by creating two more 2DCurve areas and hiding plot area of them, leaving only legend visible - see the picture above..
This solution has some other problems and some advantages, in my opinion .
Are there any other ways to resolve this?
Thank you
John Horak
Sorry for my English, I'm not native.
01-09-2025 03:05 AM
I think the best - but not the easiest - way to get what you want is build your own legend. You can add an area of Dialog box type to your view layout. There you can integrate a dialog box that shows current cursor values using the View.Sheets(x).Cursor object. The dialog box has to be built with the "Create user dialog box" function in module SCRIPT.
01-12-2025 04:00 AM
Hello
Thank you for your reply.
I've actually tried something like this before.
It works, but you lose the functionality that the default legend offers.
Eventually I reverted to the approach as in the picture, i.e. another auxiliary area with the same channels.
Of course there are other problems. For example, I would need more event categories for the View object, the CurveChart2D object does not contain an exhaustive set of properties, etc. But that's for another topic.
Take my previous question more as a suggestion for the future - the possibility to move the legend below or above the main chart.
John