/** * Generates the graph in PNG format and sends that to the response. * * @param defaultW * @param defaultH * The size of the picture to be generated. These values can be overridden * by the query parameter 'width' and 'height' in the request. * @deprecated as of 1.320 * Bind {@link Graph} to the URL space. See {@code hudson.tasks.junit.History} as an example (note that doing so involves * a bit of URL structure change.) */ @Deprecated public static void generateGraph(StaplerRequest req, StaplerResponse rsp, final JFreeChart chart, int defaultW, int defaultH) throws IOException { new Graph(-1,defaultW,defaultH) { protected JFreeChart createGraph() { return chart; } }.doPng(req,rsp); }
/** * Generates the graph in PNG format and sends that to the response. * * @param defaultW * @param defaultH * The size of the picture to be generated. These values can be overridden * by the query parameter 'width' and 'height' in the request. * @deprecated as of 1.320 * Bind {@link Graph} to the URL space. See {@code hudson.tasks.junit.History} as an example (note that doing so involves * a bit of URL structure change.) */ @Deprecated public static void generateGraph(StaplerRequest req, StaplerResponse rsp, final JFreeChart chart, int defaultW, int defaultH) throws IOException { new Graph(-1,defaultW,defaultH) { protected JFreeChart createGraph() { return chart; } }.doPng(req,rsp); }
/** * Generates the graph in PNG format and sends that to the response. * * @param defaultW * @param defaultH * The size of the picture to be generated. These values can be overridden * by the query paramter 'width' and 'height' in the request. * @deprecated as of 1.320 * Bind {@link Graph} to the URL space. See {@link History} as an example (note that doing so involves * a bit of URL structure change.) */ public static void generateGraph(StaplerRequest req, StaplerResponse rsp, final JFreeChart chart, int defaultW, int defaultH) throws IOException { new Graph(-1,defaultW,defaultH) { protected JFreeChart createGraph() { return chart; } }.doPng(req,rsp); }
/** * Generates the graph in PNG format and sends that to the response. * * @param defaultW * @param defaultH * The size of the picture to be generated. These values can be overridden * by the query paramter 'width' and 'height' in the request. * @deprecated as of 1.320 * Bind {@link Graph} to the URL space. See {@link History} as an example (note that doing so involves * a bit of URL structure change.) */ public static void generateGraph(StaplerRequest req, StaplerResponse rsp, final JFreeChart chart, int defaultW, int defaultH) throws IOException { new Graph(-1,defaultW,defaultH) { protected JFreeChart createGraph() { return chart; } }.doPng(req,rsp); }
/** * Generates the graph in PNG format and sends that to the response. * * @param defaultW * @param defaultH * The size of the picture to be generated. These values can be overridden * by the query paramter 'width' and 'height' in the request. * @deprecated as of 1.320 * Bind {@link Graph} to the URL space. See {@link History} as an example (note that doing so involves * a bit of URL structure change.) */ public static void generateGraph(StaplerRequest req, StaplerResponse rsp, final JFreeChart chart, int defaultW, int defaultH) throws IOException { new Graph(-1,defaultW,defaultH) { protected JFreeChart createGraph() { return chart; } }.doPng(req,rsp); }