Pre loader

Legend Position on chart relative to Y axis

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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

Version
Latest
  • You must to post comments
0
0

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

  • You must to post comments
0
0

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

Images
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies