1

I want to have something like this on xAxis(CategoryAxis) tick labels with jFreechart How do I achieve this ?

 |
 |
 +----------+------------------+----

                                                --> margin

         India                 China     

Thanks in advance.

Nagesh Salunke
  • 1,278
  • 3
  • 14
  • 37

1 Answers1

1

You could use the setTickLabelInsets() method to put a margin at the top of the tick labels.

David Gilbert
  • 4,427
  • 14
  • 22