Search found 6 matches

by fhaselbein
Wed Nov 07, 2007 1:30 pm
Forum: JFreeChart
Topic: Align DateTicks to a specific date
Replies: 0
Views: 1776

Align DateTicks to a specific date

Hi, I have a chart that could be displayed in various time lengths (e.g. 1 day, 1 week, 1 month etc). I'm using switch((int)(length / 3600)) //length in hours { case 1: return new DateTickUnit(DateTickUnit.MINUTE, 15); case 6: return new DateTickUnit(DateTickUnit.HOUR, 1); case 24: return new DateTi...
by fhaselbein
Wed Oct 24, 2007 3:32 pm
Forum: JFreeChart
Topic: JFreechart & OutOfMemory
Replies: 14
Views: 25968

Hi all, I had a similar problem: 1 year of data = about 70000 datapoints (XYDataset), with 3 datasets there was an OutOfMemoryExc. I fixed it by setting the EntityCollection in the ChartRenderingInfo to null, now it works with at least 10 datasets (although it takes nearly 1 minute to create the tre...
by fhaselbein
Fri Oct 19, 2007 9:25 am
Forum: JFreeChart
Topic: Make IntervalMarker invisible
Replies: 6
Views: 6088

Hi, thanks a lot for your answer. I'd like to add this (and some other features) to JFreeChart, but I've checked out the version 1.0.6 from sourceforge's CVS and it is not compilable (some methods are referred but they're not existing). The HEAD of this CVS is compilable but it is incompatible with ...
by fhaselbein
Wed Oct 17, 2007 11:28 am
Forum: JFreeChart
Topic: Make IntervalMarker invisible
Replies: 6
Views: 6088

I'd like to answer myself, as I found a solution: I could set the Alpha to 0.0f, which makes the threshold transparent. If I want to make it visible again, I can set it to the old alpha value (seems to be something about 0.5f). I'm still not enthusiastic about this solution, so if you have better id...
by fhaselbein
Wed Oct 17, 2007 9:41 am
Forum: JFreeChart
Topic: Make IntervalMarker invisible
Replies: 6
Views: 6088

Hi,

thanks, but it sounds to me more like a hack than a solution. Also, this works when I want to have the threshold in the background, when I have it in the foreground, the IntervalMarker will dim the graph itself, as it is still here and not invisible...

Thanks for your help
Michael
by fhaselbein
Tue Oct 16, 2007 3:55 pm
Forum: JFreeChart
Topic: Make IntervalMarker invisible
Replies: 6
Views: 6088

Make IntervalMarker invisible

Hi, I'm using XYLineAndShapeRenderer for my line chart and on my RangeAxis, I'm plotting an IntervalMarker to let the user see a threshold: XYPlot plot=...; IntervalMarker thresholdBox = new IntervalMarker(min,max); plot.addRangeMarker(dataSetIndex, thresholdBox, thresholdLayer); I'm adding multiple...