gpt4 book ai didi

org.jfree.data.xy.YIntervalSeries.getDataItem()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 03:17:31 27 4
gpt4 key购买 nike

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

YIntervalSeries.getDataItem介绍

[英]Returns the data item at the specified index.
[中]返回指定索引处的数据项。

代码示例

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

/**
 * Returns the y-value for the specified item.
 *
 * @param index  the item index.
 *
 * @return The y-value.
 */
public double getYValue(int index) {
  YIntervalDataItem item = (YIntervalDataItem) getDataItem(index);
  return item.getYValue();
}

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

/**
 * Returns the x-value for the specified item.
 *
 * @param index  the item index.
 *
 * @return The x-value (never {@code null}).
 */
public Number getX(int index) {
  YIntervalDataItem item = (YIntervalDataItem) getDataItem(index);
  return item.getX();
}

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

/**
 * Returns the y-value for the specified item.
 *
 * @param index  the item index.
 *
 * @return The y-value.
 */
public double getYValue(int index) {
  YIntervalDataItem item = (YIntervalDataItem) getDataItem(index);
  return item.getYValue();
}

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

/**
 * Returns the x-value for the specified item.
 *
 * @param index  the item index.
 *
 * @return The x-value (never <code>null</code>).
 */
public Number getX(int index) {
  YIntervalDataItem item = (YIntervalDataItem) getDataItem(index);
  return item.getX();
}

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

/**
 * Returns the upper bound of the y-interval for the specified item in the
 * series.
 *
 * @param index  the item index.
 *
 * @return The upper bound of the y-interval.
 *
 * @since 1.0.5
 */
public double getYHighValue(int index) {
  YIntervalDataItem item = (YIntervalDataItem) getDataItem(index);
  return item.getYHighValue();
}

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

/**
 * Returns the lower bound of the Y-interval for the specified item in the
 * series.
 *
 * @param index  the item index.
 *
 * @return The lower bound of the Y-interval.
 *
 * @since 1.0.5
 */
public double getYLowValue(int index) {
  YIntervalDataItem item = (YIntervalDataItem) getDataItem(index);
  return item.getYLowValue();
}

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

/**
 * Returns the upper bound of the y-interval for the specified item in the
 * series.
 *
 * @param index  the item index.
 *
 * @return The upper bound of the y-interval.
 *
 * @since 1.0.5
 */
public double getYHighValue(int index) {
  YIntervalDataItem item = (YIntervalDataItem) getDataItem(index);
  return item.getYHighValue();
}

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

/**
 * Returns the lower bound of the Y-interval for the specified item in the
 * series.
 *
 * @param index  the item index.
 *
 * @return The lower bound of the Y-interval.
 *
 * @since 1.0.5
 */
public double getYLowValue(int index) {
  YIntervalDataItem item = (YIntervalDataItem) getDataItem(index);
  return item.getYLowValue();
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com