Threshold in 3d goes for a toss

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
demonhead
Posts: 24
Joined: Thu May 25, 2006 5:44 am

Threshold in 3d goes for a toss

Post by demonhead » Thu Dec 07, 2006 6:52 am

I have a dual axis chart where one of the renderers is a bar3d and the other one is a line and when a ValueMarker is added to the categoryplot object what i get is a not a dashed line but rather a 3d continuous line . the basic stroke used in the ValueMarker is as follows

Code: Select all

new BasicStroke(1f,BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND,10f,new float[]{2f},0)
I am using jfreechart version 1.0.1. If anyone has bright ideas where in the lines are discontinuous it would be helpful.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Dec 07, 2006 6:29 pm

In the 3D charts, the stroke doesn't affect the range marker because it is drawn as a shape. You could subclass the BarRenderer3D and override drawRangeMarker() if you want it to do something different.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked