Labels inside ScrollView

Oystein Bjorke 6 лет назад 0
This discussion was imported from CodePlex

brainsprinter wrote at 2012-06-27 12:57:

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

objo wrote at 2012-06-27 15:41:

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.

brainsprinter wrote at 2012-06-27 17:03:

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.


objo wrote at 2012-06-28 06:18:

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!

brainsprinter wrote at 2012-06-28 10:49:

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


Сервис поддержки клиентов работает на платформе UserEcho