def __init__(self): ChartObject.__init__(self) #private properties: self._show_values = True self._color = gtk.gdk.color_parse("#dedede") self._line_style = pygtk_chart.LINE_STYLE_SOLID self._padding = 6
def __init__(self, position, text, size=None, slant=pango.STYLE_NORMAL, weight=pango.WEIGHT_NORMAL, underline=pango.UNDERLINE_NONE, anchor=ANCHOR_BOTTOM_LEFT, max_width=99999, fixed=False): ChartObject.__init__(self) self._position = position self._text = text self._size = size self._slant = slant self._weight = weight self._underline = underline self._anchor = anchor self._rotation = 0 self._color = gtk.gdk.Color() self._max_width = max_width self._fixed = fixed self._wrap = True self._markup = False self._real_dimensions = (0, 0) self._real_position = (0, 0) self._line_count = 1 self._context = None self._layout = None
def __init__(self, name, value, title=""): ChartObject.__init__(self) self._name = name self._value = value self._label = title self._color = COLOR_AUTO self._highlighted = False
def __init__(self): ChartObject.__init__(self) self._color = gtk.gdk.color_parse( "#ffffff") #the backgound is filled white by default self._gradient = None self._image = "" self._pixbuf = None
def __init__(self, name, title=""): ChartObject.__init__(self) #private properties: self._group_label_object = label.Label((0, 0), title) #gobject properties: self._bars = [] self._name = name self._title = title self._bar_padding = 2
def __init__(self): ChartObject.__init__(self) self._color = gtk.gdk.color_parse("#ffffff") #the backgound is filled white by default self._gradient = None self._image = "" self._pixbuf = None