📚
OpenXML-Office
v3.x (Discontinued)
v3.x (Discontinued)
  • Welcome
    • Getting Started
    • Introduction
    • Privacy Policy
    • License
  • Presentation
    • PowerPoint
    • Slide
    • Shape
    • Picture
    • Textbox
    • Table
    • Chart
      • Area
      • Bar
      • Column
      • Line
      • Pie
      • Scatter
      • Combo
      • Waterfall
  • Spreadsheet
    • Excel
    • Worksheet
    • Shape
    • Picture
    • Table
    • Chart
      • Area
      • Bar
      • Column
      • Line
      • Pie
      • Scatter
      • Combo
    • Style
    • Shared
  • Document
    • Word
    • Pages
    • Shape
    • Picture
    • Table
    • Chart
Powered by GitBook
On this page
  • Basic Code Sample
  • ScatterChartSetting Options
  • ScatterChartDataLabel Options
  • ScatterChartSeriesSetting Options

Was this helpful?

  1. Spreadsheet
  2. Chart

Scatter

PreviousPieNextCombo

Was this helpful?

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.ScatterChartSetting());
// Some additional samples
powerPoint.AddSlide(PresentationConstants.SlideLayoutType.BLANK)
	.AddChart(CreateDataCellPayload(), new G.ScatterChartSetting()
	{
		scatterChartTypes = G.ScatterChartTypes.BUBBLE
	});

ScatterChartSetting Options

Contains options details extended from that are specific to scatter chart.

Property
Type
Details

scatterChartDataLabel

General Data label option applied for all series

scatterChartSeriesSettings

Data Series specific options are used from the list. The position on the list is matched with the data series position. you can use null to skip a series

scatterChartTypes

ScatterChartTypes

Type of chart

chartAxesOptions

Chart axes options

ScatterChartDataLabel Options

Property
Type
Details

dataLabelPosition

DataLabelPositionValues

Data Label placement options.

ScatterChartSeriesSetting Options

Property
Type
Details

ScatterChartDataLabel

Data Label Option specific to one series

List<?>

Contains options details extended from that are specific to scatter chart.

Contains options details extended from that are specific to scatter chart.

ScatterChartDataLabel
ScatterChartSeriesSetting
ScatterChartDataLabel
ChartSetting
ChartDataLabel
ChartSeriesSetting
ChartAxesOptions