Skip to end of metadata
Go to start of metadata

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
[ChartPanel]

chart

JFreeChart or Class

 

(tick)

(error)

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

 (error)

(error)

 

 

height

int

ChartPanel.DEFAULT_HEIGHT

(error)

(error)

 

 

minimumDrawWidth

int

ChartPanel.DEFAULT_MINIMUM_DRAW_WIDTH

(error)

(error)

 

 

minimumDrawHeight

int

ChartPanel.DEFAULT_MINIMUM_DRAW_HEIGHT

(error)

(error)

 

 

maximumDrawWidth

int

ChartPanel.DEFAULT_MAXIMUM_DRAW_WIDTH

(error)

(error)

 

 

maximumDrawHeight

int

ChartPanel.DEFAULT_MAXIMUM_DRAW_HEIGHT

(error)

(error)

 

 

useBuffer

boolean

true

(error)

(error)

 

 

properties

boolean

true

(error)

(error)

 

 

copy

boolean

true

(error)

(error)

 

 

save

boolean

true

(error)

(error)

 

 

print

boolean

true

(error)

(error)

 

 

zoom

boolean

true

(error)

(error)

 

 

tooltips

boolean

true

(error)

(error)

 

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

  • No labels