com.nordija.tapestry.bayeux.chart
Interface IJFreeChartProvider


public interface IJFreeChartProvider

Author:
Jacob von Eyben - Nordija A/S

Field Summary
static int JPEG
           
static int PNG
           
 
Method Summary
 org.jfree.chart.JFreeChart getChart()
          The actual chart to render
 int getHeight()
          The height of the chart.
 int getWidth()
          The width of the chart.
 int renderAs()
          Tells how to render the chart.
 

Field Detail

JPEG

static final int JPEG
See Also:
Constant Field Values

PNG

static final int PNG
See Also:
Constant Field Values
Method Detail

getChart

org.jfree.chart.JFreeChart getChart()
The actual chart to render

Returns:
an instance of the JFreeChart you want to render

getHeight

int getHeight()
The height of the chart.

Returns:
the height in pixels

getWidth

int getWidth()
The width of the chart.

Returns:
the width in pixels

renderAs

int renderAs()
Tells how to render the chart. Possible return values:

Returns:
int value indicating how to render the chart


Copyright © 2004-2007 Nordija A/S. All Rights Reserved.