// uses SGGeometry to set plot -> xpos, ypos, width and height private SGPlotArea GetJSONPlotArea(Dictionary <string, object> file) { // STUBBED - apparently dont need this? SGPlotArea plot_area = new SGPlotArea(); plot_area.Geometry = new SGGeometry(50, 50, 500.0, 500.0); return(plot_area); }
/*************************************************************************** * Plot area properties **************************************************************************/ private SGPlotArea GetXLPlotArea(Chart chart) { SGPlotArea pa = new SGPlotArea(); SGGeometry geom = new SGGeometry(chart.PlotArea.Left, chart.PlotArea.Top, chart.PlotArea.InsideHeight, chart.PlotArea.InsideWidth); pa.Geometry = geom; log.Debug("Plot area found, properties are " + geom.showAsString() + "."); return(pa); }