org.jfree.chart.plot.XYPlot.mapDatasetToRangeAxes()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(75)

本文整理了Java中org.jfree.chart.plot.XYPlot.mapDatasetToRangeAxes()方法的一些代码示例,展示了XYPlot.mapDatasetToRangeAxes()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XYPlot.mapDatasetToRangeAxes()方法的具体详情如下:
包路径:org.jfree.chart.plot.XYPlot
类名称:XYPlot
方法名:mapDatasetToRangeAxes

XYPlot.mapDatasetToRangeAxes介绍

[英]Maps the specified dataset to the axes in the list. Note that the conversion of data values into Java2D space is always performed using the first axis in the list.
[中]将指定的数据集映射到列表中的轴。请注意,数据值到Java2D空间的转换始终使用列表中的第一个轴执行。

代码示例

代码示例来源:origin: jfree/jfreechart

/**
 * Maps a dataset to a particular range axis.  All data will be plotted
 * against axis zero by default, no mapping is required for this case.
 *
 * @param index  the dataset index (zero-based).
 * @param axisIndex  the axis index.
 *
 * @see #mapDatasetToDomainAxis(int, int)
 */
public void mapDatasetToRangeAxis(int index, int axisIndex) {
  List axisIndices = new java.util.ArrayList(1);
  axisIndices.add(new Integer(axisIndex));
  mapDatasetToRangeAxes(index, axisIndices);
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Maps a dataset to a particular range axis.  All data will be plotted
 * against axis zero by default, no mapping is required for this case.
 *
 * @param index  the dataset index (zero-based).
 * @param axisIndex  the axis index.
 *
 * @see #mapDatasetToDomainAxis(int, int)
 */
public void mapDatasetToRangeAxis(int index, int axisIndex) {
  List axisIndices = new java.util.ArrayList(1);
  axisIndices.add(new Integer(axisIndex));
  mapDatasetToRangeAxes(index, axisIndices);
}

代码示例来源:origin: stackoverflow.com

plot.setRangeAxisLocation(1, AxisLocation.BOTTOM_OR_LEFT);
List<Integer> axes = Arrays.asList(0, 1);
plot.mapDatasetToRangeAxes(0, axes);
scaleRange(feet, meters);
meters.addChangeListener((AxisChangeEvent event) -> {

相关文章

微信公众号

最新文章

更多

XYPlot类方法