本文整理了Java中org.jfree.chart.plot.XYPlot.getDomainAxisCount()
方法的一些代码示例,展示了XYPlot.getDomainAxisCount()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XYPlot.getDomainAxisCount()
方法的具体详情如下:
包路径:org.jfree.chart.plot.XYPlot
类名称:XYPlot
方法名:getDomainAxisCount
[英]Returns the number of domain axes.
[中]返回域轴的数目。
代码示例来源:origin: jfree/jfreechart
/**
* Pans the domain axes by the specified percentage.
*
* @param percent the distance to pan (as a percentage of the axis length).
* @param info the plot info
* @param source the source point where the pan action started.
*
* @since 1.0.13
*/
@Override
public void panDomainAxes(double percent, PlotRenderingInfo info,
Point2D source) {
if (!isDomainPannable()) {
return;
}
int domainAxisCount = getDomainAxisCount();
for (int i = 0; i < domainAxisCount; i++) {
ValueAxis axis = getDomainAxis(i);
if (axis == null) {
continue;
}
axis.pan(axis.isInverted() ? -percent : percent);
}
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
/**
* Pans the domain axes by the specified percentage.
*
* @param percent the distance to pan (as a percentage of the axis length).
* @param info the plot info
* @param source the source point where the pan action started.
*
* @since 1.0.13
*/
public void panDomainAxes(double percent, PlotRenderingInfo info,
Point2D source) {
if (!isDomainPannable()) {
return;
}
int domainAxisCount = getDomainAxisCount();
for (int i = 0; i < domainAxisCount; i++) {
ValueAxis axis = getDomainAxis(i);
if (axis == null) {
continue;
}
if (axis.isInverted()) {
percent = -percent;
}
axis.pan(percent);
}
}
代码示例来源:origin: jfree/jfreechart
for (int i = 0; i < subplot.getDomainAxisCount(); i++) {
ValueAxis domainAxis = subplot.getDomainAxis(i);
if (domainAxis != null) {
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
plot.setRangeCrosshairPaint(this.crosshairPaint);
int domainAxisCount = plot.getDomainAxisCount();
for (int i = 0; i < domainAxisCount; i++) {
ValueAxis axis = plot.getDomainAxis(i);
代码示例来源:origin: jfree/jfreechart
int domainAxisCount = plot.getDomainAxisCount();
for (int i = 0; i < domainAxisCount; i++) {
ValueAxis axis = plot.getDomainAxis(i);
内容来源于网络,如有侵权,请联系作者删除!