svg/charts/graph.py
def draw_y_guidelines(self, label_height, count):
		"Draw the Y-axis guidelines"
		if not self.show_y_guidelines:
			return
		for count in range(1, count):
			move = 'M 0 {start} h{stop}'.format(
				start=self.graph_height - label_height * count,
				stop=self.graph_width,
			)
			path = {'d': move, 'class': 'guideLines'}
			etree.SubElement(self.graph, 'path', path)
def draw_y_guidelines(self, label_height, count):
		"Draw the Y-axis guidelines"
		if not self.show_y_guidelines:
			return
		for count in range(1, count):
			move = 'M 0 {start} h{stop}'.format(
				start=self.graph_height - label_height * count,
				stop=self.graph_width,
			)
			path = {'d': move, 'class': 'guideLines'}
			etree.SubElement(self.graph, 'path', path)
def draw_y_guidelines ( self , label_height , count ) : if not self . show_y_guidelines : return for count in range ( 1 , count ) : move = 'M 0 {start} h{stop}' . format ( start = self . graph_height - label_height * count , stop = self . graph_width , ) path = { 'd' : move , 'class' : 'guideLines' } etree . SubElement ( self . graph , 'path' , path )
Draw the Y-axis guidelines
Draw the Y - axis guidelines