|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.service.impl.control.chartservice.impl.ParliamentChartServiceImpl
public class ParliamentChartServiceImpl extends Object implements ParliamentChartService
The Class ParliamentChartServiceImpl.
Modifier | Constructor and Description |
---|---|
protected |
ParliamentChartServiceImpl(ApplicationModelFactoryFactory applicationModelFactoryFactory)
Instantiates a new parliament chart service impl. |
Modifier and Type | Method and Description |
---|---|
protected BinaryContent |
createBar3DChart(org.jfree.data.category.CategoryDataset dataset,
String title,
String xTitle,
String yTitle,
String fileName)
Creates the bar3 d chart. |
protected BinaryContent |
createTimeSeriesChart(String title,
String timeAxisLabel,
String valueAxisLabel,
String fileName,
org.jfree.data.time.TimeSeriesCollection responseTimeByHourDataset)
Creates the time series chart. |
List<BinaryContent> |
generateParliamentCharts(AgencyData agency,
List<BallotData> ballots,
List<PoliticalPartyData> politicalParties,
LanguageData language)
Generate parliament charts. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ParliamentChartServiceImpl(ApplicationModelFactoryFactory applicationModelFactoryFactory)
applicationModelFactoryFactory
- the application model factory factoryMethod Detail |
---|
public final List<BinaryContent> generateParliamentCharts(AgencyData agency, List<BallotData> ballots, List<PoliticalPartyData> politicalParties, LanguageData language)
ParliamentChartService
generateParliamentCharts
in interface ParliamentChartService
agency
- the agencyballots
- the ballotspoliticalParties
- the political partieslanguage
- the languageprotected final BinaryContent createBar3DChart(org.jfree.data.category.CategoryDataset dataset, String title, String xTitle, String yTitle, String fileName)
dataset
- the datasettitle
- the titlexTitle
- the x titleyTitle
- the y titlefileName
- the file nameprotected final BinaryContent createTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, String fileName, org.jfree.data.time.TimeSeriesCollection responseTimeByHourDataset)
title
- the titletimeAxisLabel
- the time axis labelvalueAxisLabel
- the value axis labelfileName
- the file nameresponseTimeByHourDataset
- the response time by hour dataset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |