Report Application Series-Chart Jfreechart: 1th Chapter Quick Start

Source: Internet
Author: User

Jfreechart is a Java project provided by Jfree, which is designed to implement a variety of graphs, including pie charts, histogram columns (plain columns and stack columns), line charts, area maps, distribution maps, blending diagrams, Gantt charts, and some dashboards.

Official website: http://jfree.org/.

Pie pie charts, line lines, bar bars, Gantt Gantt charts, xy plots and scatter Plots,timer series, high/low/open/close charts and candle stick, Combination charts, Pareto charts, bubble charts, wind plots, meter charts and symbol charts

When using Jfreechart, you typically generate a Jfreechart object through the static method in Chartfactory, and then call the method in the Chartutilities class to export Jfreechart as a picture.

Jfreechart's problem is estimated in the complexity of the structure, each type of chart needs to use the corresponding dataset and plot to generate, the developer must master the relationship between these models and structures in order to generate the planned diagram.

The factory model makes Jfreechart not easy to expand, and a variety of data models and design models are scattered around a few packages, which is hard to find.

Jfreechart also own a series of Chinese garbled problem, you must reassign all the label parts of the font to solve the garbled problem.

Cewolf is a set of tag libraries that can generate Jfreechart using Taglib.

Jfreechart also supports the servlet to generate graphs, which can be displayed directly in swing. Jfreechart also provides other tool classes that can be used to generate some features that assist in charting, such as ImageMap.

createPieChart
createMultiplePieChart
createPieChart3D
createMultiplePieChart3D
createRingChart

createBarChart
createStackedBarChart
createBarChart3D
createStackedBarChart3D

createAreaChart
createStackedAreaChart

createLineChart
createLineChart3D

createGanttChart
createWaterfallChart
createPolarChart
createScatterPlot

createXYBarChart
createXYAreaChart
createStackedXYAreaChart
createXYLineChart
createXYStepChart
createXYStepAreaChart

createTimeSeriesChart
createCandlestickChart
createHighLowChart
createBubbleChart
createHistogram
createBoxAndWhiskerChart
createWindPlot
createWaferMapChart

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.