Still can't seem to dislay anything in Metro , does anyone have it working in Metro

Sep 18, 2012 at 10:58 PM

Thank you for your response. That helped , I had to download the metro stuff again and I from the xaml file. I took the commands from it for oxy and inserted in my xaml file and these commands were recognized ok. However when I executed the code with my vb code , no graph came up. I was expecting to see at the axes of the graph. Do I need the other xaml files you have in the BasicSample directory also? I also noticed that the BasicSample directory did not have a Project file so I could execute the project - is it supposed to be like that? in my VB project I have a Visual Basic Project File that I click on to start the project. Is it possible that I am not executing the right oxy commands in my vb code. I am posting the code here again.

 Dim plotControl As New OxyPlot.Metro.Plot
        Dim plotModel1 As New OxyPlot.PlotModel
        plotModel1.Title = "Outside"
        plotModel1.Axes.Add(New LinearAxis(AxisPosition.Bottom, -20, 80))
        plotModel1.Axes.Add(New LinearAxis(AxisPosition.Bottom, -10, 10))
        plotControl.Model = plotModel1
        plotModel1.RefreshPlot(True)

 

 

//xmlns:oxy="using:OxyPlot.Metro"

 

 

 

 

 

 

 

 

//<//oxy:Plot Model="{Binding PlotModel

 

 

 

 code I put in my xaml file 

 

 

 

 

 

 

//}"/>