public class Chart3DPlot extends StandardPlot
AbstractPlot.GradientSetting| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BASE_COLOR
The default base color.
|
static Chart3DStyle |
DEFAULT_STYLE
Default chart style with this plot.
|
static int |
DEFAULT_WALL_COLOR
The default color of both walls.
|
ITEM_LABEL_POSITION_BASE, ITEM_LABEL_POSITION_CENTER, ITEM_LABEL_POSITION_INSIDE_OF_MAX, ITEM_LABEL_POSITION_OUTSIDE_OF_MAXDEFAULT_COLOR_SEQUENCE, DEFAULT_FOREGROUND_ALPHA, DEFAULT_ITEM_LABEL_COLOR, DEFAULT_ITEM_LABEL_FONT, DEFAULT_OUTLINE_COLOR, DEFAULT_OUTLINE_STYLE, DEFAULT_OUTLINE_WIDTH, TOKEN_PLOT| Constructor and Description |
|---|
Chart3DPlot()
Creates a 3D plot with default properties.
|
Chart3DPlot(Chart3DStyle style)
Creates a 3D plot with defined chart style.
|
| Modifier and Type | Method and Description |
|---|---|
BaseAxis |
getSeriesAxis()
Returns the series axis.
|
ChartStyle |
getStyle()
Returns the style of this chart, ie. the general category this plot belongs to.
|
protected java.lang.StringBuilder |
getSubProperties(int depth)
Returns the serialized simple properties of subclasses.
|
com.inet.chart3d.geom.ViewParams |
getViewParams()
Returns the 3D viewing parameters for this chart.
|
int |
getWallBackColor()
Returns the ABGR value representing the wall background color.
|
void |
readProperties(org.w3c.dom.Element element,
Chart2 chart)
Reads the chart properties from the DOMParser Element.
|
void |
refreshAutoTitles(Chart2 chart)
Reads out the data column names from dataset and refreshes the chart labels.
|
protected void |
saveSubProperties(java.io.PrintWriter out,
int depth)
Writes the intern properties to output.
|
void |
setSeriesAxis(BaseAxis seriesAxis)
Sets the series axis.
|
void |
setStyle(Chart3DStyle style)
Sets the chart style of this plot.
|
void |
setViewParams(com.inet.chart3d.geom.ViewParams viewParams)
Sets the 3D viewing parameters for this chart.
|
void |
setWallBackColor(int wallBackgroundColor)
Sets the ABGR components of the walls background paint.
|
getCategoryAxis, getDataAxis, getDataset, getItemLabelPosition, getReferencedObject, isShowCumulativeValues, setCategoryAxis, setDataAxis, setDataset, setItemLabelPosition, setShowCumulativeValuesgetBackColor, getColorFormula, getColorSequence, getForegroundAlpha, getGradientSetting, getItemLabelColor, getItemLabelFont, getItemLabelFormat, getItemShape, getOutlineColor, getOutlineStyle, getOutlineWidth, isColorBySeries, isDrawOutline, isSameColorsForSameGroups, isShowLabel, isShowValue, saveProperties, setBackColor, setColorBySeries, setColorFormula, setColorSequence, setDrawOutline, setForegroundAlpha, setGradientSetting, setItemLabelColor, setItemLabelFont, setItemLabelFormat, setItemShape, setOutlineColor, setOutlineStyle, setOutlineWidth, setSameColorsForSameGroups, setShowLabel, setShowValuepublic static final Chart3DStyle DEFAULT_STYLE
public static final int DEFAULT_WALL_COLOR
public static final int DEFAULT_BASE_COLOR
public Chart3DPlot()
public Chart3DPlot(Chart3DStyle style)
style - the chart style (null not permitted)Chart3DStylepublic int getWallBackColor()
setWallBackColor(int),
ColorUtils.toJavaColor(int)public void setWallBackColor(int wallBackgroundColor)
wallBackgroundColor - the colorgetWallBackColor(),
ColorUtils.toCcColor(Color)public BaseAxis getSeriesAxis()
setSeriesAxis(BaseAxis),
BaseAxispublic void setSeriesAxis(BaseAxis seriesAxis)
seriesAxis - the series axis (null not permitted)getSeriesAxis(),
BaseAxispublic ChartStyle getStyle()
getStyle in class StandardPlotBarStyle.BAR2D,
LineStyle.LINE_MARKER,
AreaStyle.AREA2D_STACKEDpublic void setStyle(Chart3DStyle style)
style - the style (null not permitted)getStyle(),
Chart3DStylepublic com.inet.chart3d.geom.ViewParams getViewParams()
setViewParams(ViewParams),
ViewParamspublic void setViewParams(com.inet.chart3d.geom.ViewParams viewParams)
viewParams - the viewing parameters (null not permitted)getViewParams(),
ViewParamspublic void refreshAutoTitles(Chart2 chart)
refreshAutoTitles in interface ChartPlotrefreshAutoTitles in class StandardPlotchart - the chartprotected java.lang.StringBuilder getSubProperties(int depth)
getSubProperties in class StandardPlotdepth - the depth of XML indentprotected void saveSubProperties(java.io.PrintWriter out,
int depth)
PrintWriter without building a StringBuilder.saveSubProperties in class StandardPlotout - the outputdepth - the depth of XML indentpublic void readProperties(org.w3c.dom.Element element,
Chart2 chart)
readProperties in interface ChartPlotreadProperties in class StandardPlotelement - the DOMParser Elementchart - the chartCopyright © 1999-2020 by i-net software GmbH