def createXAxis (self):
        ax = Group ()
        x = self.canvas.x - self.canvas.height
        y = self.canvas.y + self.canvas.height
        
        if self.settings.horizontal:
            ax.appendTransform (Rotate (-90, self.canvas.x, y))
            UnifiedGraph.createXAxis (self)
        else:
            ax.appendTransform (Rotate (-90, self.canvas.x, self.canvas.y))
            textProperties = {'textHeight': self.settings.xAxisTextHeight,
                              'verticalAnchor': 'middle',
                              'horizontalAnchor': 'right',
                              'maxLines': 1,
                              }
            xaxis = YAxis (id = 'x-axis',
                           #inf = self.canvas.y + self.canvas.height,
                           #sup = self.canvas.y + self.canvas.height - self.canvas.width,
                           inf = self.canvas.y,
                           sup = self.canvas.y - self.canvas.width,
                           #x = self.canvas.x - self.canvas.height - self.settings.xAxisSpace,
                           x = self.canvas.x  - self.settings.xAxisSpace,
                           lower = self.xbounds[0],
                           upper = self.xbounds[1],
                           textProperties = textProperties)
            sizes = []
            ticks = []
            labels = []
            for child in self.canvas.data:
                if child.xml.has_key ('data'):
                    #sizes (child.height)
                    ticks.append (child.x + child.width / 2.0)
                    labels.append (child.xml['data'])
            xaxis.createTicks (ticks)
            xaxis.setText (map (str, labels))
            xaxis.drawTicks ()
            ax.draw (xaxis)
            self.dataGroup.drawAt (ax, 0)
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/__init__.py/BarGraph.createXAxis/original