MicrosoftGraphWorkbookChart Class

public final class MicrosoftGraphWorkbookChart
extends MicrosoftGraphEntity

workbookChart.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookChart()

Creates an instance of MicrosoftGraphWorkbookChart class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: workbookChart.

MicrosoftGraphWorkbookChartAxes axes()

Get the axes property: workbookChartAxes.

MicrosoftGraphWorkbookChartDataLabels dataLabels()

Get the dataLabels property: workbookChartDataLabels.

MicrosoftGraphWorkbookChartAreaFormat format()

Get the format property: workbookChartAreaFormat.

static MicrosoftGraphWorkbookChart fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChart from the JsonReader.

Double height()

Get the height property: Represents the height, in points, of the chart object.

Double left()

Get the left property: The distance, in points, from the left side of the chart to the worksheet origin.

MicrosoftGraphWorkbookChartLegend legend()

Get the legend property: workbookChartLegend.

String name()

Get the name property: Represents the name of a chart object.

List<MicrosoftGraphWorkbookChartSeries> series()

Get the series property: Represents either a single series or collection of series in the chart.

MicrosoftGraphWorkbookChartTitle title()

Get the title property: workbookChartTitle.

JsonWriter toJson(JsonWriter jsonWriter)
Double top()

Get the top property: Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

void validate()

Validates the instance.

Double width()

Get the width property: Represents the width, in points, of the chart object.

MicrosoftGraphWorkbookChart withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookChart.

MicrosoftGraphWorkbookChart withAxes(MicrosoftGraphWorkbookChartAxes axes)

Set the axes property: workbookChartAxes.

MicrosoftGraphWorkbookChart withDataLabels(MicrosoftGraphWorkbookChartDataLabels dataLabels)

Set the dataLabels property: workbookChartDataLabels.

MicrosoftGraphWorkbookChart withFormat(MicrosoftGraphWorkbookChartAreaFormat format)

Set the format property: workbookChartAreaFormat.

MicrosoftGraphWorkbookChart withHeight(Double height)

Set the height property: Represents the height, in points, of the chart object.

MicrosoftGraphWorkbookChart withId(String id)

Set the id property: Read-only.

MicrosoftGraphWorkbookChart withLeft(Double left)

Set the left property: The distance, in points, from the left side of the chart to the worksheet origin.

MicrosoftGraphWorkbookChart withLegend(MicrosoftGraphWorkbookChartLegend legend)

Set the legend property: workbookChartLegend.

MicrosoftGraphWorkbookChart withName(String name)

Set the name property: Represents the name of a chart object.

MicrosoftGraphWorkbookChart withSeries(List<MicrosoftGraphWorkbookChartSeries> series)

Set the series property: Represents either a single series or collection of series in the chart.

MicrosoftGraphWorkbookChart withTitle(MicrosoftGraphWorkbookChartTitle title)

Set the title property: workbookChartTitle.

MicrosoftGraphWorkbookChart withTop(Double top)

Set the top property: Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

MicrosoftGraphWorkbookChart withWidth(Double width)

Set the width property: Represents the width, in points, of the chart object.

MicrosoftGraphWorkbookChart withWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)

Set the worksheet property: workbookWorksheet.

MicrosoftGraphWorkbookWorksheet worksheet()

Get the worksheet property: workbookWorksheet.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookChart

public MicrosoftGraphWorkbookChart()

Creates an instance of MicrosoftGraphWorkbookChart class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookChart.

Overrides:

MicrosoftGraphWorkbookChart.additionalProperties()

Returns:

the additionalProperties value.

axes

public MicrosoftGraphWorkbookChartAxes axes()

Get the axes property: workbookChartAxes.

Returns:

the axes value.

dataLabels

public MicrosoftGraphWorkbookChartDataLabels dataLabels()

Get the dataLabels property: workbookChartDataLabels.

Returns:

the dataLabels value.

format

public MicrosoftGraphWorkbookChartAreaFormat format()

Get the format property: workbookChartAreaFormat.

Returns:

the format value.

fromJson

public static MicrosoftGraphWorkbookChart fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChart from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookChart if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphWorkbookChart.

height

public Double height()

Get the height property: Represents the height, in points, of the chart object.

Returns:

the height value.

left

public Double left()

Get the left property: The distance, in points, from the left side of the chart to the worksheet origin.

Returns:

the left value.

legend

public MicrosoftGraphWorkbookChartLegend legend()

Get the legend property: workbookChartLegend.

Returns:

the legend value.

name

public String name()

Get the name property: Represents the name of a chart object.

Returns:

the name value.

series

public List series()

Get the series property: Represents either a single series or collection of series in the chart. Read-only.

Returns:

the series value.

title

public MicrosoftGraphWorkbookChartTitle title()

Get the title property: workbookChartTitle.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookChart.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

top

public Double top()

Get the top property: Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

Returns:

the top value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookChart.validate()

width

public Double width()

Get the width property: Represents the width, in points, of the chart object.

Returns:

the width value.

withAdditionalProperties

public MicrosoftGraphWorkbookChart withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookChart.

Overrides:

MicrosoftGraphWorkbookChart.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withAxes

public MicrosoftGraphWorkbookChart withAxes(MicrosoftGraphWorkbookChartAxes axes)

Set the axes property: workbookChartAxes.

Parameters:

axes - the axes value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withDataLabels

public MicrosoftGraphWorkbookChart withDataLabels(MicrosoftGraphWorkbookChartDataLabels dataLabels)

Set the dataLabels property: workbookChartDataLabels.

Parameters:

dataLabels - the dataLabels value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withFormat

public MicrosoftGraphWorkbookChart withFormat(MicrosoftGraphWorkbookChartAreaFormat format)

Set the format property: workbookChartAreaFormat.

Parameters:

format - the format value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withHeight

public MicrosoftGraphWorkbookChart withHeight(Double height)

Set the height property: Represents the height, in points, of the chart object.

Parameters:

height - the height value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withId

public MicrosoftGraphWorkbookChart withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookChart.withId(String id)

Parameters:

id

withLeft

public MicrosoftGraphWorkbookChart withLeft(Double left)

Set the left property: The distance, in points, from the left side of the chart to the worksheet origin.

Parameters:

left - the left value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withLegend

public MicrosoftGraphWorkbookChart withLegend(MicrosoftGraphWorkbookChartLegend legend)

Set the legend property: workbookChartLegend.

Parameters:

legend - the legend value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withName

public MicrosoftGraphWorkbookChart withName(String name)

Set the name property: Represents the name of a chart object.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withSeries

public MicrosoftGraphWorkbookChart withSeries(List series)

Set the series property: Represents either a single series or collection of series in the chart. Read-only.

Parameters:

series - the series value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withTitle

public MicrosoftGraphWorkbookChart withTitle(MicrosoftGraphWorkbookChartTitle title)

Set the title property: workbookChartTitle.

Parameters:

title - the title value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withTop

public MicrosoftGraphWorkbookChart withTop(Double top)

Set the top property: Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

Parameters:

top - the top value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withWidth

public MicrosoftGraphWorkbookChart withWidth(Double width)

Set the width property: Represents the width, in points, of the chart object.

Parameters:

width - the width value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

withWorksheet

public MicrosoftGraphWorkbookChart withWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)

Set the worksheet property: workbookWorksheet.

Parameters:

worksheet - the worksheet value to set.

Returns:

the MicrosoftGraphWorkbookChart object itself.

worksheet

public MicrosoftGraphWorkbookWorksheet worksheet()

Get the worksheet property: workbookWorksheet.

Returns:

the worksheet value.

Applies to