Description
Provides integration with JFreeChart by means of ChartBuilder.
Installation
The current version of griffon-charts is 0.3
To install just issue the following command
Usage
The following nodes become available upon installing the plugin
Node |
Property |
Type |
Default |
Required |
Bindable |
Notes |
|---|---|---|---|---|---|---|
chart |
chart |
JFreeChart or Class |
|
If a Class is set as value then it's assumed to be a script that can be parsed using ChartBuilder |
||
|
width |
int |
ChartPanel.DEFAULT_WIDTH |
|
|
|
|
height |
int |
ChartPanel.DEFAULT_HEIGHT |
|
||
|
minimumDrawWidth |
int |
ChartPanel.DEFAULT_MINIMUM_DRAW_WIDTH |
|
||
|
minimumDrawHeight |
int |
ChartPanel.DEFAULT_MINIMUM_DRAW_HEIGHT |
|
||
|
maximumDrawWidth |
int |
ChartPanel.DEFAULT_MAXIMUM_DRAW_WIDTH |
|
||
|
maximumDrawHeight |
int |
ChartPanel.DEFAULT_MAXIMUM_DRAW_HEIGHT |
|
||
|
useBuffer |
boolean |
true |
|
||
|
properties |
boolean |
true |
|
||
|
copy |
boolean |
true |
|
||
|
save |
boolean |
true |
|
||
|
boolean |
true |
|
|||
|
zoom |
boolean |
true |
|
||
|
tooltips |
boolean |
true |
|
Scripts
- create-chart - creates a new Chart script that can be parsed using ChartBuilder
Chart scripts have access to all variables form their surrounding contextt. This means that a chart can read properties from a Model if the chart is built inside a View script. Here's how the typical chart Script looks like
History
Version |
Date |
Notes |
|---|---|---|
0.3 |
12-21-10 |
Release sync with Griffon 0.9.2 |
0.2 |
10-27-10 |
releases sync with 0.9.1 |
0.1 |
07-22-10 |
first release |


