-
-
Notifications
You must be signed in to change notification settings - Fork 4
Charts
Dannes Wessels edited this page Jun 13, 2019
·
8 revisions
Currently we support the following datasets CategoryDataset, PieDataset, XYDataset and XYZDataset. And these charts are available:
- AreaChart
- BarChart
- BarChart3D
- BubbleChart
- LineChart
- LineChart3D (removed since jfreechart 1.5)
- MultiplePieChart
- MultiplePieChart3D (removed since jfreechart 1.5)
- PieChart
- PieChart3D
- RingChart
- ScatterPlot
- SpiderWebChart
- StackedAreaChart
- StackedBarChart
- StackedBarChart3D (removed since jfreechart 1.5)
- WaterfallChart
- XYAreaChart
- XYBarChart
- XYLineChart
The function documentation always return the most recent list of supported charts.
With version 0.2 we now support a load of new configuration options for axes, charts and plot:
- CategoryAxis and NumberAxis: foregroundAlpha, rangeLowerMargin, rangeUpperMargin, domainLowerMargin (NumberAxis only), domainUpperMargin (NumberAxis only), domainLowerBound (NumberAxis only), domainUpperBound (NumberAxis only), rangeAutoRangeIncludesZero, domainAutoRangeIncludesZero (NumberAxis only), rangeZeroBaselineVisible, domainZeroBaselineVisible (NumberAxis only), rangeIntegerTickUnits, domainIntegerTickUnits (NumberAxis only), rangeGridlinesVisible, domainGridlinesVisible,
- ScatterPlot: dotHeight and dotWidth.
- plot: outlineVisible, pieSectionOutlinesVisible and pieShadowColor.
- It is now also possible to set null for pieShadowColor and plotBackgroundColor
To support additional charts one require both a XML definition and a related XML parser for dataset types, e.g.: BoxAndWhiskerCategoryDataset, OHLCDataset, IntervalCategoryDataset, IntervalXYDataset, TableXYDataset, WaferMapDataset.
For a list of all JFreeChart chart types