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

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

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

XYPlot.getRangeCrosshairPaint介绍

[英]Returns the range crosshair paint.
[中]返回十字线绘制的范围。

代码示例

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

plot1.getRangeCrosshairPaint();
plot1.setBackgroundPaint(Color.white);
plot1.setDomainGridlinePaint(Color.magenta);

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

if (isRangeCrosshairVisible()) {
  double y = getRangeCrosshairValue();
  Paint paint = getRangeCrosshairPaint();
  Stroke stroke = getRangeCrosshairStroke();
  drawRangeCrosshair(g2, dataArea, orient, y, yAxis, stroke, paint);

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

if (isRangeCrosshairVisible()) {
  double y = getRangeCrosshairValue();
  Paint paint = getRangeCrosshairPaint();
  Stroke stroke = getRangeCrosshairStroke();
  drawRangeCrosshair(g2, dataArea, orient, y, yAxis, stroke, paint);

相关文章

微信公众号

最新文章

更多

XYPlot类方法