My Project
 All Classes Files Functions
Public Member Functions | Static Public Member Functions | List of all members
PieChart Class Reference
Inheritance diagram for PieChart:
Chart Visualisation

Public Member Functions

 PieChart (ChartData data, String title, String colourScheme, ArrayList< Color > userList)
 
Dataset CreateDataset (ChartData data)
 
- Public Member Functions inherited from Chart
boolean SetChartTitle (String title)
 
String GetChartTitle ()
 
boolean SetAuthor (String author)
 
String GetAuthor ()
 
boolean SetDate (Boolean date)
 
Boolean GetDate ()
 
boolean SetDescription (String descr)
 
String GetDescription ()
 
boolean SetXAxis (String xAxis)
 
String GetXAxis ()
 
boolean SetYAxis (String yAxis)
 
String GetYAxis ()
 
JFreeChart GetChart ()
 
boolean SetChart (JFreeChart chart)
 
boolean SetColour (ColourList colour)
 
boolean SetLegend (LegendTitle legend)
 
LegendTitle GetLegend ()
 
 Chart (ChartData data, String title, String colourScheme, ArrayList< Color > userList)
 
- Public Member Functions inherited from Visualisation
boolean SetColour (ColourList colour)
 
ChartData GetData ()
 
boolean SetData (ChartData data)
 
ColourList GetColour ()
 
boolean SetTitle (String title)
 
String GetTitle ()
 
String toString ()
 

Static Public Member Functions

static void main (String[] args)
 

Additional Inherited Members

- Protected Attributes inherited from Chart
JFreeChart m_Chart
 
String m_ChartTitle
 
String m_Author = ""
 
Boolean m_Date = false
 
String m_Description = ""
 
String m_XAxis = ""
 
String m_YAxis = ""
 
LegendTitle m_Legend
 

Constructor & Destructor Documentation

PieChart.PieChart ( ChartData  data,
String  title,
String  colourScheme,
ArrayList< Color >  userList 
)
inline

Constructor for PieChart

Parameters
datais the data that shall be used to create the chart
titleis the title to be used upon creation of the chart
colourSchemeis a string of the type of colour to use
userListis the ArrayList<Color> of user defined colours
Returns
- a new PieChart with specified data

Member Function Documentation

Dataset PieChart.CreateDataset ( ChartData  data)
inlinevirtual

Creates a JFreeChart dataset from data in form ChartData

Parameters
datais the data that shall be used to create the chart

Implements Chart.

static void PieChart.main ( String[]  args)
inlinestatic

Unit test

Parameters
args- command line arguments (not used)

The documentation for this class was generated from the following file: