def __init__(self, legend_range=None, number_of_segments=<NUM_LIT:11>,<EOL>colors=None, chart_type=<NUM_LIT:0>):
legend_range = legend_range or ['<STR_LIT>', '<STR_LIT>']<EOL>self.number_of_segments = number_of_segments or <NUM_LIT:11><EOL>self.colorRange = ColorRange(colors=colors, domain=legend_range,<EOL>chart_type=chart_type)<EOL>
Init the class.