class SummaryRenderer extends Object
Constructor and Description |
---|
SummaryRenderer(I2PAppContext ctx,
SummaryListener lsnr) |
Modifier and Type | Method and Description |
---|---|
static void |
render(I2PAppContext ctx,
OutputStream out,
String filename)
Deprecated.
unused
|
void |
render(OutputStream out) |
void |
render(OutputStream out,
int width,
int height,
boolean hideLegend,
boolean hideGrid,
boolean hideTitle,
boolean showEvents,
int periodCount,
int endp,
boolean showCredit)
Single graph.
|
void |
render(OutputStream out,
int width,
int height,
boolean hideLegend,
boolean hideGrid,
boolean hideTitle,
boolean showEvents,
int periodCount,
int endp,
boolean showCredit,
SummaryListener lsnr2,
String titleOverride)
Single or two-data-source graph.
|
public SummaryRenderer(I2PAppContext ctx, SummaryListener lsnr)
@Deprecated public static void render(I2PAppContext ctx, OutputStream out, String filename) throws IOException
UnsupportedOperationException
- alwaysIOException
public void render(OutputStream out) throws IOException
IOException
public void render(OutputStream out, int width, int height, boolean hideLegend, boolean hideGrid, boolean hideTitle, boolean showEvents, int periodCount, int endp, boolean showCredit) throws IOException
endp
- number of periods before nowIOException
public void render(OutputStream out, int width, int height, boolean hideLegend, boolean hideGrid, boolean hideTitle, boolean showEvents, int periodCount, int endp, boolean showCredit, SummaryListener lsnr2, String titleOverride) throws IOException
lsnr2
- 2nd data source to plot on same graph, or null. Not recommended for events.titleOverride
- If non-null, overrides the titleIOException