lt.monarch.chart.chart3D.series
Class FloatingBar3DStrategy<ChartProjector extends Projector>

java.lang.Object
  extended by lt.monarch.chart.chart3D.series.AbstractBar3DStrategy<ChartProjector>
      extended by lt.monarch.chart.chart3D.series.Bar3DStrategy<ChartProjector>
          extended by lt.monarch.chart.chart3D.series.FloatingBar3DStrategy<ChartProjector>
All Implemented Interfaces:
java.io.Serializable

public class FloatingBar3DStrategy<ChartProjector extends Projector>
extends Bar3DStrategy<ChartProjector>

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.chart3D.series.Bar3DStrategy
size
 
Fields inherited from class lt.monarch.chart.chart3D.series.AbstractBar3DStrategy
barSpacing, barWidth, baseValue, clipList, colorMapper, dirty, mapper, metaModel, minMaxValues, model, orientation, seriesCount, seriesIndex, seriesSpacing, shape, style, xMapper, yMapper, zMapper, zoomMultiplier
 
Constructor Summary
Constructor and Description
FloatingBar3DStrategy()
           
 
Method Summary
Modifier and Type Method and Description
 double getBarBottom(int index, java.lang.Object baseValue)
          Gets bottom bar position
 double getBarTop(int index)
          Gets bar top position
protected  double getBarTopValue(int index, java.lang.Object value)
          Gets bar top value
protected  Transformation3D getTransformation(Orientation orientation, int size, int barIndex, double barWidth, double barDepth, ChartProjector projector)
          Gets the transformation for series
 
Methods inherited from class lt.monarch.chart.chart3D.series.Bar3DStrategy
dispose, draw, drawPrimitive, finalize, getBarBoundaries, getBarDepth, getBarPosition, getBarWidth, getBarWidth, getBarZPosition, getBottomBarTop, getDefaultShape, getLabelCount, getZeroValue, getZoomMultiplier
 
Methods inherited from class lt.monarch.chart.chart3D.series.AbstractBar3DStrategy
getMinMaxValues, setShape
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatingBar3DStrategy

public FloatingBar3DStrategy()
Method Detail

getBarBottom

public double getBarBottom(int index,
                           java.lang.Object baseValue)
Description copied from class: AbstractBar3DStrategy
Gets bottom bar position

Overrides:
getBarBottom in class Bar3DStrategy<ChartProjector extends Projector>
Parameters:
index - index of data point
baseValue - base line value
Returns:
bar bottom position

getBarTop

public double getBarTop(int index)
Description copied from class: AbstractBar3DStrategy
Gets bar top position

Overrides:
getBarTop in class Bar3DStrategy<ChartProjector extends Projector>
Parameters:
index - data point index
Returns:
bar top position

getBarTopValue

protected double getBarTopValue(int index,
                                java.lang.Object value)
Gets bar top value

Parameters:
index - index of bar
value - value of that index
Returns:
normalized position value

getTransformation

protected Transformation3D getTransformation(Orientation orientation,
                                             int size,
                                             int barIndex,
                                             double barWidth,
                                             double barDepth,
                                             ChartProjector projector)
Description copied from class: Bar3DStrategy
Gets the transformation for series

Overrides:
getTransformation in class Bar3DStrategy<ChartProjector extends Projector>
Returns:
bar transformation