public class XY1DPlot 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| 构造器 | 说明 |
|---|---|
XY1DPlot() |
Constructor
|
XY1DPlot(boolean isTime,
ChartPlotMethod cpMethod,
XYDataset dateset) |
Constructor
|
XY1DPlot(boolean isTime,
PlotOrientation orientation,
XYDataset dateset) |
Constructor
|
XY1DPlot(boolean isTime,
XYDataset dateset) |
Constructor
|
XY1DPlot(PlotOrientation orientation,
XYDataset dateset) |
Constructor
|
XY1DPlot(XYDataset dateset) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
addSeries(String seriesKey,
double[] xvs,
double[] yvs) |
Add a series data
|
Extent |
getAutoExtent() |
Get auto extent
|
float |
getBarWidth() |
Get bar width ratio
|
ChartPlotMethod |
getChartPlotMethod() |
Get chart plot method
|
XYDataset |
getDataset() |
Get dataset
|
PointBreak |
getItemPointBreak(int seriesIdx,
int itemIdx) |
Get a item point break
|
ColorBreak |
getLegendBreak(int seriesIdx) |
Get legend break
|
List<SeriesLegend> |
getLegendBreaks() |
Get Series legend breaks
|
LegendScheme |
getLegendScheme() |
Get legend scheme
|
PlotType |
getPlotType() |
Get plot type
|
boolean |
isAutoBarWidth() |
Get if automatically decide bar width
|
boolean |
isUseBreak2D() |
If use item 2D point breaks
|
void |
removeLastSeries() |
Remove last series
|
void |
setAutoBarWidth(boolean value) |
Set if automatically decide bar height
|
void |
setAutoExtent() |
Set auto extent
|
void |
setBarWidth(float value) |
Set bar width ratio
|
void |
setChartPlotMethod(ChartPlotMethod value) |
Set chart plot method
|
void |
setDataset(Dataset value) |
Set dataset
|
void |
setItemPointBreak(int seriesIdx,
int itemIdx,
PointBreak pb) |
Set item point break
|
void |
setLegendBreak(int seriesIdx,
SeriesLegend sLegend) |
Set series legend
|
void |
setLegendBreak(int seriesIdx,
ColorBreak cb) |
Set legend break
|
void |
setUseBeak2D(boolean value) |
Set if use item 2D point breaks
|
void |
updateLegendScheme() |
addLegend, addText, draw, getAspect, getAxis, getBackground, getDrawExtent, getExtent, getGraphArea, getGridLine, getLeftTitle, getLegend, getLegend, getLegends, getOuterPositionArea, getPlotOrientation, 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 XY1DPlot()
public XY1DPlot(XYDataset dateset)
dateset - Datasetpublic XY1DPlot(PlotOrientation orientation, XYDataset dateset)
orientation - Plot orientationdateset - Datasetpublic XY1DPlot(boolean isTime,
XYDataset dateset)
isTime - If x axis is timedateset - Datasetpublic XY1DPlot(boolean isTime,
ChartPlotMethod cpMethod,
XYDataset dateset)
isTime - If x axis is timecpMethod - Plot methoddateset - Datasetpublic XY1DPlot(boolean isTime,
PlotOrientation orientation,
XYDataset dateset)
isTime - If x axis is timeorientation - Plot orientationdateset - Datasetpublic XYDataset getDataset()
PlotgetDataset 在类中 Plotpublic void setDataset(Dataset value)
PlotsetDataset 在类中 Plotvalue - Datasetpublic ChartPlotMethod getChartPlotMethod()
public void setChartPlotMethod(ChartPlotMethod value)
value - Chart plot methodpublic PlotType getPlotType()
PlotgetPlotType 在类中 AbstractPlot2Dpublic List<SeriesLegend> getLegendBreaks()
public boolean isUseBreak2D()
public void setUseBeak2D(boolean value)
value - Booleanpublic float getBarWidth()
public void setBarWidth(float value)
value - Bar width ratiopublic boolean isAutoBarWidth()
public void setAutoBarWidth(boolean value)
value - Booleanpublic void addSeries(String seriesKey, double[] xvs, double[] yvs)
seriesKey - Series keyxvs - X value arrayyvs - Y value arraypublic void removeLastSeries()
public PointBreak getItemPointBreak(int seriesIdx, int itemIdx)
seriesIdx - Series indexitemIdx - Item indexpublic void setItemPointBreak(int seriesIdx,
int itemIdx,
PointBreak pb)
seriesIdx - Series indexitemIdx - Item indexpb - Item point breakpublic ColorBreak getLegendBreak(int seriesIdx)
seriesIdx - Series indexpublic void setLegendBreak(int seriesIdx,
ColorBreak cb)
seriesIdx - Series indexcb - Legend breakpublic void setLegendBreak(int seriesIdx,
SeriesLegend sLegend)
seriesIdx - Series indexsLegend - SeriesLegendpublic Extent getAutoExtent()
public void setAutoExtent()
setAutoExtent 在类中 AbstractPlot2Dpublic LegendScheme getLegendScheme()
public void updateLegendScheme()
updateLegendScheme 在类中 AbstractPlot2DCopyright © 2019. All rights reserved.