jfreechartAPI帮助文档

所需积分/C币:9 2012-07-26 10:49:03 6.37MB PDF
收藏 收藏
举报

jfreechart的API 帮助文档 ,使用手册
CONTENTS 5.9 Multiple pie charts 6 Bar Charts 45 6.1 Introduction 45 6.2 A Bar Chart 45 6.3 The chart Factory class 48 6.4 Simple chart Customisation 49 6.5 Customising the Renderer 7 Line charts 51 7.1 Introduction 7. 2 A line Chart Based On A Category Dataset 5 7.3 A Line Chart Based On An XYDataset 56 8 Timc Scrics Charts 61 8. 1 Introduction 8.2 Time Series Charts 9 Customising Charts 67 9. 1 Introductio 9. 2 Chart Attributes 9.3 Plot, A 69 g 4 Axis Attribute 10 Dynamic Charts 72 10.1 Overview 10.2 Background 10. The Demo Application 73 11 Toot 77 11.1 Overview 11.2 Generating Tool Tip 11.3 Collecting Tool Tip 11.4 Displaying Tool Tips 8 11.5 Disabling Tool Tips 11.6 Customising Tool Tips 78 12 tem labels 79 12.1 Introduction 12.2 Displaying Item Labels 12.3 Iten Label Appearance 12.4 Item Label Positioning 12.5 Customising thc Itcm Labcl Text 12.6 Example l-values above a Threshold 12.7 Example 2-Displaying Percentages 13 Multiple Axes and Datasets 91 13.1 Introduction 91 13.2 An Example 13.3 Hints and Tips 93 CONTENTS 14 Combined charts 94 14.1 Introduction 14.2 Combined Domain Category Plof 14.3 Combined Range Category Plot 141.4 Combined Domain XY Plot 96 14.5 Combined Range XY Plot 15 Datasets and jdBc 99 15.1 Introduction 15.2 About JDBC 15.3 Sample Data 15.4 PostgrESQL 100 15.5 The DBC driver 101 15. 6 The Demo Applications 02 16 Exporting Charts to Acrobat PDF 103 16.1 Introduction ,103 16.2 What is Acrobat PDF? 103 16.3 iText 103 16.4 Graphics2D 16.5 Getting st 104 16.6 The Applicatioll .104 17 Exporting Charts to SVG Format 16.7 Viewing the PDF File 108 16.8 Unicodc Charactcrs 108 111 17.1 IntroductioN 111 17. 2 Background 111 17. 3 A Sample Application 18 Applets 114 18.1 Introduction 114 18.2 Issues 114 18.3 A Sample Applet 115 1 9 Servlets 118 19.1 Introduction 118 19.2 A Simple Servlet 118 19.3 Compiling the Servlet 120 19.4 Deploying the Servlet 121 19.5 Embedding Charts in HTML Pages 121 19.6 Supporting Files 126 19.7 Deploying Servlets 127 20 Miscellaneous 129 20.1 Introduction 129 20.2 Xll/Headless Java 129 20.3 Java Server Pages 20.4 Loading Images 21 Packages 130 21.1 Overview 130 CONTENTS 4 22 Package: org. jfree chart 131 22.1 Overview 1:1 22.2 Chart Color 2 2. 3 Chart Facto 22. Chart Frame .134 22.5 Chart MouseEvent 134 22.6 Chart Mousclistcncr 22.7 Chart Panel 228 Chartrenderimgln· 22.9 Chart utilit 22. 10ClipPath 142 22. 11DrawableLegendIteIll 22. 12Effect 3D 143 22.13JFrcc Chart 22. 14LegendItem 148 22. 15LegendItem Collection 50 22.16LegendItem Source 22.17LegendRenderingorder 151 22.18Pvlar Chart Panel .152 23 Package: org.jfree chart. annot ations 15 23.2 AbstractXYannotation 23.3 Category Anote 23.4 Category line Alllotation 155 23.5 Category Pointer Annotation 157 23.6 Category TextAnnotation 159 23.7 Text Annotation 160 23. 8 ANNotation 23.9 Box Annotation 23.10XY Drawable Annot ation 23.11XYlInageAllllotation 165 23. 12XYLineannotation 23.13XY Pointer Annotation 167 23. 14XYPolygonAnnotation 23.15XYShape Annotation 171 23.16XYText Annotation 172 24 Package: org. jfree chart. axis 175 24.1 Overview 175 24.2Ax 175 24.3 Axiscollection 180 24.4 AxisLocation 24.5 Axis Space 180 24.6 Axis State 24.7 CategoryAnchor ..181 24.8 Category Axis 24.9 Category Axis3D 186 24.10CategorylabelPosition 24.11 Category labelpositions 188 24. 12Category Label WidthType 188 24.13 Category Tick 189 24.14 ColorBar 24.15 Compass Format 189 24.16CyclicNumbcrAxis 190 CONTENTS 24.17DateAxis 24.18Date Tick MarkPosition 195 24.19DateTick 195 24.20Date Tick Unit 21.21 Extended category axis .197 24.22LogarithmicAxis .197 24.23 Marker axisband,,,,,,,,,,,,,,,,,,,, 24.24Moduloaxis 199 24.25MonthDateFormat 201 24.26Number Axis 202 24.27Number Axis 3D 206 24.28Number Tick 207 24.29Number TickUnit 207 24.30PcriodAxis 208 24. 31PeriodaxislabelInfo 24.32Quarter Date Format 212 24.33SegmentedTimeline 212 24.34StandardTickUnitSource 213 24.35Sub Axis 213 24.36SymbolAxis 215 24.37Tick 216 24.38TickUnit 217 24. 40TickUnitSource 218 24.41Timeli 218 24.42V leXiS 219 24.43ValueTick 222 25 Package: org. jfree chart. block 223 25.1 Introduction 25.2 Abstract Block 223 25.3 Arrangement 225 25.4 Block 25.5 Blockborder 226 25.6 Block containcr .227 25.7 Block Frame 25. 8 BlockParams 229 25.9 BlockResult 25.10Border Arrangement 229 25 11 Center Arrangement 230 25.12ColorBlock 23 25.13 Column Arrangcmcnt ..231 25. 14Empty Block 231 25. 15EntityblockParams 25.16EntityBlockResult 232 25. 17Flow Arrangement 2 25. 18Gridarralgelnent 232 25.19LabelBlock 233 25.20Length Constraint Type 234 25.21 Lineborde 235 25.22Rectangle constraint 236 CONTENTS 6 26 Package: org. jfree chart editor 2"8 26.1 Introduction 238 26.2 ChartEditor 238 26.3 Chart EditorFactory 238 26.4 Chart Editormanager ) 26.5 Default Axis Editor 239 26.6 Default Chart Editor 239 26.7 Default Chart Editorfactory 240 26.8 Default ColorBar Editor 240 26.9 Default Number AxisEditor 241 26.10Default Plotediton 241 26 11 DefaultTitleeditor 241 26.12Palettech r Panel 241 26.13PalcttcSamplo 242 27 Package: org jfree chart. encoders 243 27.1 Introduction 243 27.2 Encoder til 243 27.3 Image EncoderFactory 244 27.4 ImagcEncodcr 244 27.5 Image Format 245 27.6 Key pointPNGEncoder Adapter 245 27.7 SunJPEGEncoder Adapter 246 27.8 SuIPNGElcoder Adapter 246 28 Package: org. jfree chart. entity 248 28.1 Introduction 248 28.2 Backs 248 28.3 Category lteImEntity ..248 28. Chart Enti 249 28.5 ContourEntity 250 28.6 Entity Collection 250 28.7 LcgenditcmEntity 鲁垂 251 28.8 Pie Section Entit 28.9 StandardEntitv Collection 252 28.10TickLabelEntit 253 28.11XYAnnotationEntity 253 28. 12XYItemEntity 254 29 Package: org.jfree chart. event 255 29.1 Introduction 255 29.2 Axis ChangeEvelt 255 29.3 Axis Changelistener 29.4 Chart ChangeEvent ..256 29.5 Chart ChangeEvent Type 256 29.6 Chart ChangeListener 29.7 Chart P 25 29.8 ChartProgresslistener 258 29.9 Marker ch 258 29.10Marker Changelistener 29.11 Potch Event 259 29.12PlotChangelistener 260 29. 13Rcndcrcr Changcevent 260 29. 14Renderer Changelistener 260 29.15TitleChangeEvent .261 CONTENTS 29.16Tit le changel istener 30 Package: org. jfree chart.imagemap 262 30.1 Overview 262 30.2 DynamicDrive ToolTipTag Fragment Generator ,,,,,,,262 30.3 ImageMaputilities 26 30.4 OverLIBToolTip lag FragmentGenerator 26:3 30.5 Standard ToolTipTag Fragment Generator 263 30.6 StanldardURLTagFraginent Gemerator 263 30.7 ToolTip Tag Fragment Generator ,·· 264 30.8 URLTag Fragment Generator 264 31 Package: org. jfree chart. labels 266 31.1 Introduction 266 31.2 Abstract CategoryItemLabelGenerator 266 31.3 Abstract PieltemLabelgenerator 267 31.4 AbstractXYitcmLabclGencrator 268 31.5 BoxAnd whisker ToolTip Generator .270 31.6 Box And ToolTipgenerator 270 31.7 CategoryItemLabelGenerator 270 31.8 Category SeriesLabelGenerator 271 31.9 Category ToolTip Generator .271 31.10ContourToolTipgenerator 31.11 CustomXYToolTipgcncrator 272 31. 12HighlLowltcmLabclGcncrator ..,,,.272 31.13IntervalCategoryItemLabelGenerator 31.14IntervalCategory Tool Tip Generator 274 31.151temLabelAnchor 31.16IteInLabelPositioll 275 31.17MultiplexY seriesLabelGenerator 276 31.18 PieSectionLabelGenerator 31. 19Pie ToolTip Generator 278 31.20Standard CatcgoryItcmLabclGcncrator 278 31.21St andard Category SeriesLabelGenerator ..279 31.22Standard Category ToolTipG 280 31. 23Standard Contour ToolTipGenerator 281 31.24StandardPieSectionLabelGenerator 281 31.25StandardPie Tooltip generator 283 31.26StandardXYItemLabelGenerator 284 31.27StandardXYScricsLabclGcncrator .,,,,,,,,,.285 31.28StandardXY ToolTip generator 286 31. 29StandardXYZTooITip generator 31.30SymbolicXYIteLabelGenerator 287 31.31XYItemLabelGenerator 287 31. 32XYSerieslabelgenerator 31.33XYToolTipgenerator 288 31.34XYZToolTipGenerator 289 32 Package: org. jfree chart. needle 290 32.1 Overview 290 32.2 Arrow Needle 290 32.3L 291 32.4 LongNccdlc 32.5 Meter eedle .291 32.6 PinNeedle 292 CONTENTS 32.7 Plum Needle 292 32.8 Pointer Needle 29 32.9 Ship Needle 293 32.10WindNeedle 33 Package: org. jfreechart. plot 295 33.1 Overview 295 33.2 Category Marker 295 33.3 Category Plot 297 33.4 Color Palette 302 33.5 Combined Domain Category Plot 302 33.6 Combincd DomainxYPlot 304 33.7 CombinedRange Category Plot 306 33.8 CombinedRangexYplot 3.9 CompassPlot 308 33.10ContourPlot 33.11 ContourPlotutilities 312 33.12Contour ValuePlot 312 33.13 CrosshairState 312 33. 14Datasct Rendering Ordcr .312 13. 15 Defa 1It Drawing Supplier 213 33.16Dialshape 314 33.17DrawingSupplier 315 33.18FastScatterPlot 316 33.19GrevPalette 319 33.20IntervalMarker 319 33.21Markcr .321 33. 22MeterInterval 325 33.23MeterPlot 226 33.24 MultiplePiePlot 3:0 33.25 PieLabelDistributor 333 33.26PieLabelrecord 333 33.27PiePlot 33.28Pie Plot3D 340 33.29PicPlotStatc 341 33.30Plot 34 33.31PlotOrientation 347 33.32Plotrenderinglnfo 347 33.33Plotstate 348 33.34PularPlot 349 33.35Rainbow Palette 33.36RingPlot 353 33.37SeriesRenderingorder 355 33.38Spider WebPlot 356 33.39ThermometerPlot 360 33.40ValueAxis Plot 366 33. 41Valuemarker 366 33.412Wafer MapPlot 367 33.43XYPlo 368 33. 44Zoomable 377 CONTENTS 9 34 Package: org. jfree chart. renderer 79 34.1 Overview 379 34.2 AbstractRenderer 379 34.3 AreaRendererEndTy 397 341.4 Default PolarItemRenderer .398 34.5 GrayPaintScal 399 34.6 LookupPaint Scalc .,,,.399 34.7 Not OutlierException 400 34.8 Outlier 401 34.9 Out 34.10OutlierList collection 401 34.11 intScale 402 34.12Polarltem Renderer 102 3413 Rcndcrcr Statc.·· 403 34.14 Wafer MapRenderer 404 35 Package: org. jfree chart. renderer. category 405 35.1 Overview 405 35.2 Abstract CategoryItemRenderer 405 35.3 ArcaRcndcrcr .408 35.4 BarRenderer 410 35.5 BarrendererD 414 35.6 BoxAnd whiskerrenderer 416 35.7 CategoryItenRelderer 418 35.8 Category lteIlRelderer State .,426 35.9 Category Steprende 426 35. 10Dcfault Category ItcmRendcrer .,.428 35.11 Ganttrenderer 428 35. 12.tacked BarRenderer 4 35.13IntervalBarRenderer 4:0 35. 14LayeredBarRenderer 431 35.15Levelrenderer 433 35.16LineAndShaperenderer 134 35.17LineRenderer 3D 437 35.18MinMax Category renderer .439 35.19Stackeda reaRenderer 440 35.20StackedBarrenderer 441 35.21StackedBarRendererD 44 35.22StatisticalBar Renderer 445 35.23StatisticalLine AndShapeRenderer 446 35.24WaterfallBarrenderer 447 36 Package: org. jfree chart. renderer.xy 450 36.1 Overview 450 36.2 AbstractXYIteInRenderer 450 36.3 CandlestickRenderer 455 36.4 ClusteredX YBarRenderer ..458 6.5 CyclicXYItemRenderer 459 36.6 Defa Renderer 459 eviatlonltenderer 460 36.8 llighLowRenderer .461 36.9 StackedX YArearenderer 463 36.10StackedXYArearenderer 2 465 36.11StackedXYBarRenderer 466 36.12StandardXYItcmRcndcrcr 468

...展开详情
试读 127P jfreechartAPI帮助文档
立即下载 低至0.43元/次 身份认证VIP会员低至7折
抢沙发
一个资源只可评论一次,评论内容不能少于5个字
  • 签到新秀

    累计签到获取,不积跬步,无以至千里,继续坚持!
  • 分享宗师

    成功上传21个资源即可获取
关注 私信 TA的资源
上传资源赚积分or赚钱
最新推荐
jfreechartAPI帮助文档 9积分/C币 立即下载
1/127
jfreechartAPI帮助文档第1页
jfreechartAPI帮助文档第2页
jfreechartAPI帮助文档第3页
jfreechartAPI帮助文档第4页
jfreechartAPI帮助文档第5页
jfreechartAPI帮助文档第6页
jfreechartAPI帮助文档第7页
jfreechartAPI帮助文档第8页
jfreechartAPI帮助文档第9页
jfreechartAPI帮助文档第10页
jfreechartAPI帮助文档第11页
jfreechartAPI帮助文档第12页
jfreechartAPI帮助文档第13页
jfreechartAPI帮助文档第14页
jfreechartAPI帮助文档第15页
jfreechartAPI帮助文档第16页
jfreechartAPI帮助文档第17页
jfreechartAPI帮助文档第18页
jfreechartAPI帮助文档第19页
jfreechartAPI帮助文档第20页

试读结束, 可继续阅读

9积分/C币 立即下载 >