# HG changeset patch # User moel.mich # Date 1370798252 0 # Node ID 54048d90a6783ab8e8b71885659d016938b1f34c # Parent ac9b3b647906008a2760722bd0f4b9a7fe8a3d3b Changed OxyPlot to draw a line between the different subplots. diff -r ac9b3b647906 -r 54048d90a678 External/OxyPlot.dll Binary file External/OxyPlot.dll has changed diff -r ac9b3b647906 -r 54048d90a678 External/OxyPlot/OxyPlot/PlotModel/PlotModel.Rendering.cs --- a/External/OxyPlot/OxyPlot/PlotModel/PlotModel.Rendering.cs Sun Jun 09 16:53:16 2013 +0000 +++ b/External/OxyPlot/OxyPlot/PlotModel/PlotModel.Rendering.cs Sun Jun 09 17:17:32 2013 +0000 @@ -301,6 +301,38 @@ if (this.Axes.Count > 0) { rc.DrawRectangleAsPolygon(this.PlotArea, null, this.PlotAreaBorderColor, this.PlotAreaBorderThickness); + + foreach (var axis in this.Axes) { + var actualMinimum = axis.Transform(axis.ActualMinimum); + var actualMaximum = axis.Transform(axis.ActualMaximum); + + if (!axis.IsAxisVisible) + continue; + + if (axis.IsHorizontal()) { + rc.DrawLine(new[] { + new ScreenPoint(actualMinimum, this.PlotArea.Top), + new ScreenPoint(actualMinimum, this.PlotArea.Bottom) }, + this.PlotAreaBorderColor, this.PlotAreaBorderThickness, + null, OxyPenLineJoin.Miter, true); + rc.DrawLine(new[] { + new ScreenPoint(actualMaximum, this.PlotArea.Top), + new ScreenPoint(actualMaximum, this.PlotArea.Bottom) }, + this.PlotAreaBorderColor, this.PlotAreaBorderThickness, + null, OxyPenLineJoin.Miter, true); + } else { + rc.DrawLine(new[] { + new ScreenPoint(this.PlotArea.Left, actualMinimum), + new ScreenPoint(this.PlotArea.Right, actualMinimum) }, + this.PlotAreaBorderColor, this.PlotAreaBorderThickness, + null, OxyPenLineJoin.Miter, true); + rc.DrawLine(new[] { + new ScreenPoint(this.PlotArea.Left, actualMinimum), + new ScreenPoint(this.PlotArea.Right, actualMinimum) }, + this.PlotAreaBorderColor, this.PlotAreaBorderThickness, + null, OxyPenLineJoin.Miter, true); + } + } } }