Пример #1
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.gcolor = "ff0000"
     self.bcolor = "00eeff"
     self.tcolor = "ffff00"
     self.has_bg = True
     self.has_text = True
     self.shadow_size = 2.0
Пример #2
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.single_color = False
     self.color = "ffa733"
     self.has_medals = True
     self.has_grid = True
     self.has_head = True
     self.has_boxes = True
Пример #3
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color = "ffff00"
     self.bgcolor = "ffffee"
     self.fc = "000000"
     self.has_titles = True
     self.has_grid = True
     self.grid_style = 1
Пример #4
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.random = Rnd()
     self.psize = 8.0
     self.ptype = 1
     self.color = "000000"
     self.has_meters = False
     self.has_titles = False
Пример #5
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.has_singlebg = False
     self.bgcolor = "cccccc"
     self.gsize = 33
     self.ysize = 33
     self.rsize = 33
     self.y0 = 20
Пример #6
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color1 = "800000"
     self.color2 = "ffff00"
     self.ld = 7
     self.rd = 12
     self.has_grid = True
     self.dash_grid = True
Пример #7
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.has_random = True
     self.fcolor = "cccccc"
     self.scolor = "0000ff"
     self.ncolor = "00ff00"
     self.lcolor = "ff0000"
     random.seed(20)
Пример #8
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.bg_style = 1
     self.pilar_style = 1
     self.text_color = "ffffff"
     self.border_color = "000000"
     self.grid_color = "000000"
     self.has_grid = False
     self.extra_border = False
Пример #9
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color = "000000"
     self.bgcolor = "ffffff"
     self.bgbars_onecolor = False
     self.bgbars_color = "d6ff8f"
     self.fgbars_onecolor = False
     self.fgbars_color = "faffd1"
     random.seed(300)
Пример #10
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color = "0000ff"
     self.border_width = 8
     self.space_between = 10
     self.has_frame = True
     self.has_grid = True
     self.bold_font = True
     self.bgcolor = "cccccc"
Пример #11
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color_set = 1
     self.rock_size = 12
     self.tcolor = "000000"
     self.has_ground = True
     self.gcolor = "008000"
     self.random = Rnd()
     self.random.seed(1000)
Пример #12
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.bar_color = "ff0000"
     self.text_color = "ff0000"
     self.darkest = 0.8
     self.bar_fill = 0.8
     self.has_splitter = True
     self.titles_clean = True
     self.background = 'rocks'
     self.bg_opacity = 1.0
Пример #13
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color_a = "60ffff"
     self.color_b = "ffa020"
     self.has_borders = False
     self.border_color = "000000"
     self.y0 = 0
     self.font_size = 20
     self.x0 = 1.0
     self.font_weight = 3
Пример #14
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     CommonAttributesBase.__init__(self)
     self.has_x = True
     self.dots_x = 30
     self.dots_y = 20
     self.big_dot = 4
     self.small_dot = 2
     self.style = 2
     self.dot_fill = True
Пример #15
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.cross_color = "000000"
     self.hollow_color = "ffffff"
     self.cross_style = 1
     self.has_plates = True
     self.text_italic = True
     # TODO: 
     self.sky_dark = ""
     self.sky_light = ""
     self.text_color = ""
Пример #16
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.font_size = 13
     self.border_color = "000000"
     self.bar_width = 80
     self.grid_count = 5
     self.top_line = 5
     self.bar_head = 1
     self.bar_shadow = 1
     self.bar_color = "800000"
     self.has_meter = True
     self.has_grid = False
Пример #17
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.barcolor = "ffff00"
     self.bgcolor = "2222ff"
     self.textcolor = "2222ff"
     self.suncolor = "cccc00"
     self.has_borders = True
     self.sun_x = 240
     self.sun_y = 10
     self.sun_r = 20
     self.sun_rot0 = 0
     self.sun_rots = 360
     self.sun_sl_a = 10
     self.sun_sl_l = 40
Пример #18
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     CommonAttributesBase.__init__(self)
     self.from_edge = False
Пример #19
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.has_borders = True
     self.has_space = False
     self.has_single_color = False
     self.color = "0000ff"
Пример #20
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color = "ffbbbb"
     self.has_text = False
Пример #21
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color = "800000"
     self.has_grid = True
     # self.has_bar_borders = True
     self.style = 3
Пример #22
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color = "0000ff"
     self.fill_last = False
Пример #23
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.bg_image = 1
Пример #24
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color = "808000"
     self.has_background = False
     self.how_sparse = 3
Пример #25
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.color = "008000"
     self.font_size = 12
Пример #26
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     self.gcolor = "cccccc"
     self.bcolor = "00ff00"
     self.r0 = 15
Пример #27
0
 def __init__(self):
     SvgFigGenerator.__init__(self)
     # TODO: set default values
     self.color = "ff0000"
     self.has_x = True