Menu

#635 Bad Draw

1.0.x
closed-duplicate
General (896)
5
2006-08-18
2006-05-30
Anonymous
No

I've not seen that in related bugs neither on
JfreeChart's Forum.

I'm using TimeSeriesCollection and (obviously)
TimeSeries.

Problem : sometimes (i don't know why and can't
predict it) the dataset miss something and update an
old point.
The result is a sad curve (shown in attachment).

I've no error. The only thing i can say is that i've
A LOT of Series and i bet that JFreeChart (or the
JVM) doesn't like soo much data. But, i've checked
for JVM memory and it happens randomly, even if
memory is ok... :'(

help ! :P

Felt

Discussion

  • Nobody/Anonymous

    The bug i have

     
  • David Gilbert

    David Gilbert - 2006-06-01
    • milestone: --> 1.0.x
     
  • David Gilbert

    David Gilbert - 2006-06-01

    Logged In: YES
    user_id=112975

    Thanks for the report. I have seen something similar
    before, but not been able to reproduce it, which makes it
    hard to fix...

     
  • David Gilbert

    David Gilbert - 2006-06-01
    • assigned_to: nobody --> mungady
     
  • Nobody/Anonymous

    Logged In: NO

    Hi again,

    I finally found out what's wrong...

    Short version :
    I didn't notice that many threads could add values in my
    datasets (TimeSeries).
    The "bug" (which is not one, indeed) is more easy to
    recreate when a lot of data are managed because you have a
    higher probability that 2 threads can modify the dataset
    in the same time.
    And, I don't know why, when this happens, curves take this
    ugly face :/

    JFreeChart isn't thread safe... I noticed it well ^^

    Thx anyway (sorry for disturbing ;)),
    Felt

     
  • David Gilbert

    David Gilbert - 2006-08-18

    Logged In: YES
    user_id=112975

    I suspect this is the same bug as 1536558. I'm closing this
    one, and I'm working on a fix for 1536558 (unfortunately it
    may not make it into the 1.0.2 release, but if not it should
    definitely be in the 1.0.3 release).

     
  • David Gilbert

    David Gilbert - 2006-08-18
    • status: open --> closed-duplicate
     

Log in to post a comment.