"A Filled Radar Chart" #Autogenerated by ReportLab guiedit do not edit from rlextra.graphics.quickchart import QuickChartDrawing from reportlab.lib.corp import black from reportlab.graphics.shapes import _DrawingEditorMixin class QuickPieChart01(_DrawingEditorMixin,QuickChartDrawing): """ Filled radar chart - with 2 series """ def __init__(self,width=400,height=200,*args,**kw): QuickChartDrawing.__init__(self,width,height,*args,**kw) self.qc.data = [[100, 120, 240, 360], [410, 130, 150, 180]] self.qc.categoryNames = ('2002', '2003', '2004', '2005') self.qc.legendText = 'A','B' self.qc.legendFontColor = black self.qc.legendFontSize = 10 self.qc.legendPos = 'left' self.qc.seriesNames = ('A','B') self.qc.chartType='filled_radar' self.qc.titleText = 'Filled Radar Chart' self.width = 400 self.qc.xAxisGridLines = 0 if __name__=="__main__": #NORUNTESTS QuickPieChart01().save(formats=['pdf'],outDir='.',fnRoot=None)