gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-25 22:37:05 26 4
gpt4 key购买 nike

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

XYStepRenderer.drawLine介绍

[英]A utility method that draws a line but only if none of the coordinates are NaN values.
[中]一种实用的方法,仅当所有坐标都不是NaN值时才绘制直线。

代码示例

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

drawLine(g2, state.workingLine, transY0, transX0, transY1,
      transX1, dataArea);
  drawLine(g2, state.workingLine, transY0, transX0, transY0,
      transXs, dataArea);
  drawLine(g2, state.workingLine, transY0, transXs, transY1,
      transXs, dataArea);
  drawLine(g2, state.workingLine, transY1, transXs, transY1,
      transX1, dataArea);
if (transY0 == transY1) { // this represents the situation
  drawLine(g2, state.workingLine, transX0, transY0, transX1,
      transY1, dataArea);
  drawLine(g2, state.workingLine, transX0, transY0, transXs,
      transY0, dataArea);
  drawLine(g2, state.workingLine, transXs, transY0, transXs,
      transY1, dataArea);
  drawLine(g2, state.workingLine, transXs, transY1, transX1,
      transY1, dataArea);

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

drawLine(g2, state.workingLine, transY0, transX0, transY1,
      transX1);
  drawLine(g2, state.workingLine, transY0, transX0, transY0,
      transXs);
  drawLine(g2, state.workingLine, transY0, transXs, transY1,
      transXs);
  drawLine(g2, state.workingLine, transY1, transXs, transY1,
      transX1);
if (transY0 == transY1) { // this represents the situation
  drawLine(g2, state.workingLine, transX0, transY0, transX1,
      transY1);
  drawLine(g2, state.workingLine, transX0, transY0, transXs,
      transY0);
  drawLine(g2, state.workingLine, transXs, transY0, transXs,
      transY1);
  drawLine(g2, state.workingLine, transXs, transY1, transX1,
      transY1);

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