Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.value = getValue(kwargs, 'value', [])
color = getColor(getValue(kwargs, 'color'))
if isinstance(color, list):
self.colors = color
else:
self.color = color
class CategoryBars(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryBars, self).__init__(**kwargs)
class CategoryStems(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryStems, self).__init__(**kwargs)
class CategoryPoints(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryPoints, self).__init__(**kwargs)
class CategoryLines(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryLines, self).__init__(**kwargs)
class CategoryArea(CategoryGraphics):
def __init__(self, **kwargs):
class CategoryStems(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryStems, self).__init__(**kwargs)
class CategoryPoints(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryPoints, self).__init__(**kwargs)
class CategoryLines(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryLines, self).__init__(**kwargs)
class CategoryArea(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryArea, self).__init__(**kwargs)
def __init__(self, **kwargs):
super(CategoryGraphics, self).__init__(**kwargs)
self.center_series = getValue(kwargs, 'centerSeries', False)
self.use_tool_tip = getValue(kwargs, 'useToolTip', True)
self.showItemLabel = getValue(kwargs, 'showItemLabel', False)
self.outline = getValue(kwargs, 'outline', False)
self.labelPosition = getValue(kwargs, 'labelPosition', "CENTER")
self.fills = getValue(kwargs, 'fill')
self.itemLabels = getValue(kwargs, 'itemLabel')
self.seriesNames = getValue(kwargs, 'seriesNames')
self.style = getValue(kwargs, 'style')
self.size = getValue(kwargs, 'size')
outline = getValue(kwargs, 'outlineColor')
if isinstance(outline, list):
self.outline_colors = outline
else:
self.outline_color = outline
self.colors = color
else:
self.color = color
class CategoryBars(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryBars, self).__init__(**kwargs)
class CategoryStems(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryStems, self).__init__(**kwargs)
class CategoryPoints(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryPoints, self).__init__(**kwargs)
class CategoryLines(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryLines, self).__init__(**kwargs)
class CategoryArea(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryArea, self).__init__(**kwargs)
class CategoryBars(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryBars, self).__init__(**kwargs)
class CategoryStems(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryStems, self).__init__(**kwargs)
class CategoryPoints(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryPoints, self).__init__(**kwargs)
class CategoryLines(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryLines, self).__init__(**kwargs)
class CategoryArea(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryArea, self).__init__(**kwargs)
style = getValue(kwargs, 'style')
if isinstance(style, list):
self.styles = style
else:
self.style = style
self.value = getValue(kwargs, 'value', [])
color = getColor(getValue(kwargs, 'color'))
if isinstance(color, list):
self.colors = color
else:
self.color = color
class CategoryBars(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryBars, self).__init__(**kwargs)
class CategoryStems(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryStems, self).__init__(**kwargs)
class CategoryPoints(CategoryGraphics):
def __init__(self, **kwargs):
super(CategoryPoints, self).__init__(**kwargs)
class CategoryLines(CategoryGraphics):
def __init__(self, **kwargs):