Search found 36 matches

by Andrew Foss
Wed Sep 24, 2008 3:15 pm
Forum: JFreeChart
Topic: Changing default fonts
Replies: 1
Views: 2757

Changing default fonts

JFree folks,

Is there a simple way to change the default behavior for all charts, w/o doing a lot of setFont's within the code?

It seems to rely on JFreeChart.DEFAULT_FONT, but I'm not sure how I can change those values at runtime?

thanks,
andrew
by Andrew Foss
Fri Aug 08, 2008 5:13 pm
Forum: JFreeChart
Topic: 3D Timeseries XY line charts
Replies: 2
Views: 3787

XY3dLineRenderer

maybe answered my own question here, looks like in the newer releases there's an XY3DLineRenderer, so maybe good to go, if I can figure out the right 3DPlot to go with it.
by Andrew Foss
Fri Aug 08, 2008 5:02 pm
Forum: JFreeChart
Topic: 3D Timeseries XY line charts
Replies: 2
Views: 3787

3D Timeseries XY line charts

Has anyone done anything with making the line charts 3D?

I'd like to do it and make the line chart w/ a dropshadow, but wanted to be sure I wasn't recreating the wheel here.

thanks,
andrew
by Andrew Foss
Wed May 21, 2008 9:02 pm
Forum: JFreeChart
Topic: How to animate a chart
Replies: 5
Views: 10781

Ralph, sorry about that, I neglected to include it. The gradientpainttransformer should be able to be added to most of the renderers that actually fill in an area, it's in BarRender already. Here's my XYDifferenceRendererFill, it makes sort of a hybrid between a difference chart and an area chart. I...
by Andrew Foss
Wed May 07, 2008 7:54 pm
Forum: JFreeChart
Topic: How to animate a chart
Replies: 5
Views: 10781

How to animate a chart

JFree folks, the topic of animating charts has come up on the list a few times in the past and I've tried a few approaches, but so far the best is to change the gradient paint, since the gradient helps smooth things regardless of how fast or consistently the repaints are happening. Following is Vari...
by Andrew Foss
Wed Feb 13, 2008 4:59 am
Forum: JFreeChart
Topic: Animated initial chart paint
Replies: 0
Views: 2027

Animated initial chart paint

Has anyone any experience w/ or suggestions for ways of making the initial painting of the chart be animated? Everyone seems to like the flashy dynamic animation of charts as they first appear, such that the lines or bars seem to grow into their values, but my attempts to emulate this have come up f...
by Andrew Foss
Sun Nov 18, 2007 9:51 pm
Forum: JFreeChart
Topic: Suggestions for creating custom axis...
Replies: 0
Views: 2605

Suggestions for creating custom axis...

Has anyone created any custom, annotated or color coded axes? I'm contemplating a ValueAxis, that highlights red/yellow/green values, maybe by drawing sections of the axis line in different colors, as an alternative to putting markers on the plot, which can be just a little too prominent. thanks, an...
by Andrew Foss
Wed Nov 07, 2007 2:27 pm
Forum: JFreeChart
Topic: oddity w/ bufferedimage chart and firedatasetchanged()
Replies: 5
Views: 5997

Dave,

that did it, thank you very much!

I built a test chart to show it, but can't figure out how to attach, just as well, I think this is the right track, I poured over this area trying to understand, but it escaped me.

[/img]
by Andrew Foss
Wed Nov 07, 2007 12:31 pm
Forum: JFreeChart
Topic: oddity w/ bufferedimage chart and firedatasetchanged()
Replies: 5
Views: 5997

Definitely confirmed that iterative fireDatasetChanged is only resulting in one draw of the chart when the chartpanel is useBuffer true

if useBuffer false, fireDatasetChanged triggers all 10 iterative redraws just fine.

I'm stumped.
by Andrew Foss
Wed Nov 07, 2007 4:26 am
Forum: JFreeChart
Topic: oddity w/ bufferedimage chart and firedatasetchanged()
Replies: 5
Views: 5997

oddity w/ bufferedimage chart and firedatasetchanged()

I'm doing a progressive draw of the chart and it's a pretty complex chart, it's slow but it works. The dataset has a scaler factor which scales the getY result and does a firedatasetchanged(). I set a chartprogresslistener for the DRAWING_FINISHED event and set the next scaler, until the dataset is ...
by Andrew Foss
Mon Nov 05, 2007 2:07 pm
Forum: JFreeChart
Topic: new chart type "geographical chart"
Replies: 45
Views: 78409

Geo plotting

Martin, have you continued progress on this? I started a simliar tack, extending an XYDataset, I really only need 2D for starters to do lat/longs, as either decimal or minutes/seconds and draw a simple XYPlot over a chart image background w/ an anchor value lat/long. The plot has no axes and I was u...
by Andrew Foss
Sun Nov 04, 2007 3:49 pm
Forum: JFreeChart
Topic: Animated charts
Replies: 5
Views: 7011

I'm using a combinedRangeXYPlot, using XYDifference render, which does 2 drawing passes and a bunch of datasets, so a redraw is not a minor event:-) Can I separate out the plots make them transparent and layer them on top of one another, the redraw the layers? Except making transparent, may cause th...
by Andrew Foss
Sun Nov 04, 2007 1:11 pm
Forum: JFreeChart
Topic: Animated charts
Replies: 5
Views: 7011

Is it possible to control the drawing, such that only portions of the chart are redrawn?
by Andrew Foss
Sun Nov 04, 2007 1:03 pm
Forum: JFreeChart
Topic: Animated charts
Replies: 5
Views: 7011

That's much better thankyou, not as smooth as I'd like but this is a much better way to do it...
by Andrew Foss
Sat Nov 03, 2007 10:48 pm
Forum: JFreeChart
Topic: Animated charts
Replies: 5
Views: 7011

Animated charts

Has anyone come up w/ a good strategy for animating the charts? Seems like the in thing in the flash charts is the animated growing of the bars when they plot. I prototyped extending my dataset, adding a scaler setting and the getYValue returns a scaled value. dataset.setScaler, calls fireDatasetCha...