public class MultipleSeriesProvider extends AbstractSeriesProvider
logger| Constructor and Description |
|---|
MultipleSeriesProvider() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMovingAvgFrame()
Gets the moving avg frame.
|
String |
getStatNamePrefix()
Gets the stat name prefix.
|
int |
getTop()
Gets the top.
|
void |
populate(org.jfree.data.xy.DefaultTableXYDataset dataset,
StatsCollection statsCollection,
javax.servlet.http.HttpServletRequest request)
Populate.
|
void |
setMovingAvgFrame(int movingAvgFrame)
Sets the moving avg frame.
|
void |
setStatNamePrefix(String statNamePrefix)
Sets the stat name prefix.
|
void |
setTop(int top)
Sets the top.
|
toSeriespublic String getStatNamePrefix()
public void setStatNamePrefix(String statNamePrefix)
statNamePrefix - - only series with names that start with statNamePrefix are retrieved.public int getTop()
public void setTop(int top)
top - - the number of top series to retrieve. If this value is greater than 0, only this
many series with the greatest max moving avg values are retrieved.public int getMovingAvgFrame()
public void setMovingAvgFrame(int movingAvgFrame)
movingAvgFrame - - if this value is greater than 0, a moving avg value is calculated for
every series using every Nth value, where N % movingAvgFrame == 0. Top series are
identified based on a max moving avg value of each series. If the movingAvgFrame equals
to 0, top series are determined based on a simple avg of all series values.public void populate(org.jfree.data.xy.DefaultTableXYDataset dataset,
StatsCollection statsCollection,
javax.servlet.http.HttpServletRequest request)
SeriesProviderdataset - the datasetstatsCollection - the stats collectionrequest - the requestCopyright © 2009–2020 psi-probe. All rights reserved.