Search found 8 matches

by mst1978
Fri Jul 28, 2006 9:17 am
Forum: JFreeChart
Topic: Bar chart - how to display a moving average curve?
Replies: 0
Views: 1355

Bar chart - how to display a moving average curve?

Hello, I have a simple question: can I display a moving average curve within a bar chart? My situation I have a bar chart that displays 150 bars (each bar is one day.). This works fine. Now I want to have a curve that shows the 10-day moving average of the bars. How can I do this? Do you know what I...
by mst1978
Fri Jul 21, 2006 8:43 am
Forum: JFreeChart
Topic: Why have JPG images such a poor quality?
Replies: 8
Views: 5665

Thanks :)
by mst1978
Thu Jul 20, 2006 11:36 am
Forum: JFreeChart
Topic: Why have JPG images such a poor quality?
Replies: 8
Views: 5665

Yes, there could be a bug. I done as you told me: Even if I use only a quality setting of 75% and convert a PNG (created by JFreeChart) to a JPG with Paint .NET it looks MUCH better than the same chart saved as a JPG with JFreeChart. Also I notices that the changing of the quality settings in JFreeC...
by mst1978
Thu Jul 20, 2006 8:36 am
Forum: JFreeChart
Topic: Why have JPG images such a poor quality?
Replies: 8
Views: 5665

Hi, the poor quality of JPEGs is caused by the discrete cosinus transformation that is used to reduce non-significant information from the image data. That transformation works best, if the data does not have high fequencies. Sadly, an sharp edge from white to black (or vice versa) is a high freque...
by mst1978
Wed Jul 19, 2006 3:52 pm
Forum: JFreeChart
Topic: Why have JPG images such a poor quality?
Replies: 8
Views: 5665

Why have JPG images such a poor quality?

I know that I can use PNG instead of JPG but I woner why a JPG has such a poor quality, even if I choose the max. quality setting.

Will this be fixed in future?
A JPG is smaller and when creating big (or many) charts it is important to take care about the size of the files.
by mst1978
Wed Jul 19, 2006 3:49 pm
Forum: JCommon
Topic: What you use?
Replies: 4
Views: 14463

Windows Vista Beta 2 8)
by mst1978
Wed Jul 19, 2006 3:44 pm
Forum: JFreeChart
Topic: How to set different range on X Axis
Replies: 2
Views: 2822

I can not answer your first question.
I have the same problem!

But the second one:
Are you creating a JPG chart?
Please try PNG instead of JPG.
Then it looks MUCH better!

Bye,
Miroslav
by mst1978
Wed Jul 19, 2006 3:40 pm
Forum: JFreeChart
Topic: How do I deactivate labels/units on the x-axis?
Replies: 1
Views: 1923

How do I deactivate labels/units on the x-axis?

Hi, I have a simple 2D bar chart: y-axis: profit rate x-axis: time (dates: 08/2001, 09/2005...07/2006) I just want to deactivate the lables/units at the x-axis because there are so many entries and it looks horrible. I don't need them because I can write the range "from: mm/yyyy to: mm/yyyy" in a ta...