Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlotView in ElementHost does not work. #1800

Closed
AELIENUS opened this issue Oct 11, 2021 · 1 comment · Fixed by #1820
Closed

PlotView in ElementHost does not work. #1800

AELIENUS opened this issue Oct 11, 2021 · 1 comment · Fixed by #1820

Comments

@AELIENUS
Copy link
Contributor

Steps to reproduce

I included a repo as a Zip with this issue, to make it easier to reproduce the issue. Just hit start and you should be able to see that the PlotView is not rendered inside a UserControl, which is contained in a ElementHost-Control. If i execute the same code without the ElementHost inside a WPF-Window-Control, the Plot is appearing just fine.

OxyPlot version: 2.1.0
Platform: WPF
.NET version: .NET Framework 4.7.2

Expected behaviour

I am expecting, that the PlotView is rendered and my plot is shown.

Actual behaviour

The PlotView stays blank.

OxyPlotElementHostTest.zip

@VisualMelon
Copy link
Contributor

May be related to #1796 ; also see question here concerning where else this may be an issue #1797 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants