I have added a real time value legend to my chart. This is working well, based upon examples I have found here at the forum and in the SciChart documentation.
My question is this:
How can I position this new legend (includes series color, series name and series YValue ) so that it is in relation to a single or multiple Y axis’s displayed. In other words I like it to positions itself in relation to the YAxis so it does not overwrite it, and stays on the plotting area.
Appreciate the help
Thank you
Anders
- John-Anders Persson asked 3 years ago
- last edited 3 years ago
- You must login to post comments
Hi John-Anders,
Thanks for your inquiry.
Unfortunately, it’s not clear enough what are you trying to achieve.
Could you please provide us with more details? An image or mockup of the desired state can be helpful.
Thanks in advance.
With best regards,
Oleksandr
- Oleksandr Shvets answered 3 years ago
- You must login to post comments
Thank you Oleksandr, I should have been more specific. I have attached a screen shot showing the legends position with 3 Y axis. I’d like the legend to adjust to the chart area and not stay static. So when I have one or two Y axis it is OK, three Y axises it looks like the attached picture of the legend I have created.
The second attachment show the SciChartOverview that I added. I can turn on and off plots as I chose. My second question to you is this.
As I turn plots on off using the mouse event that ties into the SciChartOverview you see in the attachment, how can I also remove the plot that’s showing in the legend as well ? Now I can still see the plot name and the values being displayed in real time in the legend (attachment 1) although the plot no longer shows.
Hope that makes sense.
Appreciate your help
Thank you
Anders
- John-Anders Persson answered 3 years ago
- last edited 3 years ago
- You must login to post comments
Please login first to submit.