GChartWrapper/GChart.py
def fill(self, *args):
        """
        Apply a solid fill to your chart
        args are of the form <fill type>,<fill style>,...
        fill type must be one of c,bg,a
        fill style must be one of s,lg,ls
        the rest of the args refer to the particular style
        APIPARAM: chf
        """
        a,b = args[:2]
        assert a in ('c','bg','a'), 'Fill type must be bg/c/a not %s'%a
        assert b in ('s','lg','ls'), 'Fill style must be s/lg/ls not %s'%b
        if len(args) == 3:
            args = color_args(args, 2)
        else:
            args = color_args(args, 3,5)
        self.fills.append(','.join(map(str,args)))
        return self
def fill(self, *args):
        """
        Apply a solid fill to your chart
        args are of the form <fill type>,<fill style>,...
        fill type must be one of c,bg,a
        fill style must be one of s,lg,ls
        the rest of the args refer to the particular style
        APIPARAM: chf
        """
        a,b = args[:2]
        assert a in ('c','bg','a'), 'Fill type must be bg/c/a not %s'%a
        assert b in ('s','lg','ls'), 'Fill style must be s/lg/ls not %s'%b
        if len(args) == 3:
            args = color_args(args, 2)
        else:
            args = color_args(args, 3,5)
        self.fills.append(','.join(map(str,args)))
        return self
def fill ( self , * args ) : a , b = args [ : 2 ] assert a in ( 'c' , 'bg' , 'a' ) , 'Fill type must be bg/c/a not %s' % a assert b in ( 's' , 'lg' , 'ls' ) , 'Fill style must be s/lg/ls not %s' % b if len ( args ) == 3 : args = color_args ( args , 2 ) else : args = color_args ( args , 3 , 5 ) self . fills . append ( ',' . join ( map ( str , args ) ) ) return self
Apply a solid fill to your chart
        args are of the form <fill type>,<fill style>,...
        fill type must be one of c,bg,a
        fill style must be one of s,lg,ls
        the rest of the args refer to the particular style
        APIPARAM: chf
Apply a solid fill to your chart args are of the form <fill type > <fill style > ... fill type must be one of c bg a fill style must be one of s lg ls the rest of the args refer to the particular style APIPARAM : chf