Skip to content

Commit

Permalink
add SaveCSV to all plottables
Browse files Browse the repository at this point in the history
  • Loading branch information
swharden committed Jul 30, 2019
1 parent fe3717f commit b73bb9d
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ScottPlot/plottables/Plottable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ public abstract class Plottable
public abstract void Render(Settings settings);
public abstract override string ToString();
public abstract double[] GetLimits();
public abstract void SaveCSV(string filePath);
}
}
5 changes: 5 additions & 0 deletions src/ScottPlot/plottables/PlottableAxLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,10 @@ public override void Render(Settings settings)

settings.gfxData.DrawLine(pen, pt1, pt2);
}

public override void SaveCSV(string filePath)
{
throw new NotImplementedException();
}
}
}
5 changes: 5 additions & 0 deletions src/ScottPlot/plottables/PlottableBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ public override void Render(Settings settings)
}
}

public override void SaveCSV(string filePath)
{
throw new NotImplementedException();
}

public override string ToString()
{
return $"PlottableBar with {pointCount} points";
Expand Down
5 changes: 5 additions & 0 deletions src/ScottPlot/plottables/PlottableOHLC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,10 @@ public void RenderOhlc(Settings settings)
settings.gfxData.DrawLine(pen, xPx + boxWidth, yPxClose, xPx, yPxClose);
}
}

public override void SaveCSV(string filePath)
{
throw new NotImplementedException();
}
}
}
5 changes: 5 additions & 0 deletions src/ScottPlot/plottables/PlottableScatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,10 @@ public override void Render(Settings settings)
MarkerTools.DrawMarker(settings.gfxData, points[i], markerShape, markerSize, color);

}

public override void SaveCSV(string filePath)
{
throw new NotImplementedException();
}
}
}
5 changes: 5 additions & 0 deletions src/ScottPlot/plottables/PlottableSignal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,10 @@ public override void Render(Settings settings)
else
RenderLowDensity(settings, visibleIndex1, visibleIndex2);
}

public override void SaveCSV(string filePath)
{
throw new NotImplementedException();
}
}
}
5 changes: 5 additions & 0 deletions src/ScottPlot/plottables/PlottableText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,10 @@ public override void Render(Settings settings)
{
settings.gfxData.DrawString(text, font, brush, settings.GetPixel(x, y));
}

public override void SaveCSV(string filePath)
{
throw new NotImplementedException();
}
}
}

0 comments on commit b73bb9d

Please sign in to comment.