|
TPTP 4.2.0 Platform Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGDocumentFragmentBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGSvg
org.eclipse.tptp.platform.report.chart.svg.internal.part.Part
org.eclipse.tptp.platform.report.chart.svg.internal.part.Grid
| Field Summary | |
|---|---|
protected java.lang.String |
bkgroundColor
|
protected boolean |
drawBorder
|
protected Axis |
indepAxis
|
protected boolean |
isLTR
|
protected AxisNumber |
primaryDepAxis
|
protected AxisNumber |
secondaryDepAxis
|
| Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.Part |
|---|
height, input, width, x, y |
| Fields inherited from interface org.eclipse.tptp.platform.report.chart.svg.internal.part.IGraphicTypeConstants |
|---|
AREA_CHART, HBAR_CHART, HBAR_CHART3D, HSTACKBAR_CHART, HSTACKBAR_CHART3D, LINE_CHART, METER, PIE_CHART, PIE_CHART3D, SCATTER_CHART, STACK_AREA_CHART, VBAR_CHART, VBAR_CHART3D, VSTACKBAR_CHART, VSTACKBAR_CHART3D |
| Constructor Summary | |
|---|---|
Grid(Chart input,
boolean isLTR)
|
|
Grid(Chart input,
boolean isLTR,
double x,
double y,
double width,
double height)
|
|
| Method Summary | |
|---|---|
protected void |
constructPart()
|
protected java.util.Vector |
drawHorizontalGridLines(AxisCategory axis,
boolean major)
|
protected java.util.Vector |
drawHorizontalGridLines(AxisNumber axis,
boolean major)
Draw horizonatal grid lines |
protected SVGBase |
drawHorizontalZeroLine(AxisNumber axis)
Draw horizontal "zero line". |
protected java.util.Vector |
drawVerticalGridLines(AxisCategory axis,
boolean major)
|
protected java.util.Vector |
drawVerticalGridLines(AxisNumber axis,
boolean major)
Draw horizonatal grid lines |
protected SVGBase |
drawVerticalZeroLine(AxisNumber axis)
Draw vertical "zero line". |
protected double |
getCoordinate(double value,
double max_coor,
double min_coor,
double max,
double min)
Calculate coordinate in linear scale |
void |
setIndepAxis(Axis axis)
Set independent axis |
void |
setPrimaryDepAxis(AxisNumber axis)
Set primary dependent axis |
void |
setSecondaryDepAxis(AxisNumber axis)
Set secondary dependent axis |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.Part |
|---|
doImplementation |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGSvg |
|---|
addDefinition, addDefinition, addStyle, doImplementation, doImplementation, doImplementation, getImplementation |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGDocumentFragmentBase |
|---|
getHeight, getPreserveAspectRatio, getViewbox, getWidth, getXCoordinate, getYCoordinate, setHeight, setPreserveAspectRatio, setViewbox, setWidth, setXCoordinate, setYCoordinate |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase |
|---|
getChildren, getDesc, getTitle, setChildren, setDesc, setTitle |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase |
|---|
getIdentifier, getStyle, getStyleClass, getTagName, getVisibility, setIdentifier, setStyle, setStyleClass, setTagName, setVisibility |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Axis indepAxis
protected AxisNumber primaryDepAxis
protected AxisNumber secondaryDepAxis
protected boolean drawBorder
protected java.lang.String bkgroundColor
protected boolean isLTR
| Constructor Detail |
public Grid(Chart input,
boolean isLTR)
input -
public Grid(Chart input,
boolean isLTR,
double x,
double y,
double width,
double height)
input - x - y - width - height - | Method Detail |
protected void constructPart()
constructPart in class Partpublic void setIndepAxis(Axis axis)
axis - public void setPrimaryDepAxis(AxisNumber axis)
axis - public void setSecondaryDepAxis(AxisNumber axis)
axis -
protected java.util.Vector drawHorizontalGridLines(AxisNumber axis,
boolean major)
axis - major - true if drawing major grid lines, false if minor grid lines
protected SVGBase drawHorizontalZeroLine(AxisNumber axis)
axis -
protected java.util.Vector drawVerticalGridLines(AxisNumber axis,
boolean major)
axis - major - true if drawing major grid lines, false if minor grid lines
protected java.util.Vector drawVerticalGridLines(AxisCategory axis,
boolean major)
protected java.util.Vector drawHorizontalGridLines(AxisCategory axis,
boolean major)
protected SVGBase drawVerticalZeroLine(AxisNumber axis)
axis -
protected double getCoordinate(double value,
double max_coor,
double min_coor,
double max,
double min)
value - value to be plottedmax_coor - maximum coordinate of this axismin_coor - minimum coordinate of this axismax - maximum value of this axismin - minimum value of this axis
|
TPTP 4.2.0 Platform Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||