domain.setTickLabelsVisible(false) kills real-time?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
JavaGuy
Posts: 2
Joined: Wed Mar 04, 2015 7:24 pm
antibot: No, of course not.

domain.setTickLabelsVisible(false) kills real-time?

Post by JavaGuy » Wed Mar 04, 2015 8:50 pm

I'm new to JFreeChart, but in the last few days have found it very useful for my needs. Kudos to the developers.

I am doing a group of (vertical) strip charts. Everything works failry well but the real-time (which I am working on). I have 11 strip charts, and am currently updating only 6 of them (testing). I have done some timing analysis and found that when I hide the vertical tick labels (the time stamp in this case) the timing goes from 13 seconds to 15 seconds. I expected the opposite.

My first thought was the library is doing something odd to hide these. My second thought is that the graphical area is a little larger now, so the graphics processing will require more of the CPU. What are your thoughts?

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: domain.setTickLabelsVisible(false) kills real-time?

Post by paradoxoff » Mon Mar 09, 2015 11:29 am

I would recommend some real debugging and see in which method the time is spent.
Without seeing at least some code, everything else would just be a wild guess.

Locked