public class Plot2D extends AbstractPlot2D
backgroundcolumnIndex, 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| 构造器 | 说明 |
|---|---|
Plot2D() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
addGraphic(int idx,
Graphic g) |
Add a graphic by index
|
void |
addGraphic(Graphic g) |
Add a graphic
|
void |
addGraphics(List<Graphic> gs) |
Add graphic list
|
float |
getBarsWidth() |
Get bars width (0 - 1), only used for automatic bar width.
|
Dataset |
getDataset() |
Get dataset
|
Rectangle |
getGraphicRectangle(Graphics2D g,
Graphic aGraphic,
Rectangle2D area) |
Get graphic rectangle
|
GraphicCollection |
getGraphics() |
Get graphics
|
LegendScheme |
getLegendScheme() |
Get legend scheme
|
void |
removeGraphic(int idx) |
Remove a graphic by index
|
void |
removeGraphic(Graphic g) |
Remove a graphic
|
void |
removeLastGraphic() |
Remove last graphic
|
void |
setAutoExtent() |
Set auto extent
|
void |
setBarsWidth(float value) |
Set bars width (0 - 1), only used for automatic bar width.
|
void |
setDataset(Dataset dataset) |
Set dataset
|
void |
setGraphics(GraphicCollection value) |
Set graphics
|
void |
updateLegendScheme() |
addLegend, addText, draw, getAspect, getAxis, getBackground, getDrawExtent, getExtent, getGraphArea, getGridLine, getLeftTitle, getLegend, getLegend, getLegends, getOuterPositionArea, getPlotOrientation, getPlotType, getPositionArea, getRightTitle, getSelectedColor, getTexts, getTightInset, getTightInsetArea, getTitle, getWindArrow, getXAxis, getXAxisLocation, getYAxis, getYAxisLocation, isAutoAspect, isDrawNeatLine, isDrawRightAxis, isDrawTopAxis, isInsideTick, isLogX, isLogY, isXReverse, isYReverse, projToScreen, projXLength, projYLength, removeLegend, removeLegend, screenToProj, setAspect, setAutoAspect, setAxis, setAxisLabelFont, setAxisOn, setBackground, setDrawExtent, setDrawExtent1, setDrawLegend, setDrawNeatLine, setDrawRightAxis, setDrawTopAxis, setExtent, setInsideTick, setLeftTitle, setLeftTitle, setLegend, setLegends, setPlotOrientation, setRightTitle, setRightTitle, setSelectedColor, setTexts, setTitle, setTitle, setWindArrow, setXAxis, setXAxisLocation, setYAxis, setYAxisLocation, updateDrawExtent, zoomToExtentScreenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphArea, getOuterPosition, getOuterPositionArea, getPlotShrink, getPosition, 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 GraphicCollection getGraphics()
public void setGraphics(GraphicCollection value)
value - Graphicspublic float getBarsWidth()
public void setBarsWidth(float value)
value - Bars widthpublic void addGraphic(Graphic g)
g - Grahicpublic void addGraphic(int idx,
Graphic g)
idx - Indexg - Graphicpublic void removeGraphic(Graphic g)
g - Graphicpublic void removeGraphic(int idx)
idx - Indexpublic void removeLastGraphic()
public Rectangle getGraphicRectangle(Graphics2D g, Graphic aGraphic, Rectangle2D area)
g - The graphicsaGraphic - The graphicarea - Areapublic void setAutoExtent()
setAutoExtent 在类中 AbstractPlot2Dpublic void updateLegendScheme()
updateLegendScheme 在类中 AbstractPlot2Dpublic Dataset getDataset()
PlotgetDataset 在类中 Plotpublic void setDataset(Dataset dataset)
PlotsetDataset 在类中 Plotdataset - Datasetpublic LegendScheme getLegendScheme()
Copyright © 2019. All rights reserved.