|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart2D.series.AbstractLineStrategy<ChartProjector>
lt.monarch.chart.chart2D.series.LineStrategy<ChartProjector>
lt.monarch.chart.chart2D.series.PercentageAreaLineStrategy<ChartProjector>
public class PercentageAreaLineStrategy<ChartProjector extends Projector> extends LineStrategy<ChartProjector>
PercentageAreaLineStrategy
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.chart2D.series.LineStrategy |
|---|
bottomPolygon, firstX, isSortedSeries, lastX, lineOrientation, polygon, pseudoModel |
| Fields inherited from class lt.monarch.chart.chart2D.series.AbstractLineStrategy |
|---|
baseValue, cachingEnabled, dirty, isConnected, mapper, metaModel, minMaxValues, model, paintMode, planePoint, projector, showNullValues, style, tempPoint, xMapper, yMapper, zoomMultiplier |
| Constructor and Description |
|---|
PercentageAreaLineStrategy()
PercentageAreaLineStrategy constructor |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculatePercentageValues()
Calculate percentage values |
protected void |
drawLine(AbstractGraphics g,
AbstractLineSeries<ChartProjector> series)
Paints the connected series line in the specified Graphics context. |
ArrayDataModel |
getModel()
Gets strategy data model |
| Methods inherited from class lt.monarch.chart.chart2D.series.LineStrategy |
|---|
binarySearch, cacheLines, determineLineDirection, dispose, draw, formNewPolygon, getDataValueMappingHeight, getEndIndex, getLinePointByX, getPointPosition, getStartIndex, getValue, initDrawing, isDataInverted, isStacked, showNullPoints |
| Methods inherited from class lt.monarch.chart.chart2D.series.AbstractLineStrategy |
|---|
calculateSelection, getMinMaxValues, getX, getY, projectPoint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PercentageAreaLineStrategy()
| Method Detail |
|---|
protected void calculatePercentageValues()
protected void drawLine(AbstractGraphics g,
AbstractLineSeries<ChartProjector> series)
LineStrategy
drawLine in class LineStrategy<ChartProjector extends Projector>g - the Graphics context in which to paint the series line. NOTE:
setShowNullValues(boolean) works a little different here. When set to true, the
line is broken and started from the next non-null point value. When set to false,
the null values are simply ignored: the line connects all non-null value points.series - Chart series to which this strategy belongsAbstractChartSeries.setShowNullValues(boolean)public ArrayDataModel getModel()
AbstractStrategy
getModel in interface AbstractStrategygetModel in class AbstractLineStrategy<ChartProjector extends Projector>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||