com.googlecode.charts4j
Interface GraphChart

All Known Implementing Classes:
AbstractAxisChart, AbstractGraphChart, AbstractMarkableChart, BarChart, GoogleOMeter, LineChart, PieChart, RadarChart, ScatterPlot, VennDiagram, XYLineChart

public interface GraphChart

Interface for all charts that support legend positions. (Only MapCharts do do not support legend positions.)

Author:
Julien Chastang (julien.c.chastang at gmail dot com)

Method Summary
 void setAreaFill(Fill fill)
          Specify chart area fill.
 void setLegendMargins(int legendWidth, int legendHeight)
          Specify the legend margins.
 void setLegendPosition(LegendPosition legendPosition)
          Specify where the chart legends will appear.
 

Method Detail

setLegendPosition

void setLegendPosition(LegendPosition legendPosition)
Specify where the chart legends will appear.

Parameters:
legendPosition - The legend position. Cannot be null.

setLegendMargins

void setLegendMargins(int legendWidth,
                      int legendHeight)
Specify the legend margins.

Parameters:
legendWidth - the legend width
legendHeight - the legend height

setAreaFill

void setAreaFill(Fill fill)
Specify chart area fill.

Parameters:
fill - Chart area fill. Cannot be null. This mutable parameter is defensively copied upon entry.


Copyright © 2008-2011. All Rights Reserved.