| org.openi.chart.EnhancedChartFactory
EnhancedChartFactory | public class EnhancedChartFactory extends ChartFactory (Code) | | This is a badly needed an extracted factory class to properly test chart creation.
Before was couple with the chart component.
|
Method Summary | |
public static JFreeChart | create3DPieChart(String title, java.awt.Font titleFont, CategoryDataset data, TableOrder order, boolean legend, boolean tooltips, boolean urls, PieURLGenerator urlGenerator) | public static JFreeChart | createChart(Analysis analysis, OlapModel olapModel, Locale locale) wrapper method that uses openi domain objects as input, returns chart. | public static void | createChart(OutputStream out, Analysis analysis, OlapModel olapModel, int width, int height, Locale locale) method used to stream chart directly to the output stream.
Intended for use in a servlet (e.g. | public static JFreeChart | createChart(OlapModel olapModel, int chartType, String chartTitle, String horizAxisLabel, String vertAxisLabel, boolean showLegend, boolean showTooltips, boolean drillThroughEnabled, Font titleFont, Paint bgPaint, Font slicerFont, Font axisFont, Font axisTickFont, Font legendFont, int legendPosition, double tickLabelRotate, float foregroundAlpha, boolean showSlicer, int slicerPosition, int slicerAlignment, boolean showPareto, Locale locale) | public static JFreeChart | createLineChart(String title, java.awt.Font titleFont, String categoryAxisLabel, String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls, CategoryURLGenerator urlGenerator) | public static JFreeChart | createPieChart(String title, java.awt.Font titleFont, CategoryDataset data, TableOrder order, boolean legend, boolean tooltips, boolean urls, PieURLGenerator urlGenerator) | public static JFreeChart | createTimeChart(String title, String horizAxisLabel, String vertAxisLabel, XYDataset dataset) |
EnhancedChartFactory | public EnhancedChartFactory()(Code) | | |
create3DPieChart | public static JFreeChart create3DPieChart(String title, java.awt.Font titleFont, CategoryDataset data, TableOrder order, boolean legend, boolean tooltips, boolean urls, PieURLGenerator urlGenerator)(Code) | | |
createChart | public static JFreeChart createChart(Analysis analysis, OlapModel olapModel, Locale locale) throws OlapException(Code) | | wrapper method that uses openi domain objects as input, returns chart.
Parameters: analysis - Parameters: dataset - throws: OlapException - |
createChart | public static void createChart(OutputStream out, Analysis analysis, OlapModel olapModel, int width, int height, Locale locale) throws FileNotFoundException, IOException, OlapException(Code) | | method used to stream chart directly to the output stream.
Intended for use in a servlet (e.g. - dashboard servlet).
Parameters: out - Parameters: analysis - Parameters: dataset - Parameters: width - Parameters: height - throws: FileNotFoundException - throws: IOException - throws: OlapException - |
createChart | public static JFreeChart createChart(OlapModel olapModel, int chartType, String chartTitle, String horizAxisLabel, String vertAxisLabel, boolean showLegend, boolean showTooltips, boolean drillThroughEnabled, Font titleFont, Paint bgPaint, Font slicerFont, Font axisFont, Font axisTickFont, Font legendFont, int legendPosition, double tickLabelRotate, float foregroundAlpha, boolean showSlicer, int slicerPosition, int slicerAlignment, boolean showPareto, Locale locale) throws OlapException(Code) | | factory method used in the wcf EnhancedChartComponent, also used internally by
other wrapper createChart methods
throws: OlapException - |
createLineChart | public static JFreeChart createLineChart(String title, java.awt.Font titleFont, String categoryAxisLabel, String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls, CategoryURLGenerator urlGenerator)(Code) | | |
createPieChart | public static JFreeChart createPieChart(String title, java.awt.Font titleFont, CategoryDataset data, TableOrder order, boolean legend, boolean tooltips, boolean urls, PieURLGenerator urlGenerator)(Code) | | |
createTimeChart | public static JFreeChart createTimeChart(String title, String horizAxisLabel, String vertAxisLabel, XYDataset dataset)(Code) | | |
|
|