سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top