Combo

Add chart method present in slide component or you can replace the chart using shape componenet. This type is bit different from previous core chart types. Combo setting act as organiser for adding other base type chart to single chart componenet along with additional options

Basic Code Sample

G.ComboChartSetting comboChartSetting = new()
{
	titleOptions = new()
	{
		title = "Combo Chart"
	},
};
comboChartSetting.AddComboChartsSetting(new G.AreaChartSetting());
comboChartSetting.AddComboChartsSetting(new G.BarChartSetting());
comboChartSetting.AddComboChartsSetting(new G.ColumnChartSetting());
comboChartSetting.AddComboChartsSetting(new G.LineChartSetting()
{
	isSecondaryAxis = true
});
comboChartSetting.AddComboChartsSetting(new G.PieChartSetting());

powerPoint.AddSlide(PresentationConstants.SlideLayoutType.BLANK)
	.AddChart(CreateDataCellPayload(10), comboChartSetting);

Above code is example to add each data series as different type of chart grapics combined as combo chart

ComboChartSetting Options

PropertyTypeDetails

secondaryAxisPosition

AxisPosition

chartAxesOptions

ChartAxesOptions

AddComboChartsSetting

function

Method accepts core chart type's setting as input. This provides fexlibilty to handle all options of each chart style. Supported List.

List of supported chart that can be inserted into combo chart

Last updated