public class TimeSeriesChart extends AbstractChart
| Constructor and Description |
|---|
TimeSeriesChart()
Default constuctor
|
TimeSeriesChart(long from,
long to,
TimeUnit units)
Parameterized constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(Event evt)
Add Event to chart.
|
void |
createNewSerie(String idSerie)
Create new Serie with existing slots.
|
SimpleDateFormat |
getSdf()
Getter accessor for attribute 'sdf'.
|
Map<String,Serie<Map<String,MutableHitCount>>> |
getSeries()
Getter accessor for attribute 'series'.
|
List<String> |
getTimeSlots()
Getter accessor for attribute 'timeSlots'.
|
void |
initSlots(long from,
long to,
TimeUnit units)
Create slots and initiate data structure.
|
void |
setSdf(SimpleDateFormat sdf)
Setter accessor for attribute 'sdf'.
|
void |
setSeries(Map<String,Serie<Map<String,MutableHitCount>>> series)
Setter accessor for attribute 'series'.
|
void |
setTimeSlots(List<String> timeSlots)
Setter accessor for attribute 'timeSlots'.
|
String |
toString() |
getTitle, setTitlepublic TimeSeriesChart()
public TimeSeriesChart(long from,
long to,
TimeUnit units)
from - starting dateto - ending dateunits - time slotpublic void initSlots(long from,
long to,
TimeUnit units)
startTime - period start dateendTime - period end dateunits - current unitspublic void addEvent(Event evt)
evt - current eventpublic void createNewSerie(String idSerie)
idSerie - target serie idpublic SimpleDateFormat getSdf()
public void setSdf(SimpleDateFormat sdf)
sdf - new value for 'sdf 'public List<String> getTimeSlots()
public void setTimeSlots(List<String> timeSlots)
timeSlots - new value for 'timeSlots 'public Map<String,Serie<Map<String,MutableHitCount>>> getSeries()
Copyright © 2013–2017 FF4J. All rights reserved.