Search found 3 matches

by Meenu
Wed Mar 26, 2003 5:55 am
Forum: JFreeChart
Topic: how to keep data from Dataset in the X axis ?
Replies: 5
Views: 7281

x axis labels

i have values in dataset for axis as 1,2,3,4,5,6,7,8,9.......100 i need to plot all the values in LineChart on x-axis It is plotting correctly , but it is also showing all the values on the x-axis as label , but due to less space label are overlapping. i don't want all the labels on the x-axis i wan...
by Meenu
Wed Mar 26, 2003 5:16 am
Forum: JFreeChart
Topic: set range of x axis
Replies: 2
Views: 7377

set range on x-axis

I have tried this code

XYPlot plot = myChart.getXYPlot();
ValueAxis axis = plot.getDomainAxis();
axis.setRange(1.0, 24.0);

but this code is not working with lineChart , because linechart plot is CategoryPlot not XYPlot. It is giving notCompatiablePlot Exception.
by Meenu
Tue Mar 25, 2003 3:02 pm
Forum: JFreeChart
Topic: customizing x-axis values on a LineGraph
Replies: 0
Views: 2683

customizing x-axis values on a LineGraph

I am drawing a linechart which has around 100 value at x-axis. All the values i am plotting on the graph, but while showing the labels on x-axis , i want only few values to come. otherwise values are overlaping onm each other. Graph is all right but values on x-axis are not looking good. is there an...