本文整理了Java中org.jfree.chart.plot.XYPlot.getSeriesCount()
方法的一些代码示例,展示了XYPlot.getSeriesCount()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XYPlot.getSeriesCount()
方法的具体详情如下:
包路径:org.jfree.chart.plot.XYPlot
类名称:XYPlot
方法名:getSeriesCount
[英]Returns the number of series in the primary dataset for this plot. If the dataset is null, the method returns 0.
[中]返回此绘图的主数据集中的系列数。如果数据集为null,则该方法返回0。
代码示例来源:origin: senbox-org/snap-desktop
@Override
protected void showAlternativeView() {
final TableModel model;
if (xyPlot != null && xyPlot.getSeriesCount() > 0) {
model = new MetadataPlotTableModel(xyPlot);
} else {
model = new DefaultTableModel();
}
final TableViewPagePanel alternativPanel = (TableViewPagePanel) getAlternativeView();
alternativPanel.setModel(model);
super.showAlternativeView();
}
代码示例来源:origin: mikaelhg/openblocks
/**
* Clears all values for all series, leaving the same number of series
*/
public void clearValues() {
if (!lock) {
for (int i = 0; i < chart.getXYPlot().getSeriesCount(); i++) {
XYSeries s = ((XYSeriesCollection) chart.getXYPlot().getDataset()).getSeries(i);
while (s.getItemCount() > 0) {
s.remove(0);
}
}
}
}
代码示例来源:origin: us.ihmc/Plotting
int seriesCount = plot.getSeriesCount();
if (independentYaxis)
代码示例来源:origin: us.ihmc/ihmc-swing-plotting
int seriesCount = plot.getSeriesCount();
if (independentYaxis)
代码示例来源:origin: us.ihmc/Plotting
rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
if (independentYaxes && plot.getSeriesCount() > 1)
for(int i=0; i<plot.getSeriesCount(); i++)
代码示例来源:origin: us.ihmc/ihmc-swing-plotting
rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
if (independentYaxes && plot.getSeriesCount() > 1)
for(int i=0; i<plot.getSeriesCount(); i++)
代码示例来源:origin: datacleaner/DataCleaner
final int seriesCount = xyPlot.getSeriesCount();
for (int i = 0; i < seriesCount; i++) {
renderer.setSeriesStroke(i, STROKE_WIDE);
内容来源于网络,如有侵权,请联系作者删除!