예제 #1
0
        /**
         * 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);
        }
예제 #2
0
        public XSSFManualLayout(XSSFChart chart)
        {
            CT_PlotArea plotArea = chart.GetCTChart().plotArea;

            this.InitLayout(plotArea.IsSetLayout() ? plotArea.layout : plotArea.AddNewLayout());
        }