Esempio n. 1
0
	def __prepareSVGConfigGeneric(colors):
		config = Config()
		config.show_legend = True
		config.human_readable = True
		config.fill = True
		config.order_min = 0
		config.x_label_rotation = 80
		config.margin = 80
		config.legend_font_size = 10
		config.tooltip_border_radius = 10
		config.legend_font_size = 10
		config.no_data_text = "No changes found"
		config.style = Style(background='transparent',
									plot_background='#f5f5f5',
									foreground='#428bca',
									foreground_light='#000000',
									foreground_dark='#428bca',
									opacity='.6',
									opacity_hover='.9',
									transition='400ms ease-in',
									colors=colors)
		return config