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

Problem with WPF data templates/user controls/tab controls #175

Closed
objorke opened this Issue Sep 1, 2014 · 3 comments

Comments

Projects
None yet
4 participants
@objorke
Member

objorke commented Sep 1, 2014

The PlotView control does not behave correctly with data templates, user controls and tab controls.
See Source\Examples\WPF\WpfExamples\Examples\UserControlDemo

@objorke objorke added WPF labels Sep 1, 2014

@objorke objorke added the you-take-it label Nov 4, 2014

@cklepeis

This comment has been minimized.

cklepeis commented Jan 16, 2015

Just FYI for anyone viewing this issue. My workaround was to save the generated images with:

PngExporter.Export(PlotModel, path, 90, 30, OxyColors.Transparent);

Where path is a subdirectory in:

Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

Then I store the image path in my viewmodel and display it in a datagrid datatemplatecolumn with an Image as the datatemplate, and the path to the image as the source (with a string to bitmapimage converter)

@draagyn

This comment has been minimized.

Contributor

draagyn commented Apr 11, 2015

I believe this was fixed by #423

@tibel

This comment has been minimized.

Contributor

tibel commented Apr 25, 2015

@draagyn Yes this is fixed. Thanks.

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