lt.monarch.chart
Interface AbstractBarSeries<ChartProjector extends Projector>

All Superinterfaces:
ChartEntity, ChartObject, ChartSeries, StyleEditorEntity
All Known Implementing Classes:
Bar3DSeries, BarSeries

public interface AbstractBarSeries<ChartProjector extends Projector>
extends ChartSeries


Method Summary
Modifier and Type Method and Description
 DataModel getDataModel()
          Gets bar data model
 AxisMapper getGroupKey()
          Gets grouping key for bar layout.
 DataColumnType getKeyType()
          Gets automatically determined key type for the series
 MetaDataModel getMetaDataModel()
          Gets bar meta data model
 AbstractModelValidator getModelValidator()
          Gets model validator
 Orientation getOrientation()
          Gets bar orientation
 PaintMode getPaintMode()
          Gets paint mode
 ChartProjector getProjector()
          Gets chart projector
 AxisMapper getXMapper()
          Gets x axis mapper
 AxisMapper getYMapper()
          Gets y axis mapper
 AxisMapper getZMapper()
          Gets z axis mapper
 void layout(int seriesCount, int index)
          Layout bar series (series layouting)
 void setOrientation(Orientation orientation)
          Sets bar orientation
 
Methods inherited from interface lt.monarch.chart.engine.ChartSeries
createLegendEntries, createLegendEntry, getName, setName
 
Methods inherited from interface lt.monarch.chart.engine.ChartObject
dispose, draw, getChart, getSortPosition, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart
 
Methods inherited from interface lt.monarch.chart.engine.ChartEntity
fillEntitySheet, getDescription, getParentEntity, getShortDescription
 
Methods inherited from interface lt.monarch.chart.engine.StyleEditorEntity
getChartObjectBounds, getParent, getStyle
 

Method Detail

layout

void layout(int seriesCount,
            int index)
Layout bar series (series layouting)

Parameters:
seriesCount - series count in the chart
index - index of the bar

getOrientation

Orientation getOrientation()
Gets bar orientation

Returns:
bar orientation

setOrientation

void setOrientation(Orientation orientation)
Sets bar orientation

Parameters:
orientation - bar orientation

getGroupKey

AxisMapper getGroupKey()
Gets grouping key for bar layout. Override this method in order to get custom layout.
Default layout for vertical bars is according to X axis, for horizontal according to Y axis.

Returns:
grouping key for bar layout.

getDataModel

DataModel getDataModel()
Gets bar data model

Returns:
bar data model

getMetaDataModel

MetaDataModel getMetaDataModel()
Gets bar meta data model

Returns:
bar meta data model

getXMapper

AxisMapper getXMapper()
Gets x axis mapper

Returns:
x axis mapper

getYMapper

AxisMapper getYMapper()
Gets y axis mapper

Returns:
y axis mapper

getZMapper

AxisMapper getZMapper()
Gets z axis mapper

Returns:
z axis mapper

getModelValidator

AbstractModelValidator getModelValidator()
Gets model validator

Returns:
model validator

getProjector

ChartProjector getProjector()
Gets chart projector

Returns:
chart projector

getPaintMode

PaintMode getPaintMode()
Gets paint mode

Returns:
paint mode

getKeyType

DataColumnType getKeyType()
Gets automatically determined key type for the series

Returns:
key type of the series