I'm working on my own plotting library, but i've run into a problem. I have the following code to put my polyline on the windowsphone page:
System.Windows.Deployment.Current.Dispatcher.BeginInvoke(() =>
{
graph.AddSinglePoint(x);
graph.Update();
LayoutRoot.UpdateLayout();
});
LayoutRoot.Children.Add(graph.line);
(its in a begin invoke, because i do this inside a timer_tick void which is called by a timer timeout(ms)
Only problem with this is, when i want to have my graph postioned lower on the form (in example y= 300 + the actual Y value). It pushes everything on my form down by 300. What I had in mind was the following:
Layout: Page Title
Some filling (listboxes, checkboxes, etc)
At the bottom: My graph (polyline)
How do I acomplish something like that?