|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.chart.plot.AbstractPlot
com.inet.report.chart.plot.StandardPlot
com.inet.report.chart.plot.Chart3DPlot
public class Chart3DPlot
Class to create 3D chart plots.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.inet.report.chart.plot.AbstractPlot |
|---|
AbstractPlot.GradientSetting |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class com.inet.report.chart.plot.StandardPlot |
|---|
ITEM_LABEL_POSITION_BASE, ITEM_LABEL_POSITION_CENTER, ITEM_LABEL_POSITION_INSIDE_OF_MAX, ITEM_LABEL_POSITION_OUTSIDE_OF_MAX |
| Fields inherited from class com.inet.report.chart.plot.AbstractPlot |
|---|
DEFAULT_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 Summary | |
|---|---|
Chart3DPlot()
Creates a 3D plot with default properties. |
|
Chart3DPlot(Chart3DStyle style)
Creates a 3D plot with defined chart style. |
|
| Method Summary | |
|---|---|
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.StringBuffer |
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. |
| Methods inherited from class com.inet.report.chart.plot.StandardPlot |
|---|
getCategoryAxis, getDataAxis, getDataset, getItemLabelPosition, isShowCumulativeValues, setCategoryAxis, setDataAxis, setDataset, setItemLabelPosition, setShowCumulativeValues |
| Field Detail |
|---|
public static final Chart3DStyle DEFAULT_STYLE
public static final int DEFAULT_WALL_COLOR
public static final int DEFAULT_BASE_COLOR
| Constructor Detail |
|---|
public Chart3DPlot()
public Chart3DPlot(Chart3DStyle style)
style - the chart style (null not permitted)Chart3DStyle| Method Detail |
|---|
public int getWallBackColor()
setWallBackColor(int),
RDC.toJavaColor(int)public void setWallBackColor(int wallBackgroundColor)
wallBackgroundColor - the colorgetWallBackColor(),
RDC.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.StringBuffer getSubProperties(int depth)
getSubProperties in class StandardPlotdepth - the depth of XML indent
protected void saveSubProperties(java.io.PrintWriter out,
int depth)
PrintWriter without building a StringBuffer.
saveSubProperties in class StandardPlotout - the outputdepth - the depth of XML indent
public void readProperties(org.w3c.dom.Element element,
Chart2 chart)
readProperties in interface ChartPlotreadProperties in class StandardPlotelement - the DOMParser Elementchart - the chart
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||