_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * Represents the name of a series in a chart. * * @param string $val The name * * @return WorkbookChartSeries */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the format * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. * * @return WorkbookChartSeriesFormat|null The format */ public function getFormat() { if (array_key_exists("format", $this->_propDict)) { if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartSeriesFormat") || is_null($this->_propDict["format"])) { return $this->_propDict["format"]; } else { $this->_propDict["format"] = new WorkbookChartSeriesFormat($this->_propDict["format"]); return $this->_propDict["format"]; } } return null; } /** * Sets the format * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. * * @param WorkbookChartSeriesFormat $val The format * * @return WorkbookChartSeries */ public function setFormat($val) { $this->_propDict["format"] = $val; return $this; } /** * Gets the points * Represents a collection of all points in the series. Read-only. * * @return array|null The points */ public function getPoints() { if (array_key_exists("points", $this->_propDict)) { return $this->_propDict["points"]; } else { return null; } } /** * Sets the points * Represents a collection of all points in the series. Read-only. * * @param WorkbookChartPoint[] $val The points * * @return WorkbookChartSeries */ public function setPoints($val) { $this->_propDict["points"] = $val; return $this; } }