_propDict)) { if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { return $this->_propDict["font"]; } else { $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); return $this->_propDict["font"]; } } return null; } /** * Sets the font * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. * * @param WorkbookChartFont $val The font * * @return WorkbookChartAxisFormat */ public function setFont($val) { $this->_propDict["font"] = $val; return $this; } /** * Gets the line * Represents chart line formatting. Read-only. * * @return WorkbookChartLineFormat|null The line */ public function getLine() { if (array_key_exists("line", $this->_propDict)) { if (is_a($this->_propDict["line"], "\Microsoft\Graph\Model\WorkbookChartLineFormat") || is_null($this->_propDict["line"])) { return $this->_propDict["line"]; } else { $this->_propDict["line"] = new WorkbookChartLineFormat($this->_propDict["line"]); return $this->_propDict["line"]; } } return null; } /** * Sets the line * Represents chart line formatting. Read-only. * * @param WorkbookChartLineFormat $val The line * * @return WorkbookChartAxisFormat */ public function setLine($val) { $this->_propDict["line"] = $val; return $this; } }