Line

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

Basic Code Sample

// Bare minimum
owerPoint.AddSlide(PresentationConstants.SlideLayoutType.BLANK)
	.AddChart(CreateDataCellPayload(), new G.LineChartSetting());
// Some additional samples
powerPoint.AddSlide(PresentationConstants.SlideLayoutType.BLANK)
	.AddChart(CreateDataCellPayload(), new G.LineChartSetting()
	{
		lineChartSeriesSettings = new(){
			new(){
				lineChartLineFormat = new(){
					dashType = G.DrawingPresetLineDashValues.DASH_DOT,
					lineColor = "FF0000",
					beginArrowValues= G.DrawingBeginArrowValues.ARROW,
					endArrowValues= G.DrawingEndArrowValues.TRIANGLE,
					lineStartWidth = G.LineWidthValues.MEDIUM,
					lineEndWidth = G.LineWidthValues.LARGE,
					outlineCapTypeValues = G.OutlineCapTypeValues.ROUND,
					outlineLineTypeValues = G.OutlineLineTypeValues.DOUBLE,
					width = 5
				}
			}
		}
	});

LineChartSetting Options

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

LineChartDataLabel Options

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

LineChartSeriesSetting Options

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

LineChartLineFormat Options

Last updated