org.jfree.chart.JFreeChart.drawTitle()方法的使用及代码示例

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

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

JFreeChart.drawTitle介绍

[英]Draws a title. The title should be drawn at the top, bottom, left or right of the specified area, and the area should be updated to reflect the amount of space used by the title.
[中]画一个标题。标题应绘制在指定区域的顶部、底部、左侧或右侧,并且该区域应更新以反映标题使用的空间量。

代码示例

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

EntityCollection e = drawTitle(this.title, g2, nonTitleArea,
    (entities != null));
if (e != null && entities != null) {
  EntityCollection e = drawTitle(currentTitle, g2, nonTitleArea,
      (entities != null));
  if (e != null && entities != null) {

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

EntityCollection e = drawTitle(this.title, g2, nonTitleArea,
    (entities != null));
if (e != null) {
Title currentTitle = (Title) iterator.next();
if (currentTitle.isVisible()) {
  EntityCollection e = drawTitle(currentTitle, g2, nonTitleArea,
      (entities != null));
  if (e != null) {

相关文章