svg/charts/graph.py
def draw_x_guidelines(self, label_height, count):
		"Draw the X-axis guidelines"
		if not self.show_x_guidelines:
			return
		# skip the first one
		for count in range(1, count):
			move = 'M {start} 0 v{stop}'.format(
				start=label_height * count,
				stop=self.graph_height,
			)
			path = {'d': move, 'class': 'guideLines'}
			etree.SubElement(self.graph, 'path', path)
def draw_x_guidelines(self, label_height, count):
		"Draw the X-axis guidelines"
		if not self.show_x_guidelines:
			return
		# skip the first one
		for count in range(1, count):
			move = 'M {start} 0 v{stop}'.format(
				start=label_height * count,
				stop=self.graph_height,
			)
			path = {'d': move, 'class': 'guideLines'}
			etree.SubElement(self.graph, 'path', path)
def draw_x_guidelines ( self , label_height , count ) : if not self . show_x_guidelines : return # skip the first one for count in range ( 1 , count ) : move = 'M {start} 0 v{stop}' . format ( start = label_height * count , stop = self . graph_height , ) path = { 'd' : move , 'class' : 'guideLines' } etree . SubElement ( self . graph , 'path' , path )
Draw the X-axis guidelines
Draw the X - axis guidelines