/** * Create a new SpreadsheetML manual layout for chart. * @param chart a chart to create layout for. */ public XSSFManualLayout(XSSFChart chart) { CT_PlotArea ctPlotArea = chart.GetCTChart().plotArea; CT_Layout ctLayout = ctPlotArea.IsSetLayout() ? ctPlotArea.layout : ctPlotArea.AddNewLayout(); InitLayout(ctLayout); }
public XSSFManualLayout(XSSFChart chart) { CT_PlotArea plotArea = chart.GetCTChart().plotArea; this.InitLayout(plotArea.IsSetLayout() ? plotArea.layout : plotArea.AddNewLayout()); }