public abstract class AbstractChartDisplayer extends AbstractDataDisplayer
Modifier and Type | Field and Description |
---|---|
protected boolean |
axisInteger |
protected String |
backgroundColor |
protected String |
color |
protected DomainConfiguration |
domainConfig |
protected DataProperty |
domainProperty |
protected String |
graphicAlign |
protected int |
height |
static int |
INTERVALS_SORT_CRITERIA_LABEL |
static int |
INTERVALS_SORT_CRITERIA_VALUE |
static int |
INTERVALS_SORT_ORDER_ASC |
static int |
INTERVALS_SORT_ORDER_DESC |
static int |
INTERVALS_SORT_ORDER_NONE |
protected int |
intervalsSortCriteria |
protected int |
intervalsSortOrder |
protected String |
legendAnchor |
protected int |
marginBottom |
protected int |
marginLeft |
protected int |
marginRight |
protected int |
marginTop |
protected RangeConfiguration |
rangeConfig |
protected DataProperty |
rangeProperty |
protected ScalarFunction |
rangeScalarFunction |
protected boolean |
showLabelsXAxis
The flag indicating if the X-aAxis labels should be displayed.
|
protected boolean |
showLegend |
protected boolean |
showTitle |
protected String |
title |
protected String |
type |
static String |
UNIT_VALUE_TAG
The default unit value pattern.
|
protected Map |
unitI18nMap |
protected int |
width |
dataDisplayerRenderer, dataDisplayerType, dataProvider
Constructor and Description |
---|
AbstractChartDisplayer() |
getDataDisplayerRenderer, getDataDisplayerType, getDataProvider, setDataDisplayerRenderer, setDataDisplayerType, setDefaultSettings
public static final String UNIT_VALUE_TAG
protected transient DataProperty domainProperty
protected transient DataProperty rangeProperty
protected transient ScalarFunction rangeScalarFunction
protected transient Map unitI18nMap
protected transient DomainConfiguration domainConfig
protected transient RangeConfiguration rangeConfig
public static final int INTERVALS_SORT_CRITERIA_LABEL
public static final int INTERVALS_SORT_CRITERIA_VALUE
public static final int INTERVALS_SORT_ORDER_NONE
public static final int INTERVALS_SORT_ORDER_ASC
public static final int INTERVALS_SORT_ORDER_DESC
protected String type
protected String color
protected String backgroundColor
protected int width
protected int height
protected boolean showLegend
protected boolean axisInteger
protected String legendAnchor
protected boolean showTitle
protected String title
protected String graphicAlign
protected int intervalsSortCriteria
protected int intervalsSortOrder
protected int marginLeft
protected int marginRight
protected int marginBottom
protected int marginTop
protected boolean showLabelsXAxis
public void setDataProvider(DataProvider dp)
setDataProvider
in interface DataDisplayer
setDataProvider
in class AbstractDataDisplayer
public DataProperty[] getDomainPropertiesAvailable()
public DataProperty[] getRangePropertiesAvailable()
public boolean hasDataSetChanged(DataProperty property)
public DataProperty getDomainProperty()
public void setDomainProperty(DataProperty property)
public DataProperty getRangeProperty()
public void setRangeProperty(DataProperty property)
public ScalarFunction getRangeScalarFunction()
public void setRangeScalarFunction(ScalarFunction rangeScalarFunction)
public Map getUnitI18nMap()
public void setUnitI18nMap(Map unitI18nMap)
public String getType()
public void setType(String type)
public String getColor()
public void setColor(String color)
public String getBackgroundColor()
public void setBackgroundColor(String backgroundColor)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public boolean isShowLegend()
public void setShowLegend(boolean showLegend)
public boolean isAxisInteger()
public void setAxisInteger(boolean axisInteger)
public String getLegendAnchor()
public void setLegendAnchor(String legendAnchor)
public boolean isShowTitle()
public void setShowTitle(boolean showTitle)
public String getTitle()
public void setTitle(String title)
public String getGraphicAlign()
public void setGraphicAlign(String graphicAlign)
public int getIntervalsSortCriteria()
public void setIntervalsSortCriteria(int intervalsSortCriteria)
public int getIntervalsSortOrder()
public void setIntervalsSortOrder(int intervalsSortOrder)
public int getMarginLeft()
public void setMarginLeft(int marginLeft)
public int getMarginRight()
public void setMarginRight(int marginRight)
public int getMarginBottom()
public void setMarginBottom(int marginBottom)
public int getMarginTop()
public void setMarginTop(int marginTop)
public boolean isShowLabelsXAxis()
public void setShowLabelsXAxis(boolean showLabelsXAxis)
public DataSet buildXYDataSet()
public void copyFrom(DataDisplayer sourceDisplayer)
copyFrom
in interface DataDisplayer
copyFrom
in class AbstractDataDisplayer
public void setDomainConfiguration(DomainConfiguration config)
public void setRangeConfiguration(RangeConfiguration config)
public DomainConfiguration getDomainConfiguration()
public RangeConfiguration getRangeConfiguration()
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.