Search found 3 matches

by durga
Mon Aug 20, 2018 10:34 am
Forum: JFreeChart
Topic: How to move legend by mouse drag action
Replies: 0
Views: 2054

How to move legend by mouse drag action

Is is possible to move jfreechart legend by mouse drag action.I implemented LegendTitle and applied legendTitle.setPosition(RectangleEdge.Top) etc.But according to my requirement have to move legend with mouse action.
by durga
Mon Aug 20, 2018 10:21 am
Forum: JFreeChart
Topic: Minorgridlines between axis label values based on given number
Replies: 0
Views: 1971

Minorgridlines between axis label values based on given number

How to add give number of gridlines between Axis values.I have applied .setDomainMinorGridlinesVisible(true) it is adding to X axis.But i need to add minor gridlines based on given number.

If i pass 5,five minor gridlines only will be appear in between axis labels.
by durga
Mon Aug 20, 2018 9:43 am
Forum: JFreeChart
Topic: How to change X Axis's top axis line color
Replies: 0
Views: 1996

How to change X Axis's top axis line color

How to change color of top and bottom lines of X Axis.I have applied xaxis.setAxisLinePaint(color) but it applying to the bottom line only.Is there any option to make color apply to top axis line along with bottom.