public class Plot3D extends Plot
columnIndex, DEFAULT_BACKGROUND_ALPHA, DEFAULT_BACKGROUND_PAINT, DEFAULT_FOREGROUND_ALPHA, DEFAULT_LEGEND_ITEM_BOX, DEFAULT_LEGEND_ITEM_CIRCLE, DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, isSubPlot, MINIMUM_HEIGHT_TO_DRAW, MINIMUM_WIDTH_TO_DRAW, outerPosition, position, rowIndex, symbolAntialias, units| 构造器 | 说明 |
|---|---|
Plot3D() |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
addGraphic(Graphic g) |
Add a graphic
|
void |
addLegend(ChartLegend legend) |
Add a legend
|
void |
destroyImage() |
Destroys the internal image.
|
void |
draw(Graphics2D g2,
Rectangle2D area) |
Draw graphics
|
Dataset |
getDataset() |
Get dataset
|
boolean |
getDrawBoundingBox() |
Get if draw bounding box or not
|
Extent3D |
getExtent() |
Get extent
|
ChartLegend |
getLegend() |
Get chart legend
|
ChartLegend |
getLegend(int idx) |
Get chart legend
|
List<ChartLegend> |
getLegends() |
Get legends
|
Rectangle2D |
getOuterPositionArea(Rectangle2D area) |
Get outer position area
|
PlotType |
getPlotType() |
Get plot type
|
Projector |
getProjector() |
Get projector
|
Margin |
getTightInset(Graphics2D g,
Rectangle2D positionArea) |
Get tight inset area
|
ChartText |
getTitle() |
Get title
|
Axis |
getXAxis() |
Get x axis
|
float |
getXMax() |
Get x maximum
|
float |
getXMin() |
Get x minimum
|
Axis |
getYAxis() |
Get y axis
|
float |
getYMax() |
Get y maximum
|
float |
getYMin() |
Get y minimum
|
Axis |
getZAxis() |
Get z axis
|
float |
getZMax() |
Get z maximum
|
float |
getZMin() |
Get z minimum
|
Point |
project(float x,
float y,
float z) |
Project 3D point
|
void |
removeLegend(int idx) |
Remove a legend by index
|
void |
removeLegend(ChartLegend legend) |
Remove a legend
|
void |
setAxisTickFont(Font font) |
Set axis tick font
|
void |
setBoxed(boolean value) |
Set display box or not
|
void |
setDataset(Dataset dataset) |
Set dataset
|
void |
setDisplayGrids(boolean value) |
Set display grids or not
|
void |
setDisplayXY(boolean value) |
Set display X/Y axis or not
|
void |
setDisplayZ(boolean value) |
Set display Z axis or not
|
void |
setDrawBoundingBox(boolean value) |
Set if draw bounding box or not
|
void |
setExtent(Extent3D value) |
Set extent
|
void |
setLegend(ChartLegend value) |
Set chart legend
|
void |
setLegends(List<ChartLegend> value) |
Set legends
|
void |
setMesh(boolean value) |
Set display mesh line or not
|
void |
setTitle(String text) |
Set title
|
void |
setTitle(ChartText value) |
Set title
|
void |
setXMax(float value) |
Set maximum x
|
void |
setXMin(float value) |
Set minimum x
|
void |
setXMinMax(float min,
float max) |
Set x minimum and maximum values
|
void |
setYMax(float value) |
Set Maximum y
|
void |
setYMin(float value) |
Set minimum y
|
void |
setYMinMax(float min,
float max) |
Set y minimum and maximum values
|
void |
setZMax(float value) |
Set maximum z
|
void |
setZMin(float value) |
Set minimum z
|
void |
setZMinMax(float min,
float max) |
Set z minimum and maximum values
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphArea, getOuterPosition, getOuterPositionArea, getPlotShrink, getPosition, getPositionArea, getPositionArea, getPositionArea, getPositionAreaZoom, getTightInset, getUnits, isOuterPosActive, isSameShrink, isSymbolAntialias, setGraphArea, setOuterPosActive, setOuterPosition, setOuterPosition, setOuterPosition, setOuterPositionArea, setPlotShrink, setPosition, setPosition, setPosition, setPositionArea, setPositionAreaZoom, setSameShrink, setSymbolAntialias, setTightInset, setUnits, setUnits, updatePosition, updatePosition, updatePositionArea, updatePostionAreaZoompublic Projector getProjector()
public ChartText getTitle()
public void setTitle(ChartText value)
value - Titlepublic void setTitle(String text)
text - Title textpublic List<ChartLegend> getLegends()
public ChartLegend getLegend(int idx)
idx - Indexpublic ChartLegend getLegend()
public void setLegend(ChartLegend value)
value - Legendpublic void setLegends(List<ChartLegend> value)
value - Legendspublic Axis getXAxis()
public Axis getYAxis()
public Axis getZAxis()
public float getXMin()
public void setXMin(float value)
value - Minimum xpublic float getXMax()
public void setXMax(float value)
value - Maximum xpublic void setXMinMax(float min,
float max)
min - Minimum valuemax - Maximum valuepublic float getYMin()
public void setYMin(float value)
value - Minimum ypublic float getYMax()
public void setYMax(float value)
value - Maximum ypublic void setYMinMax(float min,
float max)
min - Minimum valuemax - Maximum valuepublic float getZMin()
public void setZMin(float value)
value - Minimum zpublic float getZMax()
public void setZMax(float value)
value - Maximum zpublic void setZMinMax(float min,
float max)
min - Minimum valuemax - Maximum valuepublic void setDisplayXY(boolean value)
value - Booleanpublic void setDisplayZ(boolean value)
value - Booleanpublic void setDisplayGrids(boolean value)
value - Booleanpublic void setBoxed(boolean value)
value - Booleanpublic void setMesh(boolean value)
value - Booleanpublic boolean getDrawBoundingBox()
public void setDrawBoundingBox(boolean value)
value - Booleanpublic Extent3D getExtent()
public void setExtent(Extent3D value)
value - Extentpublic void setAxisTickFont(Font font)
font - Fontpublic void addGraphic(Graphic g)
g - Grahicpublic void destroyImage()
SurfaceCanvas to
regenerate all images when the paint method is called.public void addLegend(ChartLegend legend)
legend - The legendpublic void removeLegend(ChartLegend legend)
legend - The legendpublic void removeLegend(int idx)
idx - The legend indexpublic Rectangle2D getOuterPositionArea(Rectangle2D area)
getOuterPositionArea 在类中 Plotarea - Whole areapublic Dataset getDataset()
PlotgetDataset 在类中 Plotpublic void setDataset(Dataset dataset)
PlotsetDataset 在类中 Plotdataset - Datasetpublic PlotType getPlotType()
PlotgetPlotType 在类中 Plotpublic void draw(Graphics2D g2, Rectangle2D area)
Plotpublic Point project(float x, float y, float z)
x - Xy - Yz - Zpublic Margin getTightInset(Graphics2D g, Rectangle2D positionArea)
getTightInset 在类中 Plotg - Graphics2DpositionArea - Position areaCopyright © 2019. All rights reserved.