Seems to me jfreechart is doing as you asked it. For example, when you say.
Seems to me jfreechart is doing as you asked it. For example, when you say: "If I choose hours, it shows data by day with many bars in between each day (ie, 24 little bars inside the day). " The code you supplied adds an item to the collection for each hour, therefore a separate little bar for each hour is appropriate.
If you change the collection adding logic to only add a value at the time you decide (say once a day at midnight), it should only produce a single bar in the chart for the day in question. In the past I've simply poked values in to the nearest second (not that you need that accuracy), and jfreechart will take care of the rest, depending on the time scale you choose (either programatically or interactively). As in: TimeSeriesCollection dataset = new TimeSeriesCollection(); TimeSeries series = new TimeSeries("Basal", Second.
Class); for (BasalRate basal : pInsulin. Basals) { Second lSecond = new Second(basal.getTime()); series. AddOrUpdate(lSecond, basal.getValue()); } dataset.
AddSeries(series).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.