Changed OxyPlot to draw a line between the different subplots.
1.1 Binary file External/OxyPlot.dll has changed
2.1 --- a/External/OxyPlot/OxyPlot/PlotModel/PlotModel.Rendering.cs Sun Jun 09 16:53:16 2013 +0000
2.2 +++ b/External/OxyPlot/OxyPlot/PlotModel/PlotModel.Rendering.cs Sun Jun 09 17:17:32 2013 +0000
2.3 @@ -301,6 +301,38 @@
2.4 if (this.Axes.Count > 0)
2.5 {
2.6 rc.DrawRectangleAsPolygon(this.PlotArea, null, this.PlotAreaBorderColor, this.PlotAreaBorderThickness);
2.7 +
2.8 + foreach (var axis in this.Axes) {
2.9 + var actualMinimum = axis.Transform(axis.ActualMinimum);
2.10 + var actualMaximum = axis.Transform(axis.ActualMaximum);
2.11 +
2.12 + if (!axis.IsAxisVisible)
2.13 + continue;
2.14 +
2.15 + if (axis.IsHorizontal()) {
2.16 + rc.DrawLine(new[] {
2.17 + new ScreenPoint(actualMinimum, this.PlotArea.Top),
2.18 + new ScreenPoint(actualMinimum, this.PlotArea.Bottom) },
2.19 + this.PlotAreaBorderColor, this.PlotAreaBorderThickness,
2.20 + null, OxyPenLineJoin.Miter, true);
2.21 + rc.DrawLine(new[] {
2.22 + new ScreenPoint(actualMaximum, this.PlotArea.Top),
2.23 + new ScreenPoint(actualMaximum, this.PlotArea.Bottom) },
2.24 + this.PlotAreaBorderColor, this.PlotAreaBorderThickness,
2.25 + null, OxyPenLineJoin.Miter, true);
2.26 + } else {
2.27 + rc.DrawLine(new[] {
2.28 + new ScreenPoint(this.PlotArea.Left, actualMinimum),
2.29 + new ScreenPoint(this.PlotArea.Right, actualMinimum) },
2.30 + this.PlotAreaBorderColor, this.PlotAreaBorderThickness,
2.31 + null, OxyPenLineJoin.Miter, true);
2.32 + rc.DrawLine(new[] {
2.33 + new ScreenPoint(this.PlotArea.Left, actualMinimum),
2.34 + new ScreenPoint(this.PlotArea.Right, actualMinimum) },
2.35 + this.PlotAreaBorderColor, this.PlotAreaBorderThickness,
2.36 + null, OxyPenLineJoin.Miter, true);
2.37 + }
2.38 + }
2.39 }
2.40 }
2.41