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

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

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

XYPlot.removeRangeMarker介绍

[英]Removes a marker for a specific dataset/renderer and sends a PlotChangeEvent to all registered listeners.
[中]删除特定数据集/渲染器的标记,并向所有注册的侦听器发送PlotChangeEvent。

代码示例

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

/**
 * Removes a marker for the range axis and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param marker the marker.
 *
 * @return A boolean indicating whether or not the marker was actually
 *         removed.
 *
 * @since 1.0.7
 */
public boolean removeRangeMarker(Marker marker) {
  return removeRangeMarker(marker, Layer.FOREGROUND);
}

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

/**
 * Removes a marker for a specific dataset/renderer and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param index the dataset/renderer index.
 * @param marker the marker ({@code null} not permitted).
 * @param layer the layer (foreground or background).
 *
 * @return A boolean indicating whether or not the marker was actually
 *         removed.
 *
 * @since 1.0.7
 */
public boolean removeRangeMarker(int index, Marker marker, Layer layer) {
  return removeRangeMarker(index, marker, layer, true);
}

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

/**
 * Removes a marker for the range axis and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param marker the marker.
 *
 * @return A boolean indicating whether or not the marker was actually
 *         removed.
 *
 * @since 1.0.7
 */
public boolean removeRangeMarker(Marker marker) {
  return removeRangeMarker(marker, Layer.FOREGROUND);
}

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

/**
 * Removes a marker for the range axis in the specified layer and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param marker the marker ({@code null} not permitted).
 * @param layer the layer (foreground or background).
 *
 * @return A boolean indicating whether or not the marker was actually
 *         removed.
 *
 * @since 1.0.7
 */
public boolean removeRangeMarker(Marker marker, Layer layer) {
  return removeRangeMarker(0, marker, layer);
}

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

/**
 * Removes a marker for a specific dataset/renderer and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param index the dataset/renderer index.
 * @param marker the marker.
 * @param layer the layer (foreground or background).
 *
 * @return A boolean indicating whether or not the marker was actually
 *         removed.
 *
 * @since 1.0.7
 */
public boolean removeRangeMarker(int index, Marker marker, Layer layer) {
  return removeRangeMarker(index, marker, layer, true);
}

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

/**
 * Removes a marker for the range axis in the specified layer and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param marker the marker (<code>null</code> not permitted).
 * @param layer the layer (foreground or background).
 *
 * @return A boolean indicating whether or not the marker was actually
 *         removed.
 *
 * @since 1.0.7
 */
public boolean removeRangeMarker(Marker marker, Layer layer) {
  return removeRangeMarker(0, marker, layer);
}

代码示例来源:origin: net.sourceforge.ondex.apps/ovtk2-experimental

plot.removeRangeMarker(yMaxMarker);
yMaxMarker = new ValueMarker(yMaxSet);
yMaxMarker.setPaint(Color.green);
plot.removeRangeMarker(yMinMarker);
yMinMarker = new ValueMarker(yMinSet);
yMinMarker.setPaint(Color.red);

相关文章

微信公众号

最新文章

更多

XYPlot类方法