Search found 9 matches
- Sun Jan 16, 2011 4:00 pm
- Forum: JFreeChart
- Topic: Duplicate item title - data does not get displayed
- Replies: 1
- Views: 3316
Duplicate item title - data does not get displayed
This is probably not a bug (depends how you look a t it), just a note: on this image, there is all OK. http://www.shrani.si/t/Y/HQ/1DfRyEK5/tmp.jpg But if I would not include (FR) and (SI) on the end of items, jfreechart would consider that, as only two series of data, and only 2 lines would appear ...
- Thu Dec 23, 2010 9:25 pm
- Forum: JFreeChart
- Topic: setting gap on y axis
- Replies: 2
- Views: 6907
Re: setting gap on y axis
Thanks.
- Thu Dec 23, 2010 9:32 am
- Forum: JFreeChart
- Topic: setting gap on y axis
- Replies: 2
- Views: 6907
setting gap on y axis
what I have now is: rangeAxis.setRange(min,max) which draws as: http://www.shrani.si/t/1h/hi/4r1srhkL/tmp.jpg But I don't want min/max to go exactly to the bottom/top (in some cases goes off the gray area !). There should be a gap to bottom/top set in pixels ! I tryed to calculete something,to exten...
- Tue Dec 21, 2010 2:52 pm
- Forum: JFreeChart
- Topic: dots without connection to other dots
- Replies: 5
- Views: 11967
Re: dots without connection to other dots
it says that getColumnCount does not take any parameters.
Doh, moving 'series' out, makes it workable, and looks like it solves the problem.
Up: old, down

Many thanks !
Code: Select all
getPlot().getDataset().getColumnCount(series)
Up: old, down


Many thanks !
- Tue Dec 21, 2010 12:57 am
- Forum: JFreeChart
- Topic: dots without connection to other dots
- Replies: 5
- Views: 11967
Re: dots without connection to other dots
Here is a live example (does not get melted in, the dots are 'off line', best seen for my eyes on blue line): http://agrozoo.net/jsp/statistics_agricultural_prices.jsp?l2=en final LineAndShapeRenderer renderer = (LineAndShapeRenderer) plot.getRenderer(); for (int i = 0; i < 20; i++) { renderer.setSe...
- Sun Dec 19, 2010 11:00 am
- Forum: JFreeChart
- Topic: dots without connection to other dots
- Replies: 5
- Views: 11967
dots without connection to other dots
if you look hard(i don't have to, it bothers me without looking hard) you will see displaced dots on blue line, and I already moved dots arround to do better, no success.The point of image beeing that if you just draw line, then there are no red dots in empty space, but they should be there. http://...
- Sun Dec 19, 2010 3:26 am
- Forum: JFreeChart
- Topic: handling missing data
- Replies: 3
- Views: 8259
Re: handling missing data
yes.
does the trick, but looks ugly, I gues making custom shape will be the quickes way to solve that.
Code: Select all
renderer.setSeriesShapesVisible(0, true);
- Sun Dec 19, 2010 2:46 am
- Forum: JFreeChart
- Topic: handling missing data
- Replies: 3
- Views: 8259
Re: handling missing data
Thanks for replay. Ok just figured it out, if I send 'real' null, then it works. Does not draw anything where null is. if I have data like this , by month: 1 null 3 null 5 6 then there is is just line between 5 and 6, I would expect dot at 1 and 3 (nothing currently), but I guess , for that I have t...
- Sun Dec 19, 2010 2:00 am
- Forum: JFreeChart
- Topic: handling missing data
- Replies: 3
- Views: 8259
handling missing data
suppose I have simple x/y chart, drawing lines on it x axis having months, y having prices Two items, prices: month 1 2 3 4 5 item1/price 3 4 4 item2/price 4 4 5 so I suppose there should be: 1. breaked lines on graph(to be clear, I don't want points for item 1 between 2 and 5 months to be connected...