Replies: 2 comments
-
Hi @gigfy2, that does sound weird! Can you paste the code for a minimal example (.xaml and .xaml.cs file) so we can take a closer look and help figure out what the issue is? Maybe it's a ScottPlot thing or maybe it's a WPF thing |
Beta Was this translation helpful? Give feedback.
-
I was pasting parts of my code here, and realized on my page, where I added a couple of the plot user controls I made, along with some labels, that I was putting everything in a grid, that I had not defined the rows and columns for. So, I fixed the grid and it works great now. Sorry, silly mistake, but everything is working so that's awesome. |
Beta Was this translation helpful? Give feedback.
-
I'm just starting to try out ScottPlot (in wpf). I created a user control and in xaml create the ScottPlot. Then in the code behind I add data to the plot.
I then add that User Control to the main page, in xaml. It all works fine.
But, if I try to add ANYTHING else, like a wpf button, a wpf label, or another ScottPlot, no graph shows up. I've tried adding to the user control where I added the ScottPlot and I've tried adding them to the main page. It's weird. I can't figure out what I need to do to get for example a button, a label and 2 ScottPlot graphs on one screen. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions