gpt4 book ai didi

org.jfree.chart.renderer.xy.XYSplineRenderer.setDrawSeriesLineAsPath()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-18 14:18:40 30 4
gpt4 key购买 nike

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

XYSplineRenderer.setDrawSeriesLineAsPath介绍

暂无

代码示例

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

/**
 * Initialises the renderer.
 * <P>
 * This method will be called before the first item is rendered, giving the
 * renderer an opportunity to initialise any state information it wants to
 * maintain.  The renderer can do nothing if it chooses.
 *
 * @param g2  the graphics device.
 * @param dataArea  the area inside the axes.
 * @param plot  the plot.
 * @param data  the data.
 * @param info  an optional info collection object to return data back to
 *              the caller.
 *
 * @return The renderer state.
 */
public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea,
    XYPlot plot, XYDataset data, PlotRenderingInfo info) {
  State state = (State) super.initialise(g2, dataArea, plot, data, info);
  state.setProcessVisibleItemsOnly(false);
  this.points = new Vector();
  setDrawSeriesLineAsPath(true);
  return state;
}

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

/**
 * Initialises the renderer.
 * <P>
 * This method will be called before the first item is rendered, giving the
 * renderer an opportunity to initialise any state information it wants to
 * maintain.  The renderer can do nothing if it chooses.
 *
 * @param g2  the graphics device.
 * @param dataArea  the area inside the axes.
 * @param plot  the plot.
 * @param data  the data.
 * @param info  an optional info collection object to return data back to
 *              the caller.
 *
 * @return The renderer state.
 */
@Override
public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea,
    XYPlot plot, XYDataset data, PlotRenderingInfo info) {
  setDrawSeriesLineAsPath(true);
  XYSplineState state = new XYSplineState(info);
  state.setProcessVisibleItemsOnly(false);
  return state;
}

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