basic line graph to fill to the edges

Jan 10, 2017 at 3:09 AM
Edited Jan 10, 2017 at 3:11 AM
Hi, I'm trying to show only the graph, no axis, no headers etc. So far I have:
<d3:ChartPlotter x:Name="plotter" Grid.Row="1" Grid.ColumnSpan="2" BorderBrush="#FFABADB3" Background="#FFF7F7F7" MainHorizontalAxisVisibility="Collapsed" MainVerticalAxisVisibility="Collapsed" LegendVisibility="Collapsed" LegendVisible="False" />
LineGraph line = new LineGraph(ds);
line.LinePen = new System.Windows.Media.Pen(new SolidColorBrush(Color.FromRgb(255, 147, 2)), 1);
plotter.AxisGrid.Visibility = Visibility.Hidden;
This seems to work but the graph doesnt draw from the left edge or the right edge, there seems to be a gap.

What do i need to do to make it graph from edge to edge?

Also is there a way to disable interaction? I dont want the user to pan/zoom. (right now i have a textblock on top of it stopping the mouse from clicking it.