<s> try : <EOL> from collections import OrderedDict <EOL> except ImportError : <EOL> from ordereddict import OrderedDict <EOL> from muntjac . addon . invient . paint import IPaint <EOL> from muntjac . util import OrderedSet <EOL> class InvientChartsConfig ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _title = Title ( ) <EOL> self . _subtitle = SubTitle ( ) <EOL> self . _generalChartConfig = GeneralChartConfig ( ) <EOL> self . _credit = Credit ( ) <EOL> self . _legend = Legend ( ) <EOL> self . _tooltip = Tooltip ( ) <EOL> self . _chartLabel = ChartLabel ( ) <EOL> self . _seriesTypeConfig = OrderedDict ( ) <EOL> self . _xAxes = OrderedSet ( ) <EOL> self . _yAxes = OrderedSet ( ) <EOL> self . _invientCharts = None <EOL> def getInvientCharts ( self ) : <EOL> return self . _invientCharts <EOL> def setInvientCharts ( self , invientCharts ) : <EOL> self . _invientCharts = invientCharts <EOL> def getChartLabel ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _chartLabel <EOL> def setChartLabel ( self , chartLabel ) : <EOL> """<STR_LIT>""" <EOL> if chartLabel is not None : <EOL> self . _chartLabel = chartLabel <EOL> def getXAxes ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _xAxes <EOL> def setXAxes ( self , xAxes ) : <EOL> """<STR_LIT>""" <EOL> if xAxes is not None : <EOL> self . _xAxes = xAxes <EOL> def addXAxes ( self , xAxis ) : <EOL> """<STR_LIT>""" <EOL> return self . _xAxes . add ( xAxis ) <EOL> def getYAxes ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _yAxes <EOL> def setYAxes ( self , yAxes ) : <EOL> """<STR_LIT>""" <EOL> if yAxes is not None : <EOL> self . _yAxes = yAxes <EOL> def addYAxes ( self , yAxis ) : <EOL> """<STR_LIT>""" <EOL> return self . _yAxes . add ( yAxis ) <EOL> def getTitle ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _title <EOL> def setTitle ( self , title ) : <EOL> """<STR_LIT>""" <EOL> if title is not None : <EOL> self . _title = title <EOL> def getSubtitle ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _subtitle <EOL> def setSubtitle ( self , subtitle ) : <EOL> """<STR_LIT>""" <EOL> if subtitle is not None : <EOL> self . _subtitle = subtitle <EOL> def getTooltip ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _tooltip <EOL> def setTooltip ( self , tooltip ) : <EOL> """<STR_LIT>""" <EOL> if tooltip is not None : <EOL> self . _tooltip = tooltip <EOL> def getLegend ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _legend <EOL> def setLegend ( self , legend ) : <EOL> """<STR_LIT>""" <EOL> if legend is not None : <EOL> self . _legend = legend <EOL> def getCredit ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _credit <EOL> def setCredit ( self , credit ) : <EOL> """<STR_LIT>""" <EOL> if credit is not None : <EOL> self . _credit = credit <EOL> def getGeneralChartConfig ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _generalChartConfig <EOL> def setGeneralChartConfig ( self , generalChartConfig ) : <EOL> """<STR_LIT>""" <EOL> if generalChartConfig is not None : <EOL> self . _generalChartConfig = generalChartConfig <EOL> def getSeriesConfig ( self ) : <EOL> return self . _seriesTypeConfig <EOL> def setSeriesConfig ( self , seriesConfigs ) : <EOL> """<STR_LIT>""" <EOL> if self . _seriesTypeConfig is not None : <EOL> self . _seriesTypeConfig . clear ( ) <EOL> for config in seriesConfigs : <EOL> self . addSeriesConfig ( config ) <EOL> def addSeriesConfig ( self , seriesConfig ) : <EOL> """<STR_LIT>""" <EOL> if seriesConfig is None : <EOL> raise ValueError , '<STR_LIT>' <EOL> self . _seriesTypeConfig [ self . getSeriesType ( seriesConfig ) ] = seriesConfig <EOL> @ classmethod <EOL> def getSeriesType ( cls , seriesConfig ) : <EOL> """<STR_LIT>""" <EOL> from muntjac . addon . invient . invient_charts import SeriesType <EOL> seriesType = SeriesType . COMMONSERIES <EOL> if LineConfig == seriesConfig . __class__ : <EOL> seriesType = SeriesType . LINE <EOL> elif SplineConfig == seriesConfig . __class__ : <EOL> seriesType = SeriesType . SPLINE <EOL> elif ScatterConfig == seriesConfig . __class__ : <EOL> seriesType = SeriesType . SCATTER <EOL> elif AreaConfig == seriesConfig . __class__ : <EOL> seriesType = SeriesType . AREA <EOL> elif AreaSplineConfig == seriesConfig . __class__ : <EOL> seriesType = SeriesType . AREASPLINE <EOL> elif BarConfig == seriesConfig . __class__ : <EOL> seriesType = SeriesType . BAR <EOL> elif ColumnConfig == seriesConfig . __class__ : <EOL> seriesType = SeriesType . COLUMN <EOL> elif PieConfig == seriesConfig . __class__ : <EOL> seriesType = SeriesType . PIE <EOL> return seriesType <EOL> class ChartLabel ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _style = None <EOL> self . _labels = list ( ) <EOL> def getStyle ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> """<STR_LIT>""" <EOL> self . _style = style <EOL> def getLabels ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _labels <EOL> def setLabels ( self , labels ) : <EOL> """<STR_LIT>""" <EOL> if labels is not None : <EOL> self . _labels = labels <EOL> def addLabel ( self , label ) : <EOL> """<STR_LIT>""" <EOL> self . _labels . append ( label ) <EOL> def removeLabel ( self , label ) : <EOL> """<STR_LIT>""" <EOL> self . _labels . remove ( label ) <EOL> class ChartLabelItem ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , html , style ) : <EOL> """<STR_LIT>""" <EOL> super ( ChartLabelItem , self ) . __init__ ( ) <EOL> self . _html = html <EOL> self . _style = style <EOL> def getHtml ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _html <EOL> def setHtml ( self , html ) : <EOL> """<STR_LIT>""" <EOL> self . _html = html <EOL> def getStyle ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> """<STR_LIT>""" <EOL> self . _style = style <EOL> class GeneralChartConfig ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> from muntjac . addon . invient . invient_charts import SeriesType <EOL> self . _backgroundColor = None <EOL> self . _borderColor = None <EOL> self . _borderRadius = None <EOL> self . _borderWidth = None <EOL> self . _height = None <EOL> self . _width = None <EOL> self . _ignoreHiddenSeries = None <EOL> self . _inverted = None <EOL> self . _margin = None <EOL> self . _spacing = None <EOL> self . _showAxes = None <EOL> self . _type = SeriesType . LINE <EOL> self . _zoomType = ZoomType . NONE <EOL> self . _clientZoom = True <EOL> self . _alignTicks = None <EOL> self . _animation = None <EOL> self . _className = None <EOL> self . _reflow = None <EOL> self . _shadow = None <EOL> self . _plot = None <EOL> self . _style = None <EOL> def getAlignTicks ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _alignTicks <EOL> def setAlignTicks ( self , alignTicks ) : <EOL> """<STR_LIT>""" <EOL> self . _alignTicks = alignTicks <EOL> def getAnimation ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _animation <EOL> def setAnimation ( self , animation ) : <EOL> """<STR_LIT>""" <EOL> self . _animation = animation <EOL> def getClassName ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _className <EOL> def setClassName ( self , className ) : <EOL> """<STR_LIT>""" <EOL> self . _className = className <EOL> def getPlot ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _plot <EOL> def setPlot ( self , plot ) : <EOL> """<STR_LIT>""" <EOL> self . _plot = plot <EOL> def getReflow ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _reflow <EOL> def setReflow ( self , reflow ) : <EOL> """<STR_LIT>""" <EOL> self . _reflow = reflow <EOL> def getShadow ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _shadow <EOL> def setShadow ( self , shadow ) : <EOL> """<STR_LIT>""" <EOL> self . _shadow = shadow <EOL> def getStyle ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> """<STR_LIT>""" <EOL> self . _style = style <EOL> def getBackgroundColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _backgroundColor <EOL> def setBackgroundColor ( self , backgroundColor ) : <EOL> """<STR_LIT>""" <EOL> self . _backgroundColor = backgroundColor <EOL> def getBorderColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _borderColor <EOL> def setBorderColor ( self , borderColor ) : <EOL> """<STR_LIT>""" <EOL> self . _borderColor = borderColor <EOL> def getBorderRadius ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _borderRadius <EOL> def setBorderRadius ( self , borderRadius ) : <EOL> """<STR_LIT>""" <EOL> self . _borderRadius = borderRadius <EOL> def getBorderWidth ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _borderWidth <EOL> def setBorderWidth ( self , borderWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _borderWidth = borderWidth <EOL> def getHeight ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _height <EOL> def setHeight ( self , height ) : <EOL> """<STR_LIT>""" <EOL> self . _height = height <EOL> def getWidth ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _width <EOL> def setWidth ( self , width ) : <EOL> """<STR_LIT>""" <EOL> self . _width = width <EOL> def getIgnoreHiddenSeries ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _ignoreHiddenSeries <EOL> def setIgnoreHiddenSeries ( self , ignoreHiddenSeries ) : <EOL> """<STR_LIT>""" <EOL> self . _ignoreHiddenSeries = ignoreHiddenSeries <EOL> def getInverted ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _inverted <EOL> def setInverted ( self , inverted ) : <EOL> """<STR_LIT>""" <EOL> self . _inverted = inverted <EOL> def getMargin ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _margin <EOL> def setMargin ( self , margin ) : <EOL> """<STR_LIT>""" <EOL> self . _margin = margin <EOL> def getShowAxes ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _showAxes <EOL> def setShowAxes ( self , showAxes ) : <EOL> """<STR_LIT>""" <EOL> self . _showAxes = showAxes <EOL> def getSpacing ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _spacing <EOL> def setSpacing ( self , spacing ) : <EOL> """<STR_LIT>""" <EOL> self . _spacing = spacing <EOL> def getType ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _type <EOL> def setType ( self , typ ) : <EOL> """<STR_LIT>""" <EOL> self . _type = typ <EOL> def getZoomType ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _zoomType <EOL> def setZoomType ( self , zoomType ) : <EOL> """<STR_LIT>""" <EOL> self . _zoomType = zoomType <EOL> def isClientZoom ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _clientZoom <EOL> def setClientZoom ( self , clientZoom ) : <EOL> """<STR_LIT>""" <EOL> self . _clientZoom = clientZoom <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _backgroundColor ) <EOL> + '<STR_LIT>' + str ( self . _borderColor ) <EOL> + '<STR_LIT>' + str ( self . _borderRadius ) <EOL> + '<STR_LIT>' + str ( self . _borderWidth ) <EOL> + '<STR_LIT>' + str ( self . _height ) <EOL> + '<STR_LIT>' + str ( self . _width ) <EOL> + '<STR_LIT>' + str ( self . _ignoreHiddenSeries ) <EOL> + '<STR_LIT>' + str ( self . _inverted ) <EOL> + '<STR_LIT>' + str ( self . _margin ) <EOL> + '<STR_LIT>' + str ( self . _spacing ) <EOL> + '<STR_LIT>' + str ( self . _showAxes ) <EOL> + '<STR_LIT>' + str ( self . _type ) <EOL> + '<STR_LIT>' + str ( self . _zoomType ) <EOL> + '<STR_LIT>' + str ( self . _alignTicks ) <EOL> + '<STR_LIT>' + str ( self . _animation ) <EOL> + '<STR_LIT>' + str ( self . _className ) <EOL> + '<STR_LIT>' + str ( self . _reflow ) <EOL> + '<STR_LIT>' + str ( self . _shadow ) <EOL> + '<STR_LIT>' + str ( self . _plot ) <EOL> + '<STR_LIT>' + str ( self . _style ) + '<STR_LIT:]>' ) <EOL> class Plot ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _backgroundColor = None <EOL> self . _backgroundImage = None <EOL> self . _borderColor = None <EOL> self . _borderWidth = None <EOL> self . _shadow = None <EOL> def getBackgroundColor ( self ) : <EOL> return self . _backgroundColor <EOL> def setBackgroundColor ( self , backgroundColor ) : <EOL> self . _backgroundColor = backgroundColor <EOL> def getBackgroundImage ( self ) : <EOL> return self . _backgroundImage <EOL> def setBackgroundImage ( self , backgroundImage ) : <EOL> self . _backgroundImage = backgroundImage <EOL> def getBorderColor ( self ) : <EOL> return self . _borderColor <EOL> def setBorderColor ( self , borderColor ) : <EOL> self . _borderColor = borderColor <EOL> def getBorderWidth ( self ) : <EOL> return self . _borderWidth <EOL> def setBorderWidth ( self , borderWidth ) : <EOL> self . _borderWidth = borderWidth <EOL> def getShadow ( self ) : <EOL> return self . _shadow <EOL> def setShadow ( self , shadow ) : <EOL> self . _shadow = shadow <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _backgroundColor ) <EOL> + '<STR_LIT>' + str ( self . _backgroundImage ) <EOL> + '<STR_LIT>' + str ( self . _borderColor ) <EOL> + '<STR_LIT>' + str ( self . _borderWidth ) <EOL> + '<STR_LIT>' + str ( self . _shadow ) + '<STR_LIT:]>' ) <EOL> class Spacing ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _left = None <EOL> self . _top = None <EOL> self . _right = None <EOL> self . _bottom = None <EOL> def getLeft ( self ) : <EOL> return self . _left <EOL> def setLeft ( self , left ) : <EOL> self . _left = left <EOL> def getTop ( self ) : <EOL> return self . _top <EOL> def setTop ( self , top ) : <EOL> self . _top = top <EOL> def getRight ( self ) : <EOL> return self . _right <EOL> def setRight ( self , right ) : <EOL> self . _right = right <EOL> def getBottom ( self ) : <EOL> return self . _bottom <EOL> def setBottom ( self , bottom ) : <EOL> self . _bottom = bottom <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _left ) <EOL> + '<STR_LIT>' + str ( self . _top ) <EOL> + '<STR_LIT>' + str ( self . _right ) <EOL> + '<STR_LIT>' + str ( self . _bottom ) <EOL> + '<STR_LIT:]>' ) <EOL> class Margin ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , top = None , right = None , bottom = None , left = None ) : <EOL> self . _top = top <EOL> self . _right = right <EOL> self . _bottom = bottom <EOL> self . _left = left <EOL> def getLeft ( self ) : <EOL> return self . _left <EOL> def setLeft ( self , left ) : <EOL> self . _left = left <EOL> def getTop ( self ) : <EOL> return self . _top <EOL> def setTop ( self , top ) : <EOL> self . _top = top <EOL> def getRight ( self ) : <EOL> return self . _right <EOL> def setRight ( self , right ) : <EOL> self . _right = right <EOL> def getBottom ( self ) : <EOL> return self . _bottom <EOL> def setBottom ( self , bottom ) : <EOL> self . _bottom = bottom <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _left ) <EOL> + '<STR_LIT>' + str ( self . _top ) <EOL> + '<STR_LIT>' + str ( self . _right ) <EOL> + '<STR_LIT>' + str ( self . _bottom ) <EOL> + '<STR_LIT:]>' ) <EOL> class ZoomType ( object ) : <EOL> """<STR_LIT>""" <EOL> X = None <EOL> Y = None <EOL> XY = None <EOL> NONE = None <EOL> def __init__ ( self , typ ) : <EOL> self . _type = typ <EOL> def getName ( self ) : <EOL> return self . _type <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . X , cls . Y , cls . XY , cls . NONE ] <EOL> ZoomType . X = ZoomType ( '<STR_LIT:x>' ) <EOL> ZoomType . Y = ZoomType ( '<STR_LIT:y>' ) <EOL> ZoomType . XY = ZoomType ( '<STR_LIT>' ) <EOL> ZoomType . NONE = ZoomType ( '<STR_LIT>' ) <EOL> class SeriesConfig ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _allowPointSelect = None <EOL> self . _animation = None <EOL> self . _enableMouseTracking = None <EOL> self . _showInLegend = None <EOL> self . _cursor = None <EOL> self . _stacking = None <EOL> self . _showCheckbox = None <EOL> self . _visible = None <EOL> self . _shadow = None <EOL> self . _hoverState = None <EOL> self . _dataLabel = None <EOL> self . _color = None <EOL> def getAllowPointSelect ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _allowPointSelect <EOL> def setAllowPointSelect ( self , allowPointSelect ) : <EOL> """<STR_LIT>""" <EOL> self . _allowPointSelect = allowPointSelect <EOL> def getAnimation ( self ) : <EOL> return self . _animation <EOL> def setAnimation ( self , animation ) : <EOL> """<STR_LIT>""" <EOL> self . _animation = animation <EOL> def getEnableMouseTracking ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _enableMouseTracking <EOL> def setEnableMouseTracking ( self , enableMouseTracking ) : <EOL> """<STR_LIT>""" <EOL> self . _enableMouseTracking = enableMouseTracking <EOL> def getShowInLegend ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _showInLegend <EOL> def setShowInLegend ( self , showInLegend ) : <EOL> """<STR_LIT>""" <EOL> self . _showInLegend = showInLegend <EOL> def getCursor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _cursor <EOL> def setCursor ( self , cursor ) : <EOL> """<STR_LIT>""" <EOL> self . _cursor = cursor <EOL> def getStacking ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _stacking <EOL> def setStacking ( self , stacking ) : <EOL> """<STR_LIT>""" <EOL> self . _stacking = stacking <EOL> def getShowCheckbox ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _showCheckbox <EOL> def setShowCheckbox ( self , showCheckbox ) : <EOL> """<STR_LIT>""" <EOL> self . _showCheckbox = showCheckbox <EOL> def getVisible ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _visible <EOL> def setVisible ( self , visible ) : <EOL> """<STR_LIT>""" <EOL> self . _visible = visible <EOL> def getShadow ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _shadow <EOL> def setShadow ( self , shadow ) : <EOL> """<STR_LIT>""" <EOL> self . _shadow = shadow <EOL> def getHoverState ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _hoverState <EOL> def setHoverState ( self , state ) : <EOL> """<STR_LIT>""" <EOL> self . _hoverState = state <EOL> def getDataLabel ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _dataLabel <EOL> def setDataLabel ( self , dataLabel ) : <EOL> """<STR_LIT>""" <EOL> self . _dataLabel = dataLabel <EOL> def getColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _color <EOL> def setColor ( self , color ) : <EOL> """<STR_LIT>""" <EOL> self . _color = color <EOL> class DataLabel ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , enabled = True ) : <EOL> """<STR_LIT>""" <EOL> self . _align = None <EOL> self . _enabled = True <EOL> self . _formatterJsFunc = None <EOL> self . _rotation = None <EOL> self . _style = None <EOL> self . _x = None <EOL> self . _y = None <EOL> self . _color = None <EOL> def getAlign ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _align <EOL> def setAlign ( self , align ) : <EOL> """<STR_LIT>""" <EOL> self . _align = align <EOL> def getEnabled ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _enabled <EOL> def setEnabled ( self , enabled ) : <EOL> """<STR_LIT>""" <EOL> self . _enabled = enabled <EOL> def getFormatterJsFunc ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _formatterJsFunc <EOL> def setFormatterJsFunc ( self , formatterJsFunc ) : <EOL> """<STR_LIT>""" <EOL> self . _formatterJsFunc = formatterJsFunc <EOL> def getRotation ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _rotation <EOL> def setRotation ( self , rotation ) : <EOL> """<STR_LIT>""" <EOL> self . _rotation = rotation <EOL> def getStyle ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> """<STR_LIT>""" <EOL> self . _style = style <EOL> def getX ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _x <EOL> def setX ( self , x ) : <EOL> """<STR_LIT>""" <EOL> self . _x = x <EOL> def getY ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _y <EOL> def setY ( self , y ) : <EOL> """<STR_LIT>""" <EOL> self . _y = y <EOL> def getColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _color <EOL> def setColor ( self , color ) : <EOL> """<STR_LIT>""" <EOL> self . _color = color <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _align ) <EOL> + '<STR_LIT>' + str ( self . _enabled ) <EOL> + '<STR_LIT>' + str ( self . _formatterJsFunc ) <EOL> + '<STR_LIT>' + str ( self . _rotation ) <EOL> + '<STR_LIT>' + str ( self . _style ) <EOL> + '<STR_LIT>' + str ( self . _x ) <EOL> + '<STR_LIT>' + str ( self . _y ) + '<STR_LIT:]>' ) <EOL> class PieDataLabel ( DataLabel ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , enabled = False ) : <EOL> """<STR_LIT>""" <EOL> self . _connectorWidth = None <EOL> self . _connectorColor = None <EOL> self . _connectorPadding = None <EOL> self . _distance = None <EOL> super ( PieDataLabel , self ) . __init__ ( enabled ) <EOL> def getConnectorWidth ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _connectorWidth <EOL> def setConnectorWidth ( self , connectorWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _connectorWidth = connectorWidth <EOL> def getConnectorColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _connectorColor <EOL> def setConnectorColor ( self , connectorColor ) : <EOL> """<STR_LIT>""" <EOL> self . _connectorColor = connectorColor <EOL> def getConnectorPadding ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _connectorPadding <EOL> def setConnectorPadding ( self , connectorPadding ) : <EOL> """<STR_LIT>""" <EOL> self . _connectorPadding = connectorPadding <EOL> def getDistance ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _distance <EOL> def setDistance ( self , distance ) : <EOL> """<STR_LIT>""" <EOL> self . _distance = distance <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _connectorWidth ) <EOL> + '<STR_LIT>' + str ( self . _connectorColor ) <EOL> + '<STR_LIT>' + str ( self . _connectorPadding ) <EOL> + '<STR_LIT>' + str ( self . _distance ) <EOL> + '<STR_LIT>' + str ( self . getAlign ( ) ) <EOL> + '<STR_LIT>' + str ( self . getEnabled ( ) ) <EOL> + '<STR_LIT>' + str ( self . getFormatterJsFunc ( ) ) <EOL> + '<STR_LIT>' + str ( self . getRotation ( ) ) <EOL> + '<STR_LIT>' + str ( self . getStyle ( ) ) <EOL> + '<STR_LIT>' + str ( self . getX ( ) ) <EOL> + '<STR_LIT>' + str ( self . getY ( ) ) <EOL> + '<STR_LIT>' + super ( PieDataLabel , self ) . __str__ ( ) <EOL> + '<STR_LIT>' + self . __class__ <EOL> + '<STR_LIT>' + self . __hash__ ( ) + '<STR_LIT:]>' ) <EOL> class AxisDataLabel ( DataLabel ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , enabled = False ) : <EOL> """<STR_LIT>""" <EOL> self . _step = None <EOL> super ( AxisDataLabel , self ) . __init__ ( enabled ) <EOL> def getStep ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _step <EOL> def setStep ( self , step ) : <EOL> """<STR_LIT>""" <EOL> self . _step = step <EOL> class XAxisDataLabel ( AxisDataLabel ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , enabled = False ) : <EOL> """<STR_LIT>""" <EOL> self . _staggerLines = None <EOL> super ( XAxisDataLabel , self ) . __init__ ( enabled ) <EOL> def getStaggerLines ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _staggerLines <EOL> def setStaggerLines ( self , staggerLines ) : <EOL> """<STR_LIT>""" <EOL> self . _staggerLines = staggerLines <EOL> class YAxisDataLabel ( AxisDataLabel ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , enabled = False ) : <EOL> """<STR_LIT>""" <EOL> super ( YAxisDataLabel , self ) . __init__ ( enabled ) <EOL> class BaseLineConfig ( SeriesConfig ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> super ( BaseLineConfig , self ) . __init__ ( ) <EOL> self . _pointStart = None <EOL> self . _pointInterval = None <EOL> self . _stickyTracking = None <EOL> self . _marker = None <EOL> self . _dashStyle = None <EOL> self . _lineWidth = None <EOL> def getPointStart ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _pointStart <EOL> def setPointStart ( self , pointStart ) : <EOL> """<STR_LIT>""" <EOL> self . _pointStart = pointStart <EOL> def getPointInterval ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _pointInterval <EOL> def setPointInterval ( self , pointInterval ) : <EOL> """<STR_LIT>""" <EOL> self . _pointInterval = pointInterval <EOL> def getStickyTracking ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _stickyTracking <EOL> def setStickyTracking ( self , stickyTracking ) : <EOL> """<STR_LIT>""" <EOL> self . _stickyTracking = stickyTracking <EOL> def getMarker ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _marker <EOL> def setMarker ( self , marker ) : <EOL> """<STR_LIT>""" <EOL> self . _marker = marker <EOL> def getDashStyle ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _dashStyle <EOL> def setDashStyle ( self , dashStyle ) : <EOL> """<STR_LIT>""" <EOL> self . _dashStyle = dashStyle <EOL> def getLineWidth ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _lineWidth <EOL> def setLineWidth ( self , lineWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _lineWidth = lineWidth <EOL> class DashStyle ( object ) : <EOL> SOLID = None <EOL> SHORT_DASH = None <EOL> SHORT_DOT = None <EOL> SHORT_DASH_DOT = None <EOL> SHORT_DASH_DOT_DOT = None <EOL> DOT = None <EOL> DASH = None <EOL> LONG_DASH = None <EOL> DASH_DOT = None <EOL> LONG_DASH_DOT = None <EOL> LONG_DASH_DOT_DOT = None <EOL> def __init__ ( self , name ) : <EOL> self . _name = name <EOL> def getName ( self ) : <EOL> return self . _name <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . SOLID , cls . SHORT_DASH , cls . SHORT_DOT , cls . SHORT_DASH_DOT , <EOL> cls . SHORT_DASH_DOT_DOT , cls . DOT , cls . DASH , cls . LONG_DASH , <EOL> cls . DASH_DOT , cls . LONG_DASH_DOT , cls . LONG_DASH_DOT_DOT ] <EOL> DashStyle . SOLID = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . SHORT_DASH = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . SHORT_DOT = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . SHORT_DASH_DOT = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . SHORT_DASH_DOT_DOT = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . DOT = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . DASH = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . LONG_DASH = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . DASH_DOT = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . LONG_DASH_DOT = DashStyle ( '<STR_LIT>' ) <EOL> DashStyle . LONG_DASH_DOT_DOT = DashStyle ( '<STR_LIT>' ) <EOL> class AreaConfig ( BaseLineConfig ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> super ( AreaConfig , self ) . __init__ ( ) <EOL> self . _fillColor = None <EOL> self . _lineColor = None <EOL> self . _fillOpacity = None <EOL> self . _threshold = None <EOL> def getFillColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _fillColor <EOL> def setFillColor ( self , fillColor ) : <EOL> """<STR_LIT>""" <EOL> self . _fillColor = fillColor <EOL> def getLineColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _lineColor <EOL> def setLineColor ( self , lineColor ) : <EOL> """<STR_LIT>""" <EOL> self . _lineColor = lineColor <EOL> def getFillOpacity ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _fillOpacity <EOL> def setFillOpacity ( self , fillOpacity ) : <EOL> """<STR_LIT>""" <EOL> self . _fillOpacity = fillOpacity <EOL> def getThreshold ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _threshold <EOL> def setThreshold ( self , threshold ) : <EOL> """<STR_LIT>""" <EOL> self . _threshold = threshold <EOL> class AreaSplineConfig ( AreaConfig ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class LineConfig ( BaseLineConfig ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> super ( LineConfig , self ) . __init__ ( ) <EOL> self . _step = None <EOL> def getStep ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _step <EOL> def setStep ( self , step ) : <EOL> """<STR_LIT>""" <EOL> self . _step = step <EOL> class ScatterConfig ( BaseLineConfig ) : <EOL> """<STR_LIT>""" <EOL> def setShadow ( self , shadow ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError , '<STR_LIT>' <EOL> def getShadow ( self ) : <EOL> """<STR_LIT>""" <EOL> return None <EOL> class SplineConfig ( BaseLineConfig ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class PieConfig ( SeriesConfig ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> super ( PieConfig , self ) . __init__ ( ) <EOL> self . _centerX = None <EOL> self . _centerY = None <EOL> self . _borderColor = None <EOL> self . _borderWidth = None <EOL> self . _innerSize = None <EOL> self . _size = None <EOL> self . _slicedOffset = None <EOL> def getCenterX ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _centerX <EOL> def setCenterX ( self , centerX ) : <EOL> """<STR_LIT>""" <EOL> self . _centerX = centerX <EOL> def getCenterY ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _centerY <EOL> def setCenterY ( self , centerY ) : <EOL> """<STR_LIT>""" <EOL> self . _centerY = centerY <EOL> def getBorderColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _borderColor <EOL> def setBorderColor ( self , borderColor ) : <EOL> """<STR_LIT>""" <EOL> self . _borderColor = borderColor <EOL> def getBorderWidth ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _borderWidth <EOL> def setBorderWidth ( self , borderWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _borderWidth = borderWidth <EOL> def getInnerSize ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _innerSize <EOL> def setInnerSize ( self , innerSize ) : <EOL> """<STR_LIT>""" <EOL> self . _innerSize = innerSize <EOL> def getSize ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _size <EOL> def setSize ( self , size ) : <EOL> """<STR_LIT>""" <EOL> self . _size = size <EOL> def getSlicedOffset ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _slicedOffset <EOL> def setSlicedOffset ( self , slicedOffset ) : <EOL> """<STR_LIT>""" <EOL> self . _slicedOffset = slicedOffset <EOL> def setVisible ( self , visible ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError ( '<STR_LIT>' ) <EOL> def setShadow ( self , shadow ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError ( '<STR_LIT>' ) <EOL> def getVisible ( self ) : <EOL> """<STR_LIT>""" <EOL> return None <EOL> def getShadow ( self ) : <EOL> """<STR_LIT>""" <EOL> return None <EOL> def setDataLabel ( self , dataLabel ) : <EOL> """<STR_LIT>""" <EOL> super ( PieConfig , self ) . setDataLabel ( dataLabel ) <EOL> def getDataLabel ( self ) : <EOL> return super ( PieConfig , self ) . getDataLabel ( ) <EOL> def setHoverState ( self , state ) : <EOL> """<STR_LIT>""" <EOL> super ( PieConfig , self ) . setHoverState ( state ) <EOL> def getHoverState ( self ) : <EOL> if ( isinstance ( super ( PieConfig , self ) . getHoverState ( ) , <EOL> NonLinearSeriesState ) ) : <EOL> return super ( PieConfig , self ) . getHoverState ( ) <EOL> return None <EOL> class BaseBarConfig ( SeriesConfig ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> super ( BaseBarConfig , self ) . __init__ ( ) <EOL> self . _borderColor = None <EOL> self . _borderRadius = None <EOL> self . _borderWidth = None <EOL> self . _colorByPoint = None <EOL> self . _groupPadding = None <EOL> self . _minPointLength = None <EOL> self . _pointPadding = None <EOL> self . _pointWidth = None <EOL> def getBorderColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _borderColor <EOL> def setBorderColor ( self , borderColor ) : <EOL> """<STR_LIT>""" <EOL> self . _borderColor = borderColor <EOL> def getBorderRadius ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _borderRadius <EOL> def setBorderRadius ( self , borderRadius ) : <EOL> """<STR_LIT>""" <EOL> self . _borderRadius = borderRadius <EOL> def getBorderWidth ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _borderWidth <EOL> def setBorderWidth ( self , borderWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _borderWidth = borderWidth <EOL> def getColorByPoint ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _colorByPoint <EOL> def setColorByPoint ( self , colorByPoint ) : <EOL> """<STR_LIT>""" <EOL> self . _colorByPoint = colorByPoint <EOL> def getGroupPadding ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _groupPadding <EOL> def setGroupPadding ( self , groupPadding ) : <EOL> """<STR_LIT>""" <EOL> self . _groupPadding = groupPadding <EOL> def getMinPointLength ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _minPointLength <EOL> def setMinPointLength ( self , minPointLength ) : <EOL> """<STR_LIT>""" <EOL> self . _minPointLength = minPointLength <EOL> def getPointPadding ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _pointPadding <EOL> def setPointPadding ( self , pointPadding ) : <EOL> """<STR_LIT>""" <EOL> self . _pointPadding = pointPadding <EOL> def getPointWidth ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _pointWidth <EOL> def setPointWidth ( self , pointWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _pointWidth = pointWidth <EOL> def setHoverState ( self , state ) : <EOL> """<STR_LIT>""" <EOL> super ( BaseBarConfig , self ) . setHoverState ( state ) <EOL> def getHoverState ( self ) : <EOL> if ( isinstance ( super ( BaseBarConfig , self ) . getHoverState ( ) , <EOL> NonLinearSeriesState ) ) : <EOL> return super ( BaseBarConfig , self ) . getHoverState ( ) <EOL> return None <EOL> class ColumnConfig ( BaseBarConfig ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class BarConfig ( BaseBarConfig ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class Stacking ( object ) : <EOL> """<STR_LIT>""" <EOL> NORMAL = None <EOL> PERCENT = None <EOL> def __init__ ( self , stacking ) : <EOL> self . _stacking = stacking <EOL> def getName ( self ) : <EOL> return self . _stacking <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . NORMAL , cls . PERCENT ] <EOL> Stacking . NORMAL = Stacking ( '<STR_LIT>' ) <EOL> Stacking . PERCENT = Stacking ( '<STR_LIT>' ) <EOL> class PointConfig ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , sliced_or_color_or_marker , selected = None , color = None , <EOL> marker = None ) : <EOL> """<STR_LIT>""" <EOL> if selected is None : <EOL> if isinstance ( sliced_or_color_or_marker , Marker ) : <EOL> marker = sliced_or_color_or_marker <EOL> sliced = selected = color = None <EOL> elif isinstance ( sliced_or_color_or_marker , IPaint ) : <EOL> color = sliced_or_color_or_marker <EOL> sliced = selected = marker = None <EOL> else : <EOL> sliced = selected = sliced_or_color_or_marker <EOL> marker = color = None <EOL> super ( PointConfig , self ) . __init__ ( ) <EOL> self . _sliced = sliced <EOL> self . _selected = selected <EOL> self . _color = color <EOL> self . _marker = marker <EOL> def getSliced ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _sliced <EOL> def setSliced ( self , sliced ) : <EOL> """<STR_LIT>""" <EOL> self . _sliced = sliced <EOL> def getSelected ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _selected <EOL> def setSelected ( self , selected ) : <EOL> """<STR_LIT>""" <EOL> self . _selected = selected <EOL> def getColor ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _color <EOL> def setColor ( self , color ) : <EOL> """<STR_LIT>""" <EOL> self . _color = color <EOL> def getMarker ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _marker <EOL> def setMarker ( self , marker ) : <EOL> """<STR_LIT>""" <EOL> self . _marker = marker <EOL> def __str__ ( self ) : <EOL> """<STR_LIT>""" <EOL> return ( '<STR_LIT>' + str ( self . _sliced ) <EOL> + '<STR_LIT>' + str ( self . _selected ) <EOL> + '<STR_LIT>' + str ( self . _color ) <EOL> + '<STR_LIT>' + str ( self . _marker ) <EOL> + '<STR_LIT:]>' ) <EOL> class TitleBase ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _align = None <EOL> self . _vertAlign = None <EOL> self . _floating = None <EOL> self . _text = None <EOL> self . _x = None <EOL> self . _y = None <EOL> self . _style = None <EOL> def getAlign ( self ) : <EOL> return self . _align <EOL> def setAlign ( self , align ) : <EOL> """<STR_LIT>""" <EOL> self . _align = align <EOL> def getVertAlign ( self ) : <EOL> return self . _vertAlign <EOL> def setVertAlign ( self , vertAlign ) : <EOL> """<STR_LIT>""" <EOL> self . _vertAlign = vertAlign <EOL> def getFloating ( self ) : <EOL> return self . _floating <EOL> def setFloating ( self , floating ) : <EOL> """<STR_LIT>""" <EOL> self . _floating = floating <EOL> def getText ( self ) : <EOL> return self . _text <EOL> def setText ( self , text ) : <EOL> """<STR_LIT>""" <EOL> self . _text = text <EOL> def getX ( self ) : <EOL> return self . _x <EOL> def setX ( self , x ) : <EOL> """<STR_LIT>""" <EOL> self . _x = x <EOL> def getY ( self ) : <EOL> return self . _y <EOL> def setY ( self , y ) : <EOL> """<STR_LIT>""" <EOL> self . _y = y <EOL> def getStyle ( self ) : <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> """<STR_LIT>""" <EOL> self . _style = style <EOL> class Title ( TitleBase ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> super ( Title , self ) . __init__ ( ) <EOL> self . _margin = None <EOL> def getMargin ( self ) : <EOL> return self . _margin <EOL> def setMargin ( self , margin ) : <EOL> """<STR_LIT>""" <EOL> self . _margin = margin <EOL> class SubTitle ( TitleBase ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class HorzAlign ( object ) : <EOL> LEFT = None <EOL> CENTER = None <EOL> RIGHT = None <EOL> def __init__ ( self , align ) : <EOL> self . _align = align <EOL> def getName ( self ) : <EOL> return self . _align <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . LEFT , cls . CENTER , cls . RIGHT ] <EOL> HorzAlign . LEFT = HorzAlign ( '<STR_LIT:left>' ) <EOL> HorzAlign . CENTER = HorzAlign ( '<STR_LIT>' ) <EOL> HorzAlign . RIGHT = HorzAlign ( '<STR_LIT:right>' ) <EOL> class VertAlign ( object ) : <EOL> TOP = None <EOL> MIDDLE = None <EOL> BOTTOM = None <EOL> def __init__ ( self , align ) : <EOL> self . _align = align <EOL> def getName ( self ) : <EOL> return self . _align <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . TOP , cls . MIDDLE , cls . BOTTOM ] <EOL> VertAlign . TOP = VertAlign ( '<STR_LIT>' ) <EOL> VertAlign . MIDDLE = VertAlign ( '<STR_LIT>' ) <EOL> VertAlign . BOTTOM = VertAlign ( '<STR_LIT>' ) <EOL> class State ( object ) : <EOL> """<STR_LIT>""" <EOL> def getEnabled ( self ) : <EOL> pass <EOL> class SeriesState ( State ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _enabled = None <EOL> self . _lineWidth = None <EOL> def getEnabled ( self ) : <EOL> return self . _enabled <EOL> def setEnabled ( self , enabled ) : <EOL> """<STR_LIT>""" <EOL> self . _enabled = enabled <EOL> def getLineWidth ( self ) : <EOL> return self . _lineWidth <EOL> def setLineWidth ( self , lineWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _lineWidth = lineWidth <EOL> class NonLinearSeriesState ( SeriesState ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _brightness = None <EOL> def getBrightness ( self ) : <EOL> return self . _brightness <EOL> def setBrightness ( self , brightness ) : <EOL> """<STR_LIT>""" <EOL> self . _brightness = brightness <EOL> class MarkerAttribute ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _enabled = None <EOL> self . _fillColor = None <EOL> self . _lineColor = None <EOL> self . _lineWidth = None <EOL> self . _radius = None <EOL> def getEnabled ( self ) : <EOL> return self . _enabled <EOL> def setEnabled ( self , enabled ) : <EOL> self . _enabled = enabled <EOL> def getFillColor ( self ) : <EOL> return self . _fillColor <EOL> def setFillColor ( self , fillColor ) : <EOL> self . _fillColor = fillColor <EOL> def getLineColor ( self ) : <EOL> return self . _lineColor <EOL> def setLineColor ( self , lineColor ) : <EOL> self . _lineColor = lineColor <EOL> def getLineWidth ( self ) : <EOL> return self . _lineWidth <EOL> def setLineWidth ( self , lineWidth ) : <EOL> self . _lineWidth = lineWidth <EOL> def getRadius ( self ) : <EOL> return self . _radius <EOL> def setRadius ( self , radius ) : <EOL> self . _radius = radius <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _enabled ) <EOL> + '<STR_LIT>' + str ( self . _fillColor ) <EOL> + '<STR_LIT>' + str ( self . _lineColor ) <EOL> + '<STR_LIT>' + str ( self . _lineWidth ) <EOL> + '<STR_LIT>' + str ( self . _radius ) <EOL> + '<STR_LIT:]>' ) <EOL> class MarkerState ( State ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , enabled = True ) : <EOL> """<STR_LIT>""" <EOL> self . _markerAttribute = MarkerAttribute ( ) <EOL> self . _markerAttribute . setEnabled ( True ) <EOL> def getEnabled ( self ) : <EOL> return self . _markerAttribute . getEnabled ( ) <EOL> def setEnabled ( self , enabled ) : <EOL> """<STR_LIT>""" <EOL> self . _markerAttribute . setEnabled ( enabled ) <EOL> def getFillColor ( self ) : <EOL> return self . _markerAttribute . getFillColor ( ) <EOL> def setFillColor ( self , fillColor ) : <EOL> """<STR_LIT>""" <EOL> self . _markerAttribute . setFillColor ( fillColor ) <EOL> def getLineColor ( self ) : <EOL> return self . _markerAttribute . getLineColor ( ) <EOL> def setLineColor ( self , lineColor ) : <EOL> """<STR_LIT>""" <EOL> self . _markerAttribute . setLineColor ( lineColor ) <EOL> def getLineWidth ( self ) : <EOL> return self . _markerAttribute . getLineWidth ( ) <EOL> def setLineWidth ( self , lineWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _markerAttribute . setLineWidth ( lineWidth ) <EOL> def getRadius ( self ) : <EOL> return self . _markerAttribute . getRadius ( ) <EOL> def setRadius ( self , radius ) : <EOL> """<STR_LIT>""" <EOL> self . _markerAttribute . setRadius ( radius ) <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . getEnabled ( ) ) <EOL> + '<STR_LIT>' + str ( self . getFillColor ( ) ) <EOL> + '<STR_LIT>' + str ( self . getLineColor ( ) ) <EOL> + '<STR_LIT>' + str ( self . getLineWidth ( ) ) <EOL> + '<STR_LIT>' + str ( self . getRadius ( ) ) <EOL> + '<STR_LIT:]>' ) <EOL> class Marker ( object ) : <EOL> """<STR_LIT>""" <EOL> def getEnabled ( self ) : <EOL> raise NotImplementedError <EOL> def setEnabled ( self , enabled ) : <EOL> raise NotImplementedError <EOL> class AbstractMarker ( Marker ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , enabled = True ) : <EOL> self . _markerAttribute = MarkerAttribute ( ) <EOL> self . _markerAttribute . setEnabled ( enabled ) <EOL> def getLineColor ( self ) : <EOL> return self . _markerAttribute . getLineColor ( ) <EOL> def setLineColor ( self , lineColor ) : <EOL> self . _markerAttribute . setLineColor ( lineColor ) <EOL> def getFillColor ( self ) : <EOL> return self . _markerAttribute . getFillColor ( ) <EOL> def setFillColor ( self , fillColor ) : <EOL> self . _markerAttribute . setFillColor ( fillColor ) <EOL> def getLineWidth ( self ) : <EOL> return self . _markerAttribute . getLineWidth ( ) <EOL> def setLineWidth ( self , lineWidth ) : <EOL> self . _markerAttribute . setLineWidth ( lineWidth ) <EOL> def getRadius ( self ) : <EOL> return self . _markerAttribute . getRadius ( ) <EOL> def setRadius ( self , radius ) : <EOL> self . _markerAttribute . setRadius ( radius ) <EOL> def getEnabled ( self ) : <EOL> return self . _markerAttribute . getEnabled ( ) <EOL> def setEnabled ( self , enabled ) : <EOL> self . _markerAttribute . setEnabled ( enabled ) <EOL> class ImageMarker ( AbstractMarker ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , imageURL , enabled = True ) : <EOL> """<STR_LIT>""" <EOL> super ( ImageMarker , self ) . __init__ ( enabled ) <EOL> self . _imageURL = imageURL <EOL> def getImageURL ( self ) : <EOL> return self . _imageURL <EOL> def setImageURL ( self , imageURL ) : <EOL> self . _imageURL = imageURL <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _imageURL ) <EOL> + '<STR_LIT>' + str ( self . getEnabled ( ) ) <EOL> + '<STR_LIT:]>' ) <EOL> class SymbolMarker ( AbstractMarker ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , * args ) : <EOL> """<STR_LIT>""" <EOL> self . _symbol = None <EOL> self . _hoverState = None <EOL> self . _selectState = None <EOL> nargs = len ( args ) <EOL> if nargs == <NUM_LIT:0> : <EOL> super ( SymbolMarker , self ) . __init__ ( True ) <EOL> elif nargs == <NUM_LIT:1> : <EOL> if isinstance ( args [ <NUM_LIT:0> ] , IPaint ) : <EOL> lineColor , = args <EOL> super ( SymbolMarker , self ) . __init__ ( True ) <EOL> super ( SymbolMarker , self ) . setLineColor ( lineColor ) <EOL> elif isinstance ( args [ <NUM_LIT:0> ] , bool ) : <EOL> enabled , = args <EOL> super ( SymbolMarker , self ) . __init__ ( enabled ) <EOL> elif isinstance ( args [ <NUM_LIT:0> ] , int ) : <EOL> radius , = args <EOL> super ( SymbolMarker , self ) . __init__ ( True ) <EOL> self . setRadius ( radius ) <EOL> else : <EOL> symbol , = args <EOL> super ( SymbolMarker , self ) . __init__ ( True ) <EOL> self . _symbol = symbol <EOL> elif nargs == <NUM_LIT:2> : <EOL> lineColor , radius = args <EOL> super ( SymbolMarker , self ) . __init__ ( True ) <EOL> super ( SymbolMarker , self ) . setLineColor ( lineColor ) <EOL> super ( SymbolMarker , self ) . setRadius ( radius ) <EOL> elif nargs == <NUM_LIT:3> : <EOL> lineColor , radius , symbol = args <EOL> super ( SymbolMarker , self ) . __init__ ( True ) <EOL> super ( SymbolMarker , self ) . setLineColor ( lineColor ) <EOL> super ( SymbolMarker , self ) . setRadius ( radius ) <EOL> self . _symbol = symbol <EOL> else : <EOL> raise ValueError <EOL> def getLineColor ( self ) : <EOL> return super ( SymbolMarker , self ) . getLineColor ( ) <EOL> def setLineColor ( self , lineColor ) : <EOL> """<STR_LIT>""" <EOL> super ( SymbolMarker , self ) . setLineColor ( lineColor ) <EOL> def getFillColor ( self ) : <EOL> return super ( SymbolMarker , self ) . getFillColor ( ) <EOL> def setFillColor ( self , fillColor ) : <EOL> """<STR_LIT>""" <EOL> super ( SymbolMarker , self ) . setFillColor ( fillColor ) <EOL> def getLineWidth ( self ) : <EOL> return super ( SymbolMarker , self ) . getLineWidth ( ) <EOL> def setLineWidth ( self , lineWidth ) : <EOL> """<STR_LIT>""" <EOL> super ( SymbolMarker , self ) . setLineWidth ( lineWidth ) <EOL> def getRadius ( self ) : <EOL> return super ( SymbolMarker , self ) . getRadius ( ) <EOL> def setRadius ( self , radius ) : <EOL> """<STR_LIT>""" <EOL> super ( SymbolMarker , self ) . setRadius ( radius ) <EOL> def getSymbol ( self ) : <EOL> return self . _symbol <EOL> def setSymbol ( self , symbol ) : <EOL> """<STR_LIT>""" <EOL> self . _symbol = symbol <EOL> def getHoverState ( self ) : <EOL> return self . _hoverState <EOL> def setHoverState ( self , hoverState ) : <EOL> """<STR_LIT>""" <EOL> self . _hoverState = hoverState <EOL> def getSelectState ( self ) : <EOL> return self . _selectState <EOL> def setSelectState ( self , selectState ) : <EOL> """<STR_LIT>""" <EOL> self . _selectState = selectState <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _symbol ) <EOL> + '<STR_LIT>' + str ( self . _hoverState ) <EOL> + '<STR_LIT>' + str ( self . _selectState ) <EOL> + '<STR_LIT>' + str ( self . getLineColor ( ) ) <EOL> + '<STR_LIT>' + str ( self . getFillColor ( ) ) <EOL> + '<STR_LIT>' + str ( self . getLineWidth ( ) ) <EOL> + '<STR_LIT>' + str ( self . getRadius ( ) ) <EOL> + '<STR_LIT>' + str ( self . getSymbol ( ) ) <EOL> + '<STR_LIT>' + str ( self . getHoverState ( ) ) <EOL> + '<STR_LIT>' + str ( self . getSelectState ( ) ) <EOL> + '<STR_LIT:]>' ) <EOL> class Symbol ( object ) : <EOL> """<STR_LIT>""" <EOL> CIRCLE = None <EOL> DIAMOND = None <EOL> SQUARE = None <EOL> TRIANGLE = None <EOL> TRIANGLE_DOWN = None <EOL> def __init__ ( self , symbol ) : <EOL> self . _symbol = symbol <EOL> def getName ( self ) : <EOL> return self . _symbol <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . CIRCLE , cls . DIAMOND , cls . SQUARE , <EOL> cls . TRIANGLE , cls . TRIANGLE_DOWN ] <EOL> Symbol . CIRCLE = Symbol ( '<STR_LIT>' ) <EOL> Symbol . DIAMOND = Symbol ( '<STR_LIT>' ) <EOL> Symbol . SQUARE = Symbol ( '<STR_LIT>' ) <EOL> Symbol . TRIANGLE = Symbol ( '<STR_LIT>' ) <EOL> Symbol . TRIANGLE_DOWN = Symbol ( '<STR_LIT>' ) <EOL> class Axis ( object ) : <EOL> def getId ( self ) : <EOL> pass <EOL> def setId ( self , Id ) : <EOL> pass <EOL> def getTick ( self ) : <EOL> pass <EOL> def setTick ( self , tick ) : <EOL> pass <EOL> def getMaxZoom ( self ) : <EOL> pass <EOL> def setMaxZoom ( self , maxZoom ) : <EOL> pass <EOL> def getReversed ( self ) : <EOL> pass <EOL> def setReversed ( self , r ) : <EOL> pass <EOL> def getOpposite ( self ) : <EOL> pass <EOL> def setOpposite ( self , opposite ) : <EOL> pass <EOL> def getType ( self ) : <EOL> pass <EOL> def getTitle ( self ) : <EOL> pass <EOL> def setTitle ( self , title ) : <EOL> pass <EOL> def getAlternateGridColor ( self ) : <EOL> pass <EOL> def setAlternateGridColor ( self , alternateGridColor ) : <EOL> pass <EOL> def getEndOnTick ( self ) : <EOL> pass <EOL> def setEndOnTick ( self , endOnTick ) : <EOL> pass <EOL> def getGrid ( self ) : <EOL> pass <EOL> def setGrid ( self , grid ) : <EOL> pass <EOL> def getLineColor ( self ) : <EOL> pass <EOL> def setLineColor ( self , lineColor ) : <EOL> pass <EOL> def getLineWidth ( self ) : <EOL> pass <EOL> def setLineWidth ( self , lineWidth ) : <EOL> pass <EOL> def getLinkedTo ( self ) : <EOL> pass <EOL> def setLinkedTo ( self , linkedTo ) : <EOL> pass <EOL> def getMaxPadding ( self ) : <EOL> pass <EOL> def setMaxPadding ( self , maxPadding ) : <EOL> pass <EOL> def getMinPadding ( self ) : <EOL> pass <EOL> def setMinPadding ( self , minPadding ) : <EOL> pass <EOL> def getMinorGrid ( self ) : <EOL> pass <EOL> def setMinorGrid ( self , minorGrid ) : <EOL> pass <EOL> def getMinorTick ( self ) : <EOL> pass <EOL> def setMinorTick ( self , minorTick ) : <EOL> pass <EOL> def getOffset ( self ) : <EOL> pass <EOL> def setOffset ( self , offset ) : <EOL> pass <EOL> def getShowFirstLabel ( self ) : <EOL> pass <EOL> def setShowFirstLabel ( self , showFirstLabel ) : <EOL> pass <EOL> def getShowLastLabel ( self ) : <EOL> pass <EOL> def setShowLastLabel ( self , showLastLabel ) : <EOL> pass <EOL> def getStartOfWeek ( self ) : <EOL> pass <EOL> def setStartOfWeek ( self , startOfWeek ) : <EOL> pass <EOL> def getStartOnTick ( self ) : <EOL> pass <EOL> def setStartOnTick ( self , startOnTick ) : <EOL> pass <EOL> class XAxis ( Axis ) : <EOL> pass <EOL> class YAxis ( Axis ) : <EOL> pass <EOL> class AxisBase ( Axis ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> super ( AxisBase , self ) . __init__ ( ) <EOL> self . _id = None <EOL> self . _type = AxisType . LINEAR <EOL> self . _title = None <EOL> self . _label = None <EOL> self . _plotBands = OrderedSet ( ) <EOL> self . _plotLines = OrderedSet ( ) <EOL> self . _alternateGridColor = None <EOL> self . _endOnTick = None <EOL> self . _grid = None <EOL> self . _lineColor = None <EOL> self . _lineWidth = None <EOL> self . _linkedTo = None <EOL> self . _maxPadding = None <EOL> self . _maxZoom = None <EOL> self . _minPadding = None <EOL> self . _tick = None <EOL> self . _minorGrid = None <EOL> self . _minorTick = None <EOL> self . _offset = None <EOL> self . _opposite = None <EOL> self . _reversed = None <EOL> self . _showFirstLabel = None <EOL> self . _showLastLabel = None <EOL> self . _startOfWeek = None <EOL> self . _startOnTick = None <EOL> def getAllPlotBands ( self ) : <EOL> return self . _plotBands <EOL> def setAllPlotBands ( self , plotBands ) : <EOL> if plotBands is not None : <EOL> self . _plotBands = plotBands <EOL> def addPlotBand ( self , plotBand ) : <EOL> self . _plotBands . add ( plotBand ) <EOL> def removePlotBand ( self , plotBand_or_id ) : <EOL> """<STR_LIT>""" <EOL> if isinstance ( plotBand_or_id , PlotBand ) : <EOL> plotBand = plotBand_or_id <EOL> self . _plotBands . remove ( plotBand ) <EOL> else : <EOL> Id = plotBand_or_id <EOL> for pb in set ( self . _plotBands ) : <EOL> if pb . getId ( ) == Id : <EOL> self . _plotBands . remove ( pb ) <EOL> break <EOL> def getAllPlotLines ( self ) : <EOL> return self . _plotLines <EOL> def setAllPlotLines ( self , plotLines ) : <EOL> if plotLines is not None : <EOL> self . _plotLines = plotLines <EOL> def addPlotLine ( self , plotLine ) : <EOL> self . _plotLines . add ( plotLine ) <EOL> def removePlotLine ( self , plotLine_or_id ) : <EOL> if isinstance ( plotLine_or_id , PlotLine ) : <EOL> plotLine = plotLine_or_id <EOL> self . _plotLines . remove ( plotLine ) <EOL> else : <EOL> Id = plotLine_or_id <EOL> for i , pl in enumerate ( self . _plotLines [ : ] ) : <EOL> if pl . getId ( ) == Id : <EOL> del self . _plotLines [ i ] <EOL> break <EOL> def getId ( self ) : <EOL> return self . _id <EOL> def setId ( self , Id ) : <EOL> """<STR_LIT>""" <EOL> self . _id = Id <EOL> def getTick ( self ) : <EOL> return self . _tick <EOL> def setTick ( self , tick ) : <EOL> """<STR_LIT>""" <EOL> self . _tick = tick <EOL> def getMaxZoom ( self ) : <EOL> return self . _maxZoom <EOL> def setMaxZoom ( self , maxZoom ) : <EOL> """<STR_LIT>""" <EOL> self . _maxZoom = maxZoom <EOL> def getReversed ( self ) : <EOL> return self . _reversed <EOL> def setReversed ( self , r ) : <EOL> """<STR_LIT>""" <EOL> self . _reversed = r <EOL> def getOpposite ( self ) : <EOL> return self . _opposite <EOL> def setOpposite ( self , opposite ) : <EOL> """<STR_LIT>""" <EOL> self . _opposite = opposite <EOL> def getType ( self ) : <EOL> return self . _type <EOL> def setType ( self , typ ) : <EOL> """<STR_LIT>""" <EOL> self . _type = typ <EOL> def getTitle ( self ) : <EOL> return self . _title <EOL> def setTitle ( self , title ) : <EOL> """<STR_LIT>""" <EOL> self . _title = title <EOL> def getLabel ( self ) : <EOL> return self . _label <EOL> def setLabel ( self , label ) : <EOL> self . _label = label <EOL> def getAlternateGridColor ( self ) : <EOL> return self . _alternateGridColor <EOL> def setAlternateGridColor ( self , alternateGridColor ) : <EOL> """<STR_LIT>""" <EOL> self . _alternateGridColor = alternateGridColor <EOL> def getEndOnTick ( self ) : <EOL> return self . _endOnTick <EOL> def setEndOnTick ( self , endOnTick ) : <EOL> """<STR_LIT>""" <EOL> self . _endOnTick = endOnTick <EOL> def getGrid ( self ) : <EOL> return self . _grid <EOL> def setGrid ( self , grid ) : <EOL> """<STR_LIT>""" <EOL> self . _grid = grid <EOL> def getLineColor ( self ) : <EOL> return self . _lineColor <EOL> def setLineColor ( self , lineColor ) : <EOL> """<STR_LIT>""" <EOL> self . _lineColor = lineColor <EOL> def getLineWidth ( self ) : <EOL> return self . _lineWidth <EOL> def setLineWidth ( self , lineWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _lineWidth = lineWidth <EOL> def getLinkedTo ( self ) : <EOL> return self . _linkedTo <EOL> def setLinkedTo ( self , linkedTo ) : <EOL> """<STR_LIT>""" <EOL> if linkedTo is not self : <EOL> self . _linkedTo = linkedTo <EOL> def getMaxPadding ( self ) : <EOL> return self . _maxPadding <EOL> def setMaxPadding ( self , maxPadding ) : <EOL> self . _maxPadding = maxPadding <EOL> def getMinPadding ( self ) : <EOL> return self . _minPadding <EOL> def setMinPadding ( self , minPadding ) : <EOL> self . _minPadding = minPadding <EOL> def getMinorGrid ( self ) : <EOL> return self . _minorGrid <EOL> def setMinorGrid ( self , minorGrid ) : <EOL> self . _minorGrid = minorGrid <EOL> def getMinorTick ( self ) : <EOL> return self . _minorTick <EOL> def setMinorTick ( self , minorTick ) : <EOL> self . _minorTick = minorTick <EOL> def getOffset ( self ) : <EOL> return self . _offset <EOL> def setOffset ( self , offset ) : <EOL> """<STR_LIT>""" <EOL> self . _offset = offset <EOL> def getShowFirstLabel ( self ) : <EOL> return self . _showFirstLabel <EOL> def setShowFirstLabel ( self , showFirstLabel ) : <EOL> """<STR_LIT>""" <EOL> self . _showFirstLabel = showFirstLabel <EOL> def getShowLastLabel ( self ) : <EOL> return self . _showLastLabel <EOL> def setShowLastLabel ( self , showLastLabel ) : <EOL> """<STR_LIT>""" <EOL> self . _showLastLabel = showLastLabel <EOL> def getStartOfWeek ( self ) : <EOL> return self . _startOfWeek <EOL> def setStartOfWeek ( self , startOfWeek ) : <EOL> """<STR_LIT>""" <EOL> self . _startOfWeek = startOfWeek <EOL> def getStartOnTick ( self ) : <EOL> return self . _startOnTick <EOL> def setStartOnTick ( self , startOnTick ) : <EOL> """<STR_LIT>""" <EOL> self . _startOnTick = startOnTick <EOL> class MinorTick ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _color = None <EOL> self . _interval = None <EOL> self . _length = None <EOL> self . _position = None <EOL> self . _width = None <EOL> def getColor ( self ) : <EOL> return self . _color <EOL> def setColor ( self , color ) : <EOL> self . _color = color <EOL> def getInterval ( self ) : <EOL> return self . _interval <EOL> def setInterval ( self , interval ) : <EOL> """<STR_LIT>""" <EOL> self . _interval = interval <EOL> def getLength ( self ) : <EOL> return self . _length <EOL> def setLength ( self , length ) : <EOL> """<STR_LIT>""" <EOL> self . _length = length <EOL> def getPosition ( self ) : <EOL> return self . _position <EOL> def setPosition ( self , position ) : <EOL> self . _position = position <EOL> def getWidth ( self ) : <EOL> return self . _width <EOL> def setWidth ( self , width ) : <EOL> """<STR_LIT>""" <EOL> self . _width = width <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _color ) <EOL> + '<STR_LIT>' + str ( self . _length ) <EOL> + '<STR_LIT>' + str ( self . _position ) <EOL> + '<STR_LIT>' + str ( self . _width ) <EOL> + '<STR_LIT:]>' ) <EOL> class Tick ( MinorTick ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> super ( Tick , self ) . __init__ ( ) <EOL> self . _placement = None <EOL> self . _pixelInterval = None <EOL> def getPlacement ( self ) : <EOL> return self . _placement <EOL> def setPlacement ( self , placement ) : <EOL> """<STR_LIT>""" <EOL> self . _placement = placement <EOL> def getPixelInterval ( self ) : <EOL> return self . _pixelInterval <EOL> def setPixelInterval ( self , pixelInterval ) : <EOL> """<STR_LIT>""" <EOL> self . _pixelInterval = pixelInterval <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _placement ) <EOL> + '<STR_LIT>' + str ( self . _pixelInterval ) <EOL> + '<STR_LIT>' + str ( self . getColor ( ) ) <EOL> + '<STR_LIT>' + str ( self . getLength ( ) ) <EOL> + '<STR_LIT>' + str ( self . getPosition ( ) ) <EOL> + '<STR_LIT>' + str ( self . getWidth ( ) ) <EOL> + '<STR_LIT:]>' ) <EOL> class MinorGrid ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _lineColor = None <EOL> self . _lineDashStyle = None <EOL> self . _lineWidth = None <EOL> def getLineColor ( self ) : <EOL> return self . _lineColor <EOL> def setLineColor ( self , lineColor ) : <EOL> """<STR_LIT>""" <EOL> self . _lineColor = lineColor <EOL> def getLineDashStyle ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _lineDashStyle <EOL> def setLineDashStyle ( self , lineDashStyle ) : <EOL> """<STR_LIT>""" <EOL> self . _lineDashStyle = lineDashStyle <EOL> def getLineWidth ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _lineWidth <EOL> def setLineWidth ( self , lineWidth ) : <EOL> """<STR_LIT>""" <EOL> self . _lineWidth = lineWidth <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _lineColor ) <EOL> + '<STR_LIT>' + str ( self . _lineDashStyle ) <EOL> + '<STR_LIT>' + str ( self . _lineWidth ) <EOL> + '<STR_LIT:]>' ) <EOL> class Grid ( MinorGrid ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class WeekDay ( object ) : <EOL> SUNDAY = '<STR_LIT>' <EOL> MONDAY = '<STR_LIT>' <EOL> TUESDAY = '<STR_LIT>' <EOL> WEDNESDAY = '<STR_LIT>' <EOL> THURSDAY = '<STR_LIT>' <EOL> FRIDAY = '<STR_LIT>' <EOL> SATURDAY = '<STR_LIT>' <EOL> _values = [ SUNDAY , MONDAY , TUESDAY , WEDNESDAY , THURSDAY , FRIDAY , SATURDAY ] <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return cls . _values [ : ] <EOL> class TickmarkPlacement ( object ) : <EOL> """<STR_LIT>""" <EOL> ON = None <EOL> BETWEEN = None <EOL> def __init__ ( self , name ) : <EOL> self . _name = name <EOL> def getName ( self ) : <EOL> return self . _name <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . ON , cls . BETWEEN ] <EOL> TickmarkPlacement . ON = TickmarkPlacement ( '<STR_LIT>' ) <EOL> TickmarkPlacement . BETWEEN = TickmarkPlacement ( '<STR_LIT>' ) <EOL> class TickPosition ( object ) : <EOL> """<STR_LIT>""" <EOL> OUTSIDE = None <EOL> INSIDE = None <EOL> def __init__ ( self , name ) : <EOL> self . _name = name <EOL> def getName ( self ) : <EOL> return self . _name <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . OUTSIDE , cls . INSIDE ] <EOL> TickPosition . OUTSIDE = TickPosition ( '<STR_LIT>' ) <EOL> TickPosition . INSIDE = TickPosition ( '<STR_LIT>' ) <EOL> class AxisType ( object ) : <EOL> """<STR_LIT>""" <EOL> LINEAR = None <EOL> DATETIME = None <EOL> def __init__ ( self , typ ) : <EOL> self . _type = typ <EOL> def getName ( self ) : <EOL> return self . _type <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . LINEAR , cls . DATETIME ] <EOL> AxisType . LINEAR = AxisType ( '<STR_LIT>' ) <EOL> AxisType . DATETIME = AxisType ( '<STR_LIT>' ) <EOL> class AxisTitleAlign ( object ) : <EOL> LOW = [ '<STR_LIT>' ] <EOL> MIDDLE = [ '<STR_LIT>' ] <EOL> HIGH = [ '<STR_LIT>' ] <EOL> def __init__ ( self , name ) : <EOL> self . _name = name <EOL> def getName ( self ) : <EOL> return self . _name <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . LOW , cls . MIDDLE , cls . HIGH ] <EOL> AxisTitleAlign . LOW = AxisTitleAlign ( '<STR_LIT>' ) <EOL> AxisTitleAlign . MIDDLE = AxisTitleAlign ( '<STR_LIT>' ) <EOL> AxisTitleAlign . HIGH = AxisTitleAlign ( '<STR_LIT>' ) <EOL> class AxisTitle ( object ) : <EOL> def __init__ ( self , text ) : <EOL> self . _text = text <EOL> self . _align = None <EOL> self . _style = None <EOL> self . _rotation = None <EOL> self . _margin = None <EOL> def getText ( self ) : <EOL> return self . _text <EOL> def setText ( self , text ) : <EOL> self . _text = text <EOL> def getAlign ( self ) : <EOL> return self . _align <EOL> def setAlign ( self , align ) : <EOL> self . _align = align <EOL> def getStyle ( self ) : <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> self . _style = style <EOL> def getRotation ( self ) : <EOL> return self . _rotation <EOL> def setRotation ( self , rotation ) : <EOL> self . _rotation = rotation <EOL> def getMargin ( self ) : <EOL> return self . _margin <EOL> def setMargin ( self , margin ) : <EOL> self . _margin = margin <EOL> class PlotLabel ( object ) : <EOL> def __init__ ( self , text ) : <EOL> super ( PlotLabel , self ) . __init__ ( ) <EOL> self . _text = text <EOL> self . _align = None <EOL> self . _vertAlign = None <EOL> self . _rotation = None <EOL> self . _style = None <EOL> self . _textAlign = None <EOL> self . _x = None <EOL> self . _y = None <EOL> def getText ( self ) : <EOL> return self . _text <EOL> def setText ( self , text ) : <EOL> self . _text = text <EOL> def getAlign ( self ) : <EOL> return self . _align <EOL> def setAlign ( self , align ) : <EOL> self . _align = align <EOL> def getVertAlign ( self ) : <EOL> return self . _vertAlign <EOL> def setVertAlign ( self , vertAlign ) : <EOL> self . _vertAlign = vertAlign <EOL> def getRotation ( self ) : <EOL> return self . _rotation <EOL> def setRotation ( self , rotation ) : <EOL> self . _rotation = rotation <EOL> def getStyle ( self ) : <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> self . _style = style <EOL> def getTextAlign ( self ) : <EOL> return self . _textAlign <EOL> def setTextAlign ( self , textAlign ) : <EOL> self . _textAlign = textAlign <EOL> def getX ( self ) : <EOL> return self . _x <EOL> def setX ( self , x ) : <EOL> self . _x = x <EOL> def getY ( self ) : <EOL> return self . _y <EOL> def setY ( self , y ) : <EOL> self . _y = y <EOL> class PlotBand ( object ) : <EOL> def __init__ ( self , Id ) : <EOL> self . _id = Id <EOL> self . _color = None <EOL> self . _range = None <EOL> self . _zIndex = None <EOL> self . _label = None <EOL> def getColor ( self ) : <EOL> return self . _color <EOL> def setColor ( self , color ) : <EOL> self . _color = color <EOL> def getRange ( self ) : <EOL> return self . _range <EOL> def setRange ( self , rng ) : <EOL> self . _range = rng <EOL> def getId ( self ) : <EOL> return self . _id <EOL> def getZIndex ( self ) : <EOL> return self . _zIndex <EOL> def setZIndex ( self , zIndex ) : <EOL> self . _zIndex = zIndex <EOL> def getLabel ( self ) : <EOL> return self . _label <EOL> def setLabel ( self , label ) : <EOL> self . _label = label <EOL> def __hash__ ( self ) : <EOL> prime = <NUM_LIT> <EOL> result = <NUM_LIT:1> <EOL> result = ( prime * result ) + ( <NUM_LIT:0> if self . _id is None else self . _id . __hash__ ( ) ) <EOL> return result <EOL> def __eq__ ( self , obj ) : <EOL> if self is obj : <EOL> return True <EOL> if obj is None : <EOL> return False <EOL> if self . getClass ( ) != obj . getClass ( ) : <EOL> return False <EOL> other = obj <EOL> if self . _id is None : <EOL> if other . id is not None : <EOL> return False <EOL> elif not ( self . _id == other . id ) : <EOL> return False <EOL> return True <EOL> class Range ( object ) : <EOL> pass <EOL> class NumberPlotBand ( PlotBand ) : <EOL> def __init__ ( self , Id ) : <EOL> super ( NumberPlotBand , self ) . __init__ ( Id ) <EOL> def getRange ( self ) : <EOL> return super ( NumberPlotBand , self ) . getRange ( ) <EOL> def setRange ( self , rang ) : <EOL> super ( NumberPlotBand , self ) . setRange ( rang ) <EOL> class NumberRange ( Range ) : <EOL> def __init__ ( self , from_ , to ) : <EOL> super ( NumberRange , self ) . __init__ ( ) <EOL> self . _from = from_ <EOL> self . _to = to <EOL> def getFrom ( self ) : <EOL> return self . _from <EOL> def setFrom ( self , from_ ) : <EOL> self . _from = from_ <EOL> def getTo ( self ) : <EOL> return self . _to <EOL> def setTo ( self , to ) : <EOL> self . _to = to <EOL> class DateTimePlotBand ( PlotBand ) : <EOL> def __init__ ( self , Id ) : <EOL> super ( DateTimePlotBand , self ) . __init__ ( Id ) <EOL> def getRange ( self ) : <EOL> return super ( DateTimePlotBand , self ) . getRange ( ) <EOL> def setRange ( self , rang ) : <EOL> super ( DateTimePlotBand , self ) . setRange ( rang ) <EOL> class DateTimeRange ( Range ) : <EOL> def __init__ ( self , from_ , to ) : <EOL> super ( DateTimeRange , self ) . __init__ ( ) <EOL> self . _from = from_ <EOL> self . _to = to <EOL> def getFrom ( self ) : <EOL> return self . _from <EOL> def setFrom ( self , from_ ) : <EOL> self . _from = from_ <EOL> def getTo ( self ) : <EOL> return self . _to <EOL> def setTo ( self , to ) : <EOL> self . _to = to <EOL> class PlotLine ( object ) : <EOL> def __init__ ( self , Id ) : <EOL> self . _id = Id <EOL> self . _color = None <EOL> self . _dashStyle = None <EOL> self . _value = None <EOL> self . _width = <NUM_LIT:1> <EOL> self . _zIndex = None <EOL> self . _label = None <EOL> def getColor ( self ) : <EOL> return self . _color <EOL> def setColor ( self , color ) : <EOL> self . _color = color <EOL> def getDashStyle ( self ) : <EOL> return self . _dashStyle <EOL> def setDashStyle ( self , dashStyle ) : <EOL> self . _dashStyle = dashStyle <EOL> def getId ( self ) : <EOL> return self . _id <EOL> def setId ( self , Id ) : <EOL> self . _id = Id <EOL> def getValue ( self ) : <EOL> return self . _value <EOL> def setValue ( self , value ) : <EOL> self . _value = value <EOL> def getWidth ( self ) : <EOL> return self . _width <EOL> def setWidth ( self , width ) : <EOL> self . _width = width <EOL> def getZIndex ( self ) : <EOL> return self . _zIndex <EOL> def setZIndex ( self , zIndex ) : <EOL> self . _zIndex = zIndex <EOL> def getLabel ( self ) : <EOL> return self . _label <EOL> def setLabel ( self , label ) : <EOL> self . _label = label <EOL> class Value ( object ) : <EOL> pass <EOL> class NumberPlotLine ( PlotLine ) : <EOL> def __init__ ( self , Id ) : <EOL> super ( NumberPlotLine , self ) . __init__ ( Id ) <EOL> def getValue ( self ) : <EOL> return super ( NumberPlotLine , self ) . getValue ( ) <EOL> def setValue ( self , value ) : <EOL> super ( NumberPlotLine , self ) . setValue ( value ) <EOL> class NumberValue ( Value ) : <EOL> def __init__ ( self , value ) : <EOL> super ( NumberValue , self ) . __init__ ( ) <EOL> self . _value = value <EOL> def getValue ( self ) : <EOL> return self . _value <EOL> def setValue ( self , value ) : <EOL> self . _value = value <EOL> class DateTimePlotLine ( PlotLine ) : <EOL> def __init__ ( self , Id ) : <EOL> super ( DateTimePlotLine , self ) . __init__ ( Id ) <EOL> def getValue ( self ) : <EOL> return super ( DateTimePlotLine , self ) . getValue ( ) <EOL> def setValue ( self , value ) : <EOL> super ( DateTimePlotLine , self ) . setValue ( value ) <EOL> class DateTimeValue ( Value ) : <EOL> def __init__ ( self , value ) : <EOL> super ( DateTimeValue , self ) . __init__ ( ) <EOL> self . _value = value <EOL> def getValue ( self ) : <EOL> return self . _value <EOL> def setValue ( self , value ) : <EOL> self . _value = value <EOL> class NumberAxis ( AxisBase ) : <EOL> def __init__ ( self ) : <EOL> super ( NumberAxis , self ) . __init__ ( ) <EOL> super ( NumberAxis , self ) . setType ( AxisType . LINEAR ) <EOL> self . _allowDecimals = None <EOL> self . _max = None <EOL> self . _min = None <EOL> def getAllowDecimals ( self ) : <EOL> return self . _allowDecimals <EOL> def setAllowDecimals ( self , allowDecimals ) : <EOL> self . _allowDecimals = allowDecimals <EOL> def setMax ( self , mx ) : <EOL> self . _max = mx <EOL> def setMin ( self , mn ) : <EOL> self . _min = mn <EOL> def getMin ( self ) : <EOL> return self . _min <EOL> def getMax ( self ) : <EOL> return self . _max <EOL> def getPlotBands ( self ) : <EOL> return super ( NumberAxis , self ) . getAllPlotBands ( ) <EOL> def setPlotBands ( self , plotBands ) : <EOL> super ( NumberAxis , self ) . setAllPlotBands ( plotBands ) <EOL> def addPlotBand ( self , plotBand ) : <EOL> super ( NumberAxis , self ) . addPlotBand ( plotBand ) <EOL> def removePlotBand ( self , plotBand ) : <EOL> super ( NumberAxis , self ) . removePlotBand ( plotBand ) <EOL> def getPlotLines ( self ) : <EOL> return super ( NumberAxis , self ) . getAllPlotLines ( ) <EOL> def setPlotLines ( self , plotLines ) : <EOL> super ( NumberAxis , self ) . setAllPlotLines ( plotLines ) <EOL> def addPlotLine ( self , plotLine ) : <EOL> super ( NumberAxis , self ) . addPlotLine ( plotLine ) <EOL> def removePlotLine ( self , plotLine ) : <EOL> super ( NumberAxis , self ) . removePlotLine ( plotLine ) <EOL> class NumberXAxis ( NumberAxis , XAxis ) : <EOL> def setLabel ( self , label ) : <EOL> super ( NumberXAxis , self ) . setLabel ( label ) <EOL> def getLabel ( self ) : <EOL> return super ( NumberXAxis , self ) . getLabel ( ) <EOL> class NumberYAxis ( NumberAxis , YAxis ) : <EOL> def setLabel ( self , label ) : <EOL> super ( NumberYAxis , self ) . setLabel ( label ) <EOL> def getLabel ( self ) : <EOL> return super ( NumberYAxis , self ) . getLabel ( ) <EOL> class DateTimeAxis ( AxisBase , XAxis ) : <EOL> def __init__ ( self ) : <EOL> super ( DateTimeAxis , self ) . __init__ ( ) <EOL> super ( DateTimeAxis , self ) . setType ( AxisType . DATETIME ) <EOL> self . _dateTimeLabelFormats = None <EOL> self . _max = None <EOL> self . _min = None <EOL> def getDateTimeLabelFormat ( self ) : <EOL> return self . _dateTimeLabelFormats <EOL> def setDateTimeLabelFormat ( self , dateTimeLabelFormat ) : <EOL> self . _dateTimeLabelFormats = dateTimeLabelFormat <EOL> def setMax ( self , mx ) : <EOL> self . _max = mx <EOL> def setMin ( self , mn ) : <EOL> self . _min = mn <EOL> def getMin ( self ) : <EOL> return self . _min <EOL> def getMax ( self ) : <EOL> return self . _max <EOL> def getPlotBands ( self ) : <EOL> return super ( DateTimeAxis , self ) . getAllPlotBands ( ) <EOL> def setPlotBands ( self , plotBands ) : <EOL> super ( DateTimeAxis , self ) . setAllPlotBands ( plotBands ) <EOL> def addPlotBand ( self , plotBand ) : <EOL> super ( DateTimeAxis , self ) . addPlotBand ( plotBand ) <EOL> def removePlotBand ( self , plotBand ) : <EOL> super ( DateTimeAxis , self ) . removePlotBand ( plotBand ) <EOL> def getPlotLines ( self ) : <EOL> return super ( DateTimeAxis , self ) . getAllPlotLines ( ) <EOL> def setPlotLines ( self , plotLines ) : <EOL> super ( DateTimeAxis , self ) . setAllPlotLines ( plotLines ) <EOL> def addPlotLine ( self , plotLine ) : <EOL> super ( DateTimeAxis , self ) . addPlotLine ( plotLine ) <EOL> def removePlotLine ( self , plotLine ) : <EOL> super ( DateTimeAxis , self ) . removePlotLine ( plotLine ) <EOL> class DateTimeLabelFormat ( object ) : <EOL> def __init__ ( self ) : <EOL> self . _second = '<STR_LIT>' <EOL> self . _minute = '<STR_LIT>' <EOL> self . _hour = '<STR_LIT>' <EOL> self . _day = '<STR_LIT>' <EOL> self . _week = '<STR_LIT>' <EOL> self . _month = '<STR_LIT>' <EOL> self . _year = '<STR_LIT>' <EOL> def getSecond ( self ) : <EOL> return self . _second <EOL> def setSecond ( self , second ) : <EOL> self . _second = second <EOL> def getMinute ( self ) : <EOL> return self . _minute <EOL> def setMinute ( self , minute ) : <EOL> self . _minute = minute <EOL> def getHour ( self ) : <EOL> return self . _hour <EOL> def setHour ( self , hour ) : <EOL> self . _hour = hour <EOL> def getDay ( self ) : <EOL> return self . _day <EOL> def setDay ( self , day ) : <EOL> self . _day = day <EOL> def getWeek ( self ) : <EOL> return self . _week <EOL> def setWeek ( self , week ) : <EOL> self . _week = week <EOL> def getMonth ( self ) : <EOL> return self . _month <EOL> def setMonth ( self , month ) : <EOL> self . _month = month <EOL> def getYear ( self ) : <EOL> return self . _year <EOL> def setYear ( self , year ) : <EOL> self . _year = year <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + self . _second <EOL> + '<STR_LIT>' + self . _minute <EOL> + '<STR_LIT>' + self . _hour <EOL> + '<STR_LIT>' + self . _day <EOL> + '<STR_LIT>' + self . _week <EOL> + '<STR_LIT>' + self . _month <EOL> + '<STR_LIT>' + self . _year + '<STR_LIT:]>' ) <EOL> class CategoryAxis ( AxisBase , XAxis ) : <EOL> def __init__ ( self ) : <EOL> super ( CategoryAxis , self ) . __init__ ( ) <EOL> self . _categories = list ( ) <EOL> def getCategories ( self ) : <EOL> return self . _categories <EOL> def setCategories ( self , categories ) : <EOL> if categories is not None : <EOL> self . _categories = categories <EOL> def setLabel ( self , label ) : <EOL> super ( CategoryAxis , self ) . setLabel ( label ) <EOL> def getLabel ( self ) : <EOL> return super ( CategoryAxis , self ) . getLabel ( ) <EOL> def getPlotBands ( self ) : <EOL> return super ( CategoryAxis , self ) . getAllPlotBands ( ) <EOL> def setPlotBands ( self , plotBands ) : <EOL> super ( CategoryAxis , self ) . setAllPlotBands ( plotBands ) <EOL> def addPlotBand ( self , plotBand ) : <EOL> super ( CategoryAxis , self ) . addPlotBand ( plotBand ) <EOL> def removePlotBand ( self , plotBand ) : <EOL> super ( CategoryAxis , self ) . removePlotBand ( plotBand ) <EOL> def getPlotLines ( self ) : <EOL> return super ( CategoryAxis , self ) . getAllPlotLines ( ) <EOL> def setPlotLines ( self , plotLines ) : <EOL> super ( CategoryAxis , self ) . setAllPlotLines ( plotLines ) <EOL> def addPlotLine ( self , plotLine ) : <EOL> super ( CategoryAxis , self ) . addPlotLine ( plotLine ) <EOL> def removePlotLine ( self , plotLine ) : <EOL> super ( CategoryAxis , self ) . removePlotLine ( plotLine ) <EOL> class Legend ( object ) : <EOL> def __init__ ( self , enabled = True ) : <EOL> self . _backgroundColor = None <EOL> self . _borderColor = None <EOL> self . _borderRadius = None <EOL> self . _borderWidth = None <EOL> self . _enabled = enabled <EOL> self . _floating = None <EOL> self . _itemHiddenStyle = None <EOL> self . _itemHoverStyle = None <EOL> self . _itemStyle = None <EOL> self . _itemWidth = None <EOL> self . _layout = None <EOL> self . _labelFormatterJsFunc = None <EOL> self . _margin = None <EOL> self . _reversed = None <EOL> self . _shadow = None <EOL> self . _symbolPadding = None <EOL> self . _symbolWidth = None <EOL> self . _width = None <EOL> self . _position = None <EOL> def getBackgroundColor ( self ) : <EOL> return self . _backgroundColor <EOL> def setBackgroundColor ( self , backgroundColor ) : <EOL> self . _backgroundColor = backgroundColor <EOL> def getBorderColor ( self ) : <EOL> return self . _borderColor <EOL> def setBorderColor ( self , borderColor ) : <EOL> self . _borderColor = borderColor <EOL> def getBorderRadius ( self ) : <EOL> return self . _borderRadius <EOL> def setBorderRadius ( self , borderRadius ) : <EOL> self . _borderRadius = borderRadius <EOL> def getBorderWidth ( self ) : <EOL> return self . _borderWidth <EOL> def setBorderWidth ( self , borderWidth ) : <EOL> self . _borderWidth = borderWidth <EOL> def getEnabled ( self ) : <EOL> return self . _enabled <EOL> def setEnabled ( self , enabled ) : <EOL> self . _enabled = enabled <EOL> def getFloating ( self ) : <EOL> return self . _floating <EOL> def setFloating ( self , floating ) : <EOL> self . _floating = floating <EOL> def getItemHiddenStyle ( self ) : <EOL> return self . _itemHiddenStyle <EOL> def setItemHiddenStyle ( self , itemHiddenStyle ) : <EOL> self . _itemHiddenStyle = itemHiddenStyle <EOL> def getItemHoverStyle ( self ) : <EOL> return self . _itemHoverStyle <EOL> def setItemHoverStyle ( self , itemHoverStyle ) : <EOL> self . _itemHoverStyle = itemHoverStyle <EOL> def getItemStyle ( self ) : <EOL> return self . _itemStyle <EOL> def setItemStyle ( self , itemStyle ) : <EOL> self . _itemStyle = itemStyle <EOL> def getItemWidth ( self ) : <EOL> return self . _itemWidth <EOL> def setItemWidth ( self , itemWidth ) : <EOL> self . _itemWidth = itemWidth <EOL> def getLayout ( self ) : <EOL> return self . _layout <EOL> def setLayout ( self , layout ) : <EOL> self . _layout = layout <EOL> def getLabelFormatterJsFunc ( self ) : <EOL> return self . _labelFormatterJsFunc <EOL> def setLabelFormatterJsFunc ( self , labelFormatterJsFunc ) : <EOL> self . _labelFormatterJsFunc = labelFormatterJsFunc <EOL> def getMargin ( self ) : <EOL> return self . _margin <EOL> def setMargin ( self , margin ) : <EOL> self . _margin = margin <EOL> def getReversed ( self ) : <EOL> return self . _reversed <EOL> def setReversed ( self , r ) : <EOL> self . _reversed = r <EOL> def getShadow ( self ) : <EOL> return self . _shadow <EOL> def setShadow ( self , shadow ) : <EOL> self . _shadow = shadow <EOL> def getSymbolPadding ( self ) : <EOL> return self . _symbolPadding <EOL> def setSymbolPadding ( self , symbolPadding ) : <EOL> self . _symbolPadding = symbolPadding <EOL> def getSymbolWidth ( self ) : <EOL> return self . _symbolWidth <EOL> def setSymbolWidth ( self , symbolWidth ) : <EOL> self . _symbolWidth = symbolWidth <EOL> def getWidth ( self ) : <EOL> return self . _width <EOL> def setWidth ( self , width ) : <EOL> self . _width = width <EOL> def getPosition ( self ) : <EOL> return self . _position <EOL> def setPosition ( self , position ) : <EOL> self . _position = position <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _backgroundColor ) <EOL> + '<STR_LIT>' + str ( self . _borderColor ) <EOL> + '<STR_LIT>' + str ( self . _borderRadius ) <EOL> + '<STR_LIT>' + str ( self . _borderWidth ) <EOL> + '<STR_LIT>' + str ( self . _enabled ) <EOL> + '<STR_LIT>' + str ( self . _floating ) <EOL> + '<STR_LIT>' + str ( self . _itemHiddenStyle ) <EOL> + '<STR_LIT>' + str ( self . _itemHoverStyle ) <EOL> + '<STR_LIT>' + str ( self . _itemStyle ) <EOL> + '<STR_LIT>' + str ( self . _itemWidth ) <EOL> + '<STR_LIT>' + str ( self . _layout ) <EOL> + '<STR_LIT>' + str ( self . _labelFormatterJsFunc ) <EOL> + '<STR_LIT>' + str ( self . _margin ) <EOL> + '<STR_LIT>' + str ( self . _reversed ) <EOL> + '<STR_LIT>' + str ( self . _shadow ) <EOL> + '<STR_LIT>' + str ( self . _symbolPadding ) <EOL> + '<STR_LIT>' + str ( self . _symbolWidth ) <EOL> + '<STR_LIT>' + str ( self . _width ) <EOL> + '<STR_LIT>' + str ( self . _position ) <EOL> + '<STR_LIT:]>' ) <EOL> class Layout ( object ) : <EOL> HORIZONTAL = None <EOL> VERTICAL = None <EOL> def __init__ ( self , name ) : <EOL> self . _name = name <EOL> def getName ( self ) : <EOL> return self . _name <EOL> @ classmethod <EOL> def values ( cls ) : <EOL> return [ cls . HORIZONTAL , cls . VERTICAL ] <EOL> Layout . HORIZONTAL = Layout ( '<STR_LIT>' ) <EOL> Layout . VERTICAL = Layout ( '<STR_LIT>' ) <EOL> class Credit ( object ) : <EOL> def __init__ ( self ) : <EOL> self . _enabled = None <EOL> self . _link = None <EOL> self . _style = None <EOL> self . _text = None <EOL> self . _position = None <EOL> def getEnabled ( self ) : <EOL> return self . _enabled <EOL> def setEnabled ( self , enabled ) : <EOL> self . _enabled = enabled <EOL> def getLink ( self ) : <EOL> return self . _link <EOL> def setLink ( self , link ) : <EOL> self . _link = link <EOL> def getStyle ( self ) : <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> self . _style = style <EOL> def getText ( self ) : <EOL> return self . _text <EOL> def setText ( self , text ) : <EOL> self . _text = text <EOL> def getPosition ( self ) : <EOL> return self . _position <EOL> def setPosition ( self , position ) : <EOL> self . _position = position <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _enabled ) <EOL> + '<STR_LIT>' + str ( self . _link ) <EOL> + '<STR_LIT>' + str ( self . _style ) <EOL> + '<STR_LIT>' + str ( self . _text ) <EOL> + '<STR_LIT>' + str ( self . _position ) <EOL> + '<STR_LIT:]>' ) <EOL> class Position ( object ) : <EOL> def __init__ ( self ) : <EOL> self . _align = None <EOL> self . _vertAlign = None <EOL> self . _x = None <EOL> self . _y = None <EOL> def getAlign ( self ) : <EOL> return self . _align <EOL> def setAlign ( self , align ) : <EOL> self . _align = align <EOL> def getVertAlign ( self ) : <EOL> return self . _vertAlign <EOL> def setVertAlign ( self , vertAlign ) : <EOL> self . _vertAlign = vertAlign <EOL> def getX ( self ) : <EOL> return self . _x <EOL> def setX ( self , x ) : <EOL> self . _x = x <EOL> def getY ( self ) : <EOL> return self . _y <EOL> def setY ( self , y ) : <EOL> self . _y = y <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _align ) <EOL> + '<STR_LIT>' + str ( self . _vertAlign ) <EOL> + '<STR_LIT>' + str ( self . _x ) <EOL> + '<STR_LIT>' + str ( self . _y ) + '<STR_LIT:]>' ) <EOL> class Tooltip ( object ) : <EOL> def __init__ ( self ) : <EOL> self . _backgroundColor = None <EOL> self . _borderColor = None <EOL> self . _borderRadius = None <EOL> self . _borderWidth = None <EOL> self . _crosshairs = None <EOL> self . _enabled = None <EOL> self . _formatterJsFunc = None <EOL> self . _shadow = None <EOL> self . _shared = None <EOL> self . _snap = None <EOL> self . _style = None <EOL> def getBackgroundColor ( self ) : <EOL> return self . _backgroundColor <EOL> def setBackgroundColor ( self , backgroundColor ) : <EOL> self . _backgroundColor = backgroundColor <EOL> def getBorderColor ( self ) : <EOL> return self . _borderColor <EOL> def setBorderColor ( self , borderColor ) : <EOL> self . _borderColor = borderColor <EOL> def getBorderRadius ( self ) : <EOL> return self . _borderRadius <EOL> def setBorderRadius ( self , borderRadius ) : <EOL> self . _borderRadius = borderRadius <EOL> def getBorderWidth ( self ) : <EOL> return self . _borderWidth <EOL> def setBorderWidth ( self , borderWidth ) : <EOL> self . _borderWidth = borderWidth <EOL> def getCrosshairs ( self ) : <EOL> return self . _crosshairs <EOL> def setCrosshairs ( self , crosshairs ) : <EOL> self . _crosshairs = crosshairs <EOL> def getEnabled ( self ) : <EOL> return self . _enabled <EOL> def setEnabled ( self , enabled ) : <EOL> self . _enabled = enabled <EOL> def getFormatterJsFunc ( self ) : <EOL> return self . _formatterJsFunc <EOL> def setFormatterJsFunc ( self , formatterJsFunc ) : <EOL> self . _formatterJsFunc = formatterJsFunc <EOL> def getShadow ( self ) : <EOL> return self . _shadow <EOL> def setShadow ( self , shadow ) : <EOL> self . _shadow = shadow <EOL> def getShared ( self ) : <EOL> return self . _shared <EOL> def setShared ( self , shared ) : <EOL> self . _shared = shared <EOL> def getSnap ( self ) : <EOL> return self . _snap <EOL> def setSnap ( self , snap ) : <EOL> self . _snap = snap <EOL> def getStyle ( self ) : <EOL> return self . _style <EOL> def setStyle ( self , style ) : <EOL> self . _style = style <EOL> def __str__ ( self ) : <EOL> return ( '<STR_LIT>' + str ( self . _backgroundColor ) <EOL> + '<STR_LIT>' + str ( self . _borderColor ) <EOL> + '<STR_LIT>' + str ( self . _borderRadius ) <EOL> + '<STR_LIT>' + str ( self . _borderWidth ) <EOL> + '<STR_LIT>' + str ( self . _crosshairs ) <EOL> + '<STR_LIT>' + str ( self . _enabled ) <EOL> + '<STR_LIT>' + str ( self . _formatterJsFunc ) <EOL> + '<STR_LIT>' + str ( self . _shadow ) <EOL> + '<STR_LIT>' + str ( self . _shared ) <EOL> + '<STR_LIT>' + str ( self . _snap ) <EOL> + '<STR_LIT>' + str ( self . _style ) <EOL> + '<STR_LIT:]>' ) </s>
