1 28 package net.sf.jasperreports.engine; 29 30 import java.awt.Color ; 31 32 33 40 public interface JRChart extends JRElement, JRAnchor, JRHyperlink, JRBox 41 { 42 43 44 47 public static final byte TITLE_POSITION_TOP = 1; 48 public static final byte TITLE_POSITION_BOTTOM = 2; 49 public static final byte TITLE_POSITION_LEFT = 3; 50 public static final byte TITLE_POSITION_RIGHT = 4; 51 52 53 56 public static final byte CHART_TYPE_AREA = 1; 57 public static final byte CHART_TYPE_BAR3D = 2; 58 public static final byte CHART_TYPE_BAR = 3; 59 public static final byte CHART_TYPE_BUBBLE = 4; 60 public static final byte CHART_TYPE_CANDLESTICK = 5; 61 public static final byte CHART_TYPE_HIGHLOW = 6; 62 public static final byte CHART_TYPE_LINE = 7; 63 public static final byte CHART_TYPE_PIE3D = 8; 64 public static final byte CHART_TYPE_PIE = 9; 65 public static final byte CHART_TYPE_SCATTER = 10; 66 public static final byte CHART_TYPE_STACKEDBAR3D = 11; 67 public static final byte CHART_TYPE_STACKEDBAR = 12; 68 public static final byte CHART_TYPE_XYAREA = 13; 69 public static final byte CHART_TYPE_XYBAR = 14; 70 public static final byte CHART_TYPE_XYLINE = 15; 71 public static final byte CHART_TYPE_TIMESERIES = 16; 72 public static final byte CHART_TYPE_METER = 17; 73 public static final byte CHART_TYPE_THERMOMETER = 18; 74 public static final byte CHART_TYPE_MULTI_AXIS = 19; 75 76 77 80 public boolean isShowLegend(); 81 82 85 public void setShowLegend(boolean isShowLegend); 86 87 90 public byte getEvaluationTime(); 91 92 95 public JRGroup getEvaluationGroup(); 96 97 101 public JRBox getBox(); 102 103 104 107 public JRExpression getTitleExpression(); 108 109 110 113 public JRFont getTitleFont(); 114 115 116 119 public byte getTitlePosition(); 120 121 122 125 public void setTitlePosition(byte titlePosition); 126 127 128 131 public Color getTitleColor(); 132 133 134 137 public void setTitleColor(Color titleColor); 138 139 140 143 public JRExpression getSubtitleExpression(); 144 145 146 149 public JRFont getSubtitleFont(); 150 151 152 155 public Color getSubtitleColor(); 156 157 158 161 public void setSubtitleColor(Color subtitleColor); 162 163 164 167 public Color getLegendColor(); 168 169 172 public void setLegendColor(Color legendColor); 173 174 177 public Color getLegendBackgroundColor(); 178 179 182 public void setLegendBackgroundColor(Color legendBackgroundColor); 183 184 187 public JRFont getLegendFont(); 188 189 192 public JRChartDataset getDataset(); 193 194 195 198 public JRChartPlot getPlot(); 199 200 201 204 public byte getChartType(); 205 206 210 public String getCustomizerClass(); 211 212 213 } 214 | Popular Tags |