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

Public Member Functions

 RingChart (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

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

Construct a RingChart

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

Member Function Documentation

Dataset RingChart.CreateDataset ( ChartData  data)
inlinevirtual

Create a dataset of type DefaultPieDataset using data of type ChartData

Parameters
datais the data that shall be used to create the chart
Returns
the newly created dataset as result

Implements Chart.

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

Unit test

Parameters
args- command line arguments (not used)

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