Area

Add chart method present in slide component or you can replace the chart using shape componenet.

Basic Code Sample

// Bare minimum
powerPoint.AddSlide(PresentationConstants.SlideLayoutType.BLANK)
	.AddChart(CreateDataCellPayload(), new G.AreaChartSetting());
// Some additional samples
powerPoint.AddSlide(PresentationConstants.SlideLayoutType.BLANK)
	.AddChart(CreateDataCellPayload(), new G.AreaChartSetting()
	{
		areaChartTypes = G.AreaChartTypes.STACKED,
		chartAxesOptions = new()
		{
			horizontalFontSize = 20,
			verticalFontSize = 25
		}
	});

AreaChartSetting Options

Contains options details extended from ChartSetting that are specific to area chart.

AreaChartDataLabel Options

Contains options details extended from ChartDataLabel that are specific to area chart.

AreaChartSeriesSetting Options

Contains options details extended from ChartSeriesSetting that are specific to area chart.

Last updated