public class SparklineCurve extends Object
| Constructor and Description |
|---|
SparklineCurve(String title)
Constructor to create curve from copy
|
SparklineCurve(String title,
long startTime,
long endTime,
int nbPoints)
Initialize a timeSeries
|
| Modifier and Type | Method and Description |
|---|---|
long |
getInterval()
Getter accessor for attribute 'interval'.
|
String |
getLineColor()
Getter accessor for attribute 'lineColor'.
|
List<SparklinePoint> |
getListOfPoint()
Getter accessor for attribute 'listOfPoint'.
|
int |
getNbRecords()
Getter accessor for attribute 'nbRecords'.
|
String |
getTitle()
Getter accessor for attribute 'title'.
|
void |
incrCount(int offset)
Increment hit ratio for this slot.
|
void |
setInterval(long interval)
Setter accessor for attribute 'interval'.
|
void |
setLineColor(String lineColor)
Setter accessor for attribute 'lineColor'.
|
void |
setListOfPoint(List<SparklinePoint> listOfPoint)
Setter accessor for attribute 'listOfPoint'.
|
void |
setNbRecords(int nbRecords)
Setter accessor for attribute 'nbRecords'.
|
void |
setTitle(String title)
Setter accessor for attribute 'title'.
|
String |
toString() |
public SparklineCurve(String title)
public SparklineCurve(String title, long startTime, long endTime, int nbPoints)
title - title of the graphstartTime - start of measureendTime - end of measureinterval - interval between 2 measurespublic void incrCount(int offset)
offset - offset of pointpublic String getLineColor()
public void setLineColor(String lineColor)
lineColor - new value for 'lineColor 'public List<SparklinePoint> getListOfPoint()
public void setListOfPoint(List<SparklinePoint> listOfPoint)
listOfPoint - new value for 'listOfPoint 'public String getTitle()
public void setTitle(String title)
title - new value for 'title 'public int getNbRecords()
public void setNbRecords(int nbRecords)
nbRecords - new value for 'nbRecords 'public long getInterval()
public void setInterval(long interval)
interval - new value for 'interval 'Copyright © 2013–2015 FF4J. All rights reserved.