this.visImage.fill(this.getBackgroundColour());
this.axisRangeY = this.getValueAt(0, 0).getY() - this.getValueAt(0, h).getY();
Float[] c = this.getBarColour();
if (this.useColourMap)
c = this.colourMap.apply((float) (Math.abs(data[i]) / largestAxisValue));
this.visImage.drawShape(barRect, this.getStrokeColour(i));
if (tx + r.width > this.getWidth())
tx = this.getWidth() - (int) r.width;
if (this.isOutlineText())
this.visImage.drawText(text, tx - 1, ty - 1, f, this.textSize, this.getTextStrokeColour());
this.visImage.drawText(text, tx + 1, ty - 1, f, this.textSize, this.getTextStrokeColour());
this.visImage.drawText(text, tx - 1, ty + 1, f, this.textSize, this.getTextStrokeColour());
this.visImage.drawText(text, tx + 1, ty + 1, f, this.textSize, this.getTextStrokeColour());
this.visImage.drawText(text, tx, ty, f, this.textSize, this.getTextColour());
this.visImage.drawLine(0, (int) (h + this.axisLocation), this.getWidth(),
(int) (h + this.axisLocation), this.axisWidth, this.getAxisColour());