|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.easetech.easytest.reports.utils.ChartUtils
public class ChartUtils
This class contains static helper method to produce images and datasources for the reports
| Constructor Summary | |
|---|---|
ChartUtils()
|
|
| Method Summary | |
|---|---|
static BufferedImage |
getBufferedImageChartImage(org.jfree.chart.JFreeChart chart,
int width,
int height)
Returns a BufferedImage of JFreeChart object |
static org.jfree.chart.JFreeChart |
getPieChart(String title,
org.jfree.data.general.DefaultPieDataset dataset)
Returns JFree chart for dataset |
static org.jfree.data.general.DefaultPieDataset |
getPieChartDataset(Map<String,Double> datasetValues)
Returns a PieDataset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartUtils()
| Method Detail |
|---|
public static BufferedImage getBufferedImageChartImage(org.jfree.chart.JFreeChart chart,
int width,
int height)
chart - JFreeChart objectwidth - widthheight - height
public static org.jfree.chart.JFreeChart getPieChart(String title,
org.jfree.data.general.DefaultPieDataset dataset)
title - dataset -
public static org.jfree.data.general.DefaultPieDataset getPieChartDataset(Map<String,Double> datasetValues)
datasetValues -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||