GChartWrapper/GChart.py
def margin(self, left, right, top, bottom, lwidth=0, lheight=0):
        """
        Set margins for chart area
        args are of the form::
            <left margin>,
            <right margin>,
            <top margin>,
            <bottom margin>|
            <legend width>,
            <legend height>
        
        APIPARAM: chma
        """
        self['chma'] = '%d,%d,%d,%d'  % (left, right, top, bottom)
        if lwidth or lheight:
            self['chma'] += '|%d,%d' % (lwidth, lheight)
        return self
def margin(self, left, right, top, bottom, lwidth=0, lheight=0):
        """
        Set margins for chart area
        args are of the form::
            <left margin>,
            <right margin>,
            <top margin>,
            <bottom margin>|
            <legend width>,
            <legend height>
        
        APIPARAM: chma
        """
        self['chma'] = '%d,%d,%d,%d'  % (left, right, top, bottom)
        if lwidth or lheight:
            self['chma'] += '|%d,%d' % (lwidth, lheight)
        return self
Set margins for chart area
        args are of the form::
            <left margin>,
            <right margin>,
            <top margin>,
            <bottom margin>|
            <legend width>,
            <legend height>
        
        APIPARAM: chma