public class ImageChartUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static int |
DISCRETE_DATA_INDEX |
private static int |
NUMERIC_DATA_INDEX |
| Constructor and Description |
|---|
ImageChartUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addSecond(org.jfree.data.time.TimeSeries timeSeries,
long time,
java.lang.Number value) |
static byte[] |
getChartData(PointTimeSeriesCollection pointTimeSeriesCollection,
boolean showLegend,
int width,
int height) |
static byte[] |
getChartData(PointTimeSeriesCollection pointTimeSeriesCollection,
int width,
int height) |
static java.lang.String |
getContentType() |
static void |
writeChart(javax.servlet.http.HttpServletResponse response,
byte[] chartData) |
static void |
writeChart(PointTimeSeriesCollection pointTimeSeriesCollection,
boolean showLegend,
java.io.OutputStream out,
int width,
int height) |
static void |
writeChart(PointTimeSeriesCollection pointTimeSeriesCollection,
java.io.OutputStream out,
int width,
int height) |
private static final int NUMERIC_DATA_INDEX
private static final int DISCRETE_DATA_INDEX
public static void writeChart(PointTimeSeriesCollection pointTimeSeriesCollection, java.io.OutputStream out, int width, int height) throws java.io.IOException
java.io.IOExceptionpublic static byte[] getChartData(PointTimeSeriesCollection pointTimeSeriesCollection, int width, int height)
public static byte[] getChartData(PointTimeSeriesCollection pointTimeSeriesCollection, boolean showLegend, int width, int height)
public static void writeChart(PointTimeSeriesCollection pointTimeSeriesCollection, boolean showLegend, java.io.OutputStream out, int width, int height) throws java.io.IOException
java.io.IOExceptionpublic static void writeChart(javax.servlet.http.HttpServletResponse response,
byte[] chartData)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String getContentType()
public static void addSecond(org.jfree.data.time.TimeSeries timeSeries,
long time,
java.lang.Number value)