I want to assign a title to a Gauge chart. I've used the code:

Code:
        GaugeAxis<SampleStatsDto> axis = new GaugeAxis<SampleStatsDto>();
        axis.setMargin(8);
        axis.setDisplayGrid(true);
        axis.setMinimum(0.0);
        axis.setMaximum(100.0);
        axis.setTitleConfig( new TextSprite( title ) );
        chart.addAxis(axis);
This results in an empty/blank title (nothing is rendered). In the code for GaugeAxis, there is a private member called title:

Code:
private String title;
But there are no methods to set the value of this title, so it is always null. In the drawAxis( boolean ) method of GaugeAxis, there is the following:

Code:
if (title != null) {
      drawTitle();
    }
but since title is null, drawTitle() will not be called. I thought the issue might be in drawTitle() in GaugeAxis:

Code:
private void drawTitle() {
    PreciseRectangle bbox = chart.getBBox();
    if (titleSprite == null && titleConfig != null) {
      titleSprite = titleConfig.copy();
      chart.addSprite(titleSprite);
    }
    titleSprite.setText(title);

    PreciseRectangle titleBBox = titleSprite.getBBox();
    titleSprite.setX(bbox.getX() + (bbox.getWidth() / 2.0) - (titleBBox.getWidth() / 2.0));
    titleSprite.setY(bbox.getY() + bbox.getHeight() - (titleBBox.getHeight() / 2.0) - 4);

    titleSprite.redraw();
  }
Which I thought was essentially taking the TitleConfig/TitleSprite I created in my code and nulling the title text because the title attribute is null. But the real issue is that title is null so drawTitle() never gets called. Consequently, I can't set a title for my Gauge chart.

Is this an issue/bug, or am I doing something wrong?

Thanks.