Labels inside ScrollView

Jun 27, 2012 at 10:57 AM

First of all, thank you for a great job.

My question is: is there a way to put labels inside ScrollView ?

Thank you in advance

Coordinator
Jun 27, 2012 at 1:41 PM

Which labels do you want inside scroll viewers? Currently there are no ScrollViewer used in this solution.

I try to keep the graphical output identical on all platforms, and what you see on the screen should be exactly the same as exported (pdf/png) or printed.

Jun 27, 2012 at 3:03 PM
Edited Jun 27, 2012 at 3:08 PM

Thank you for the fast response!

I am using LineSeries, and up to 10 lines is everithing OK. With more than 10 lines the labels are taking whole plot area, and no lines are visible. I just wan to group the labels on the right side. Labels are not generated, I am using custom template, so the label can have up to 3 lines of text.

Thanks

Coordinator
Jun 28, 2012 at 4:18 AM

You can move the "legends" outside the plot area - see the "LegendsDemo" in the "WpfExamples" example application.

If your legends are still too long, I suggest to create a separate ItemsControl (outside the OxyPlot.Plot control) where you render the legends. And this control could be contained in a ScrollViewer!

Jun 28, 2012 at 8:49 AM

I am sorry, yes, "legends", thats what I actually thought... it was a stressfull day :) Thank you very much!