lt.monarch.chart.chart2D.series
Class LinePlotStrategy
java.lang.Object
lt.monarch.chart.chart2D.series.AbstractBarStrategy
lt.monarch.chart.chart2D.series.BarStrategy
lt.monarch.chart.chart2D.series.LinePlotStrategy
- All Implemented Interfaces:
- java.io.Serializable, AbstractStrategy
public class LinePlotStrategy
extends BarStrategy
- See Also:
- Serialized Form
Field Summary
protected double |
xScale
|
| Fields inherited from class lt.monarch.chart.chart2D.series.AbstractBarStrategy |
avoidLayoutingInvisible, barSpacing, barWidth, baseValue, clipList, colorMapper, dirty, mapper, metaModel, minMaxValues, model, orientation, seriesCount, seriesIndex, seriesSpacing, shape, style, xMapper, yMapper, zoomMultiplier |
| Methods inherited from class lt.monarch.chart.chart2D.series.BarStrategy |
dispose, draw, drawNoData, finalize, get90DegRotation, getBarBottom, getBarBoundaries, getBarPosition, getBarTop, getBarTransformation, getBarWidth, getBarWidth, getBottomBarTop, getLabelCount, getShapeBounds, getTransformation, getZeroValue, getZoomMultiplier, isBarInvisible |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xScale
protected double xScale
LinePlotStrategy
public LinePlotStrategy()
getXScale
public double getXScale()
setXScale
public void setXScale(double a)
getDefaultShape
public Shape2D getDefaultShape()
- Description copied from class:
AbstractBarStrategy
- Returns the default strategy shape
- Overrides:
getDefaultShape in class BarStrategy
- Returns:
- default strategy shape
drawPrimitive
public void drawPrimitive(AbstractGraphics g,
int index,
Projector projector,
HotSpotMap hotMap,
boolean showNullValues,
java.lang.Object baseValue,
AbstractBarSeries barSeries)
- Description copied from class:
AbstractBarStrategy
- Draws one primitive
- Overrides:
drawPrimitive in class BarStrategy
- Parameters:
g - graphics contextindex - data point indexprojector - projectorhotMap - hot spot mapshowNullValues - if true show null valuesbaseValue - base line valuebarSeries - bar series instance