def linestyle(self, linestyle=None):
if linestyle is None:<EOL><INDENT>return self._linestyle<EOL><DEDENT>else:<EOL><INDENT>if not isinstance(linestyle, str):<EOL><INDENT>raise TypeError(<EOL>"<STR_LIT>" % str(linestyle)<EOL>)<EOL><DEDENT>self._linestyle = linestyle<EOL><DEDENT>
Returns or sets (if a value is provided) the series' linestyle. See\
        `OmniCanvas docs <https://omnicanvas.readthedocs.io/en/latest/api/graph\
        ics.html#omnicanvas.graphics.ShapeGraphic.line_style>`_ for acceptable
        values.

        :param str linestyle: If given, the series' linestyle will be set to\
        this.
        :rtype: ``str``