forked from I2P_Developers/i2p.i2p
try to fix RrdGraph GIF exception
This commit is contained in:
@ -334,6 +334,8 @@ public class StatSummarizer implements Runnable {
|
|||||||
//System.out.println("*****************\nData: \n" + _listener.getData().dump());
|
//System.out.println("*****************\nData: \n" + _listener.getData().dump());
|
||||||
def.setWidth(width);
|
def.setWidth(width);
|
||||||
def.setHeight(height);
|
def.setHeight(height);
|
||||||
|
def.setImageFormat("PNG");
|
||||||
|
def.setLazy(true);
|
||||||
|
|
||||||
RrdGraph graph = new RrdGraph(def);
|
RrdGraph graph = new RrdGraph(def);
|
||||||
//System.out.println("Graph created");
|
//System.out.println("Graph created");
|
||||||
|
@ -164,6 +164,8 @@ class SummaryRenderer {
|
|||||||
//System.out.println("*****************\nData: \n" + _listener.getData().dump());
|
//System.out.println("*****************\nData: \n" + _listener.getData().dump());
|
||||||
def.setWidth(width);
|
def.setWidth(width);
|
||||||
def.setHeight(height);
|
def.setHeight(height);
|
||||||
|
def.setImageFormat("PNG");
|
||||||
|
def.setLazy(true);
|
||||||
|
|
||||||
RrdGraph graph = new RrdGraph(def);
|
RrdGraph graph = new RrdGraph(def);
|
||||||
int totalWidth = graph.getRrdGraphInfo().getWidth();
|
int totalWidth = graph.getRrdGraphInfo().getWidth();
|
||||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 4;
|
public final static long BUILD = 5;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
Reference in New Issue
Block a user