Search found 10 matches

by serhan
Thu Jul 13, 2006 8:35 am
Forum: JFreeChart
Topic: Long time drawing chart - urgent
Replies: 2
Views: 2216

ChartEntity mechanism

Thank you for the effective reply. First this could be usefull to use info.setEntityCollection(null), since we use this graph in the main page and maybe we don't need tooltips and urls generation, it really makes it faster. But that not sure, we actually may need this tooltips and url in this specif...
by serhan
Wed Jul 12, 2006 1:03 pm
Forum: JFreeChart
Topic: Long time drawing chart - urgent
Replies: 2
Views: 2216

Long time drawing chart - urgent

Hi
I'm drwing timeseries chart, using image map, first saveChartAsPNG then writeImageMap...

When I have around 8000 items to draw on the chart it tooks about 15 seconds to saveChartAsPNG and ~5 seconds to writeImageMap!!!

Is this makes any sense, or I have abug somewhere ???

Thanks
by serhan
Tue Jun 27, 2006 11:24 am
Forum: JFreeChart
Topic: Image truncated
Replies: 1
Views: 2885

Image truncated

Hi,
Sometimes the image of the chart is truncated in the x axis !!!
See the attached image - the right side (12:25:00), any idea how to solve this ?

Image
by serhan
Tue Jan 31, 2006 9:07 am
Forum: JFreeChart
Topic: Draw domain marker - need help - urgent
Replies: 2
Views: 2853

Doen - thanks

Well solved - but I will explain how.... I needed to draw a domain marker like the image above, the first line is a value in the domain and the second line is another value, both of the values are for an object which has begin time and end time, so what i did is override the drawDomainMarker method ...
by serhan
Mon Jan 30, 2006 11:12 am
Forum: JFreeChart
Topic: Draw domain marker - need help - urgent
Replies: 2
Views: 2853

Draw domain marker - need help - urgent

Hi
I need to draw a domain marker like this:
Image

My question is: how can I do it in Java2D ?
by serhan
Thu Jan 26, 2006 2:26 pm
Forum: JFreeChart
Topic: valueToJava2D - wrong X,Y values in chart
Replies: 5
Views: 4910

Explanation

HI I want an explanation about this : Why when I use the dataArea (doesn't matter if it's the chart size or the plot size - I even tried to give similar values like this Rectangle2D.Double(0, 0, 700, 250); or Rectangle2D.Double(75, 4, 693, 402); etc') I get the items not in the right place in the do...
by serhan
Thu Jan 26, 2006 9:59 am
Forum: JFreeChart
Topic: valueToJava2D - wrong X,Y values in chart
Replies: 5
Views: 4910

valueToJava2D - wrong X,Y values in chart

Hi
Well since I extend the XYLineAndShapeRenderer I override the drawItem function to make it send the dataArea , so YES, I use the dataAraea (I cant use ChartPanel since I'm not working in a panel, it's web application)

What do you mean by FLIP the x and y values ?
by serhan
Wed Jan 25, 2006 6:42 pm
Forum: JFreeChart
Topic: valueToJava2D - wrong X,Y values in chart
Replies: 5
Views: 4910

valueToJava2D - wrong X,Y values in chart

Hi I will tell the whole story... The task is to draw in a Timeseries chart items as vertical lines, the line length should be the lenght of my items, that means : I have objects which has begin time and end time, the line should start in the begin time and ends in the end time, to do this I built a...
by serhan
Tue Jul 05, 2005 9:56 am
Forum: JFreeChart
Topic: Plot to be same size exactly like the Chart in my Servlet
Replies: 1
Views: 2129

solved by...

plot.setInsets(new Insets(0, -1, 0, 0));
plot.setOutlinePaint(null);

Thanks anyway
by serhan
Tue Jul 05, 2005 9:10 am
Forum: JFreeChart
Topic: Plot to be same size exactly like the Chart in my Servlet
Replies: 1
Views: 2129

Plot to be same size exactly like the Chart in my Servlet

Hi folks I need urgent help... When I'm darwing a chart in my servlet by this code: HttpSession session = req.getSession(); int[][] arr = (int[][])session.getAttribute("cursors"); OutputStream out = res.getOutputStream(); XYSeries s1 = new XYSeries("Cursors"); for(int i=0, j=0; i<arr.length; ++i) { ...