Exemplo n.º 1
0
    def formatSettings (self, settings):
        UnifiedGraph.formatSettings (self, settings)
        
        addAttr (settings, 'barColor', hex_to_color, Color (210, 10, 10))    
        addAttr (settings, 'barWidth', float, 1.0)    
        addAttr (settings, 'barSpacing', float, .1)    
        addAttr (settings, 'blankSpace', float, .5)

        addAttr (settings, 'horizontal', boolean, False)
Exemplo n.º 2
0
    def formatSettings(self, settings):
        UnifiedGraph.formatSettings(self, settings)

        addAttr(settings, 'barColor', hex_to_color, Color(210, 10, 10))
        addAttr(settings, 'barWidth', float, 1.0)
        addAttr(settings, 'barSpacing', float, .1)
        addAttr(settings, 'blankSpace', float, .5)

        addAttr(settings, 'horizontal', boolean, False)
Exemplo n.º 3
0
    def formatSettings (self, settings):
        UnifiedGraph.formatSettings (self, settings)
        
        addAttr (settings, 'markerSize', float, 2.0)
        addAttr (settings, 'markerType', str, 'circle')

        addAttr (settings, 'colorScheme', str, 'tripleAxis')
        addAttr (settings, 'color1', hex_to_color, hex_to_color ('ff0000'))
        addAttr (settings, 'color2', hex_to_color, hex_to_color ('00ff00'))
        addAttr (settings, 'color3', hex_to_color, hex_to_color ('0000ff'))
        
        addAttr (settings, 'regLineColor', hex_to_color, hex_to_color('000000'))
        addAttr (settings, 'regLineWidth', float, 1.0)
Exemplo n.º 4
0
    def formatSettings(self, settings):
        UnifiedGraph.formatSettings(self, settings)

        addAttr(settings, 'markerSize', float, 2.0)
        addAttr(settings, 'markerType', str, 'circle')

        addAttr(settings, 'colorScheme', str, 'tripleAxis')
        addAttr(settings, 'color1', hex_to_color, hex_to_color('ff0000'))
        addAttr(settings, 'color2', hex_to_color, hex_to_color('00ff00'))
        addAttr(settings, 'color3', hex_to_color, hex_to_color('0000ff'))

        addAttr(settings, 'regLineColor', hex_to_color, hex_to_color('000000'))
        addAttr(settings, 'regLineWidth', float, 1.0)
Exemplo n.º 5
0
    def formatSettings (self, settings):
        UnifiedGraph.formatSettings (self, settings)
        
        addAttr (settings, 'g1MarkerType', str, 'circle')
        addAttr (settings, 'g1MarkerSize', float, '2.0')
        addAttr (settings, 'g1ColorScheme', str, 'solid')
        addAttr (settings, 'g1Color1', hex_to_color, Color (255, 0, 0))
        addAttr (settings, 'g1Color2', hex_to_color, Color (0, 255, 0))
        addAttr (settings, 'g1Color3', hex_to_color, Color (0, 0, 255))
        addAttr (settings, 'g1RegLine', boolean, False)
        addAttr (settings, 'g1RegLineColor', hex_to_color, Color (0, 0, 0))
        addAttr (settings, 'g1RegLineWidth', float, 1.0)

        addAttr (settings, 'g2MarkerType', str, 'square')
        addAttr (settings, 'g2MarkerSize', float, '4.0')
        addAttr (settings, 'g2ColorScheme', str, 'solid')
        addAttr (settings, 'g2Color1', hex_to_color, Color (0, 0, 255))
        addAttr (settings, 'g2Color2', hex_to_color, Color (0, 255, 0))
        addAttr (settings, 'g2Color3', hex_to_color, Color (255, 0, 0))
        addAttr (settings, 'g2RegLine', boolean, False)
        addAttr (settings, 'g2RegLineColor', hex_to_color, Color (0, 0, 0))
        addAttr (settings, 'g2RegLineWidth', float, 1.0)
Exemplo n.º 6
0
    def formatSettings(self, settings):
        UnifiedGraph.formatSettings(self, settings)

        addAttr(settings, 'g1MarkerType', str, 'circle')
        addAttr(settings, 'g1MarkerSize', float, '2.0')
        addAttr(settings, 'g1ColorScheme', str, 'solid')
        addAttr(settings, 'g1Color1', hex_to_color, Color(255, 0, 0))
        addAttr(settings, 'g1Color2', hex_to_color, Color(0, 255, 0))
        addAttr(settings, 'g1Color3', hex_to_color, Color(0, 0, 255))
        addAttr(settings, 'g1RegLine', boolean, False)
        addAttr(settings, 'g1RegLineColor', hex_to_color, Color(0, 0, 0))
        addAttr(settings, 'g1RegLineWidth', float, 1.0)

        addAttr(settings, 'g2MarkerType', str, 'square')
        addAttr(settings, 'g2MarkerSize', float, '4.0')
        addAttr(settings, 'g2ColorScheme', str, 'solid')
        addAttr(settings, 'g2Color1', hex_to_color, Color(0, 0, 255))
        addAttr(settings, 'g2Color2', hex_to_color, Color(0, 255, 0))
        addAttr(settings, 'g2Color3', hex_to_color, Color(255, 0, 0))
        addAttr(settings, 'g2RegLine', boolean, False)
        addAttr(settings, 'g2RegLineColor', hex_to_color, Color(0, 0, 0))
        addAttr(settings, 'g2RegLineWidth', float, 1.0)