tick « BarChart « JFreeChart Q&A





1. LogarithmicAxis in BarChart and new Ticks on RangeAxis    jfree.org

Hello, I have solved may problem with the range, I'm sorry but it was so easy that I thought it wouldn't work: I have just set the range from 0.01 to 100 and it works fine. Also the problem with showing the logarithmic axis is nearly solved, by setting a new range axis for every of the both. Thanks

4. tick marks not aligned under start of bar    jfree.org

i'm having a problem w/ bars in an xy barchart plot (using a time series) not starting on the tick mark to which they belong. i am graphing a 52 week period using the following as my date tick unit: DateTickUnit dtu = new DateTickUnit(DateTickUnit.DAY, 7, new SimpleDateFormat("w")); when the graph renders, the bars are moved over to the left of ...

6. TimeSeriesChart + Bars: show bars centered per tick    jfree.org

If I use a bar renderer for a TimeSeriesChart, the bars get drawn from the date tick to the next date tick. This looks like all bars are moved 50% to the right. Instead I want all bars drawn that they are centered over their date tick. Is there such a configuration? Example: Code: Select all /** ...

7. Too many tick labels in BarChart    jfree.org

Hi! I draw a BarChart with 48 columns and I don't want to display all of the tick labels but for example only 5 of them: not: 1 2 3 4 5 6 7 8 9 10 ... but: 1_____5_______10 ... I want to do this, because the tick labels are overlapping. I found something like this on the forum: // ...





10. set tick units on dual axis bar graph    jfree.org

Hi I am new to jfreecharts .... I am able to set the tickunits for xychart as NumberAxis numberAxis = (NumberAxis) xyplot.getDomainAxis(); numberAxis.setTickUnit(new NumberTickUnit(5)); But I am not able to set the same for dual axis bar graph.... Please let me know how to set tick unit for the same.. Thanks in advance.... Shikha

11. set tick units on dual axis bar graph    jfree.org

Hi I have a dual axis bar graph in which my X axis is Category Axis. I am supplying dates for each category. The problem is that when the number of dates is large the category labels get cluttered. Is there any way by which i can set the tick unit in that case.?? Or is there any other type of ...

12. Tick Mark in Bar chart    jfree.org

Hi, How can I create tick mark in x axis for bar chart.and also how can I control the length of tick mark. I tried following method to display tick mark in x axis for bar chart. domainAxis.setTickMarksVisible(true); domainAxis.setTickMarkOutsideLength(2); I am getting domainAxis object by following way CategoryAxis domainAxis = plot.getDomainAxis(); I am able to do the same in line chart ...

13. Tick marks on the bars in a bar chart?    jfree.org

Hi all, I was wondering if it's possible (without using a custom renderer or painter) to put tick marks on the bars in a bar chart in JFreeChart 1.0.13. As far as I can tell, it's not, but I thought I'd ask. If it's not possible, does anyone who has worked this up custom have any code examples they'd be willing ...

14. Bar Chart Tick Unit    jfree.org

Hello, I need help on changing the tick unit for bar charts. The y axis automatically sets the max to whatever dataset is provided and increments by 1 to the max number. I need to manually change the unit tick to 20. I'm trying to make a chart that has percentages on the y-axis