-
Methods in org.knowm.xchart with parameters of type BitmapEncoder.BitmapFormat
| Modifier and Type |
Method |
Description |
static String |
BitmapEncoder.addFileExtension(String fileName,
BitmapEncoder.BitmapFormat bitmapFormat) |
Only adds the extension of the BitmapFormat to the filename if the filename doesn't already
have it.
|
static <T extends org.knowm.xchart.internal.chartpart.Chart<?,
?>> byte[] |
BitmapEncoder.getBitmapBytes(T chart,
BitmapEncoder.BitmapFormat bitmapFormat) |
Generates a byte[] for a given chart
|
static <T extends org.knowm.xchart.internal.chartpart.Chart<?,
?>> void |
BitmapEncoder.saveBitmap(List<T> charts,
Integer rows,
Integer cols,
OutputStream targetStream,
BitmapEncoder.BitmapFormat bitmapFormat) |
Save list of Charts into a given stream.
|
static <T extends org.knowm.xchart.internal.chartpart.Chart<?,
?>> void |
BitmapEncoder.saveBitmap(List<T> charts,
Integer rows,
Integer cols,
String fileName,
BitmapEncoder.BitmapFormat bitmapFormat) |
Save list of Charts as an image file.
|
static <T extends org.knowm.xchart.internal.chartpart.Chart<?,
?>> void |
BitmapEncoder.saveBitmap(T chart,
OutputStream targetStream,
BitmapEncoder.BitmapFormat bitmapFormat) |
Write a Chart into a given stream.
|
static <T extends org.knowm.xchart.internal.chartpart.Chart<?,
?>> void |
BitmapEncoder.saveBitmap(T chart,
String fileName,
BitmapEncoder.BitmapFormat bitmapFormat) |
Save a Chart as an image file
|
static <T extends org.knowm.xchart.internal.chartpart.Chart<?,
?>> void |
BitmapEncoder.saveBitmapWithDPI(T chart,
String fileName,
BitmapEncoder.BitmapFormat bitmapFormat,
int DPI) |
Save a chart as a PNG with a custom DPI.
|