Search found 25 matches

by bruehlicke
Sat Apr 01, 2017 5:26 pm
Forum: JFreeChart
Topic: XYSpline without shapes?
Replies: 7
Views: 9684

Re: XYSpline without shapes?

Yes. Also for me it works in a test standalone app. I made quickly the code below which is more or less similar to the actual code failing ... still - works in the test standalone When running the actual code with 1.0.19 it only shows the Shapes not the line between Not when using 1.0.9. If I turn t...
by bruehlicke
Fri Mar 31, 2017 11:08 pm
Forum: JFreeChart
Topic: XYSpline without shapes?
Replies: 7
Views: 9684

Re: XYSpline without shapes?

Before you waste your time, I will run a few standalone tests to see if it is due to a special situation. Than I can share the code. For now I just have code working with 1.0.9 and not working with 1.0.19. I will update over the weekend.
by bruehlicke
Fri Mar 31, 2017 3:41 pm
Forum: JFreeChart
Topic: XYSpline without shapes?
Replies: 7
Views: 9684

Re: XYSpline without shapes?

Yea, that's the way it worked in 1.0.9 but this is not working in 1.0.19 anymore. Using that code as is you will see no line at all. I am currently looking how to get this functionality back in 1.0.19 - if you are using 1.0.19 and solved this please share.
by bruehlicke
Fri Mar 31, 2017 3:31 pm
Forum: JFreeChart
Topic: XYSplineRenderer no more lines after 1.0.9 -> 1.0.19
Replies: 0
Views: 3552

XYSplineRenderer no more lines after 1.0.9 -> 1.0.19

Had code like myrenderer = new XYSplineRenderer(); myRenderer.setSeriesShapesVisible(0,false); This made a nice smooth spline through my points in 1.0.9. Now, in 1.0.19 the line is gone. When I do not set the setSeriesShapeVisible I get the shapes which I do not want to see. I just want to see the s...
by bruehlicke
Tue Sep 15, 2015 2:27 am
Forum: FXGraphics2D
Topic: Anyone tried to add nodes and check for collisions ?
Replies: 2
Views: 33178

Re: Anyone tried to add nodes and check for collisions ?

To answer myself. Just converted a JFreeChart to a nice FX graph showing the entire canvas as node. On top in a StackPane I have added FX Circle shapes which can detect collisions between themselves. The Chart stays in the background while the Shapes are dynamic movable on top. This shows: FXGraphic...
by bruehlicke
Fri Sep 11, 2015 3:33 pm
Forum: FXGraphics2D
Topic: Anyone tried to add nodes and check for collisions ?
Replies: 2
Views: 33178

Anyone tried to add nodes and check for collisions ?

I am pretty excited about this bridge allowing exciting JFreeCharts to be rendered in a FX Scene - brilliant by the way. Now, I wonder if anyone has tried to add a fx shape (example a Circle) and giving this circle a DragListener and check for Shape Intersections (aka collisions) with objects from t...
by bruehlicke
Tue Apr 20, 2010 4:10 am
Forum: JFreeChart
Topic: Custom ToolTip with a Polar Plot
Replies: 2
Views: 4623

Re: Custom ToolTip with a Polar Plot

Got it working. I am plotting the poles to planes defined by a normal vector given in polar coordinates. Now, to get ToolTips we need to add support for chart entities, which is required for tooltips (after going through the source all day ...) a) Create a class StereoPolarItemRenderer extends Defau...
by bruehlicke
Mon Apr 19, 2010 10:58 pm
Forum: JFreeChart
Topic: Custom ToolTip with a Polar Plot
Replies: 2
Views: 4623

Re: Custom ToolTip with a Polar Plot

I am currently facing the same issue. I am working on a custom version of the DefaultPolarItemRenderer together with a custom PolarToolTipGenerator to trigger this to be shown when hovering over a data point. I am still stuck as even though the setDisplayToolTips is set on the chartPanel I still do ...
by bruehlicke
Wed Jul 08, 2009 7:35 pm
Forum: JFreeChart
Topic: 10.000 pixel long image need's an Axis
Replies: 7
Views: 7953

Re: 10.000 pixel long image need's an Axis

OK - Problem solved (at least reason found) ValueAxis has a hardcoded limit. /** The maximum tick count. */ public static final int MAXIMUM_TICK_COUNT = 500; Hmm. Any pitfall if I allow a bigger value ? I see there is no method to overwrite and I assume you guy's had a good reason..... we will see ...
by bruehlicke
Wed Jul 08, 2009 7:16 pm
Forum: JFreeChart
Topic: 10.000 pixel long image need's an Axis
Replies: 7
Views: 7953

Re: 10.000 pixel long image need's an Axis

Hmm - it looks like it has to do with some max number of tick marks allowed. When I changed the code and reduced the number of depth markers to 499 and used the 268000 pixels it worked. Using 500 markers has the effect of no markers at all (see top/bot variables below) ... will try to debug the code...
by bruehlicke
Wed Jul 08, 2009 6:23 pm
Forum: JFreeChart
Topic: 10.000 pixel long image need's an Axis
Replies: 7
Views: 7953

Re: 10.000 pixel long image need's an Axis

I run into another re-incarnation of this. See Code example below. This code should make ticks marks with value for every value. But nothing. If I set the tickunits variable (top of code) to 10.0 or even 5.0 it works - why ? Any ideas would be great. Thanx again for your fine suite of code. B-) pack...
by bruehlicke
Wed May 20, 2009 11:58 am
Forum: JFreeChart
Topic: Constant ratio between the units on the x and y-axis
Replies: 1
Views: 2719

Constant ratio between the units on the x and y-axis

I see there have been numerous discussions around the problem of keeping a constant ratio between the units on the x and y-axes for a JFreeChart. Since I draw a lot of vectors I need to deal with this problem both a) Initial size (since a sudden legend changes it) and b) Allow user to resize I want ...
by bruehlicke
Fri May 08, 2009 7:26 pm
Forum: JFreeChart
Topic: Dual Axis One Data set Second is transform of first
Replies: 9
Views: 8953

Re: Dual Axis One Data set Second is transform of first

Richard, could you just give me a hint how one could " using a NumberFormat with the second axis " ? I have difficult to see how these two classes can work together ....
by bruehlicke
Thu May 07, 2009 6:12 pm
Forum: JFreeChart
Topic: Dual Axis One Data set Second is transform of first
Replies: 9
Views: 8953

Re: Dual Axis One Data set Second is transform of first

Thanx guys - you are just great !

I plan to upgrade to 13 in summer.

B-)
by bruehlicke
Thu May 07, 2009 4:46 pm
Forum: JFreeChart
Topic: Dual Axis One Data set Second is transform of first
Replies: 9
Views: 8953

Re: Dual Axis One Data set Second is transform of first

I think the idea should not be to allow to have a NumberAxis having multiple scales but rather allow sending down a Transform object and Number axis as constructor. Maybe something like NumberAxis first = ... Transformation valueTransformer = new Transformation(...); ... somehow alow to add some fun...