Search found 13 matches

by azr
Wed Jun 27, 2007 12:39 pm
Forum: JFreeChart
Topic: Number of ticks on NumberAxis
Replies: 1
Views: 2845

I dont't know if there is already a method to do that so i've overridded the drawTicksAndLabel method of the NumberAxis class.
Then i used an attribute tickPeriod and only do the drawing for this period.
I hope this will help :)
by azr
Mon Jun 18, 2007 3:45 pm
Forum: JFreeChart
Topic: Item label in XY line chart
Replies: 2
Views: 3286

You mean an annotation? Maybe this will help you : Look the addAnnotation method I'm using it in my code: public void setNewTextAnnotation( String text, Point2D point) { XYTextAnnotation xyTextAnnotation = new XYTextAnnotation (text,point.getX(),point.getY()); ((XYPlot)this.plot).addAnnotation(xyTex...
by azr
Mon Jun 11, 2007 10:54 am
Forum: JFreeChart
Topic: hi friends
Replies: 1
Views: 2496

Which one do you want to change? Fonts used for the title?
To change this Font : jfreeChart.getTiltle().setFont(Font font)
by azr
Tue Jun 05, 2007 3:59 pm
Forum: JFreeChart
Topic: IntervalCategoryDataset and LayeredBarRenderer
Replies: 1
Views: 2508

Nobody? :wink:
by azr
Tue Jun 05, 2007 3:54 pm
Forum: JFreeChart
Topic: Another question about the renderers
Replies: 0
Views: 1874

Another question about the renderers

Hi, I've a little problem with the use of the CategoryRenderers. I want to be able to change the renderer by another (compatible , of course) but it doesn t work like i want, here is what i mean : First step : Normal Renderer http://www.imagup.info/images/01/1181055167_1.jpg Then if i change the ren...
by azr
Mon Jun 04, 2007 2:46 pm
Forum: JFreeChart
Topic: IntervalCategoryDataset and LayeredBarRenderer
Replies: 1
Views: 2508

IntervalCategoryDataset and LayeredBarRenderer

Hi all, I need to draw this kind of Chart: http://www.imagup.info/images/01/1180963729_graph3.jpg The dataset will be an IntervalCategoryDataset. I wanted to use the LayeredBarRenderer, but it seems that it doesn't work with this kind of Dataset (the drawing always start at 0 on the ValueAxis wherea...
by azr
Wed May 30, 2007 3:09 pm
Forum: JFreeChart
Topic: Differents Tick Mark Length on a single chart
Replies: 3
Views: 3738

Arf, i've another question ... Can i choose wich one of the tick labels should be displayed? I want to do a thing like this : http://www.imagup.info/images/01/1180534435_graph2.jpg Tell me that it is possible :) edit: By extending the NumberAxis class and overriding the drawTickMarksAndLabels method...
by azr
Wed May 30, 2007 1:49 pm
Forum: JFreeChart
Topic: Differents Tick Mark Length on a single chart
Replies: 3
Views: 3738

Ah ok, i 'll use another way :)
Thanks a lot
by azr
Wed May 30, 2007 12:03 pm
Forum: JFreeChart
Topic: Differents Tick Mark Length on a single chart
Replies: 3
Views: 3738

Differents Tick Mark Length on a single chart

Hi,
I'd like to know if it is possible to draw this kind of valueAxis :
Image

I mean an Axis with various tick mark length. I haven t found the answer in the forum... :wink:
by azr
Tue May 15, 2007 10:05 am
Forum: JFreeChart
Topic: Background thread for drawing a chart
Replies: 14
Views: 46001

In fact, that was not the problem.
I think that is due to the fact that the drawing is made in 2 steps and that the model is not thread safe.
I think that points are added during the drawing of the line, and so when the shapes are drawn, there is an index problem.
But i can't synchronized it... :?
by azr
Tue May 15, 2007 9:58 am
Forum: JFreeChart
Topic: Distance between bars in bar chart
Replies: 4
Views: 7594

do you mean the distance between the categories?
If it is that, try setCategoryMargin(double margin) on your categoryAxis to change the margin
by azr
Thu May 03, 2007 9:04 pm
Forum: JFreeChart
Topic: Background thread for drawing a chart
Replies: 14
Views: 46001

Well, i'm still having a problem in my draw ... The method imageUpdate seems to not be called because the imageDraw is too fast :D But it seems that i begin a new draw when the old one is not finished... Do you have encountered the same problem? An illustration of the problem : img228.imageshack.us/...
by azr
Sun Apr 29, 2007 6:18 pm
Forum: JFreeChart
Topic: Background thread for drawing a chart
Replies: 14
Views: 46001

Hi, I'm trying to subclass the ChartPanel class to delegate the rendering to a background thread. But i have a problem about the swap of my buffers. I want to do this when the image have been displayed and to knwo that i tried to use the ImageUpdate method, provided by the ImageObserver interface. B...