How to add additional text in JFreechart?

java, jfreechart, swing

Solution

    final Marker start = new ValueMarker(3400000.0);
    start.setPaint(Color.red);
    start.setLabel("Current Value");
    start.setLabelAnchor(RectangleAnchor.BOTTOM_LEFT);
    start.setLabelTextAnchor(TextAnchor.TOP_LEFT);
    plot.addRangeMarker(start);

34,00,000 is counter value. Set counter value as per your need. On (x,y) Axis.

Problem

I just want to add additional details about the chart. how can i include additional details like in the below pic.

Original source