Package kg.apc.charting.rows
Class GraphRowPercentiles
- java.lang.Object
-
- kg.apc.charting.AbstractGraphRow
-
- kg.apc.charting.rows.GraphRowSumValues
-
- kg.apc.charting.rows.GraphRowPercentiles
-
- All Implemented Interfaces:
java.util.Iterator<java.util.Map.Entry<java.lang.Long,AbstractGraphPanelChartElement>>
public class GraphRowPercentiles extends GraphRowSumValues
-
-
Field Summary
-
Fields inherited from class kg.apc.charting.AbstractGraphRow
color, drawLine, label, legendColorBox, LINE_THICKNESS_BIG, MARKER_SIZE_BIG, MARKER_SIZE_NONE, MARKER_SIZE_SMALL, markerSize, maxX, minX, ROW_AVERAGES, ROW_EXACT_VALUES, ROW_OVERALL_AVERAGES, ROW_PERCENTILES, ROW_ROLLING_SUM_VALUES, ROW_SIMPLE, ROW_SUM_VALUES
-
-
Constructor Summary
Constructors Constructor Description GraphRowPercentiles()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(long xVal, double yVal)AbstractGraphPanelChartElementgetElement(long value)Needed for csv export.longgetMaxX()Method used to getMaxX without taking in account out of range values.longgetMinX()java.util.Iterator<java.util.Map.Entry<java.lang.Long,AbstractGraphPanelChartElement>>iterator()intsize()-
Methods inherited from class kg.apc.charting.rows.GraphRowSumValues
hasNext, next, remove, setExcludeOutOfRangeValues
-
Methods inherited from class kg.apc.charting.AbstractGraphRow
getColor, getFirstTime, getGranulationValue, getHigherKey, getLabel, getLegendColorBox, getLowerElement, getMarkerSize, getMinMaxY, instantiateNewRow, isDrawBar, isDrawLine, isDrawOnChart, isDrawSpline, isDrawThickLines, isDrawValueLabel, isShowInLegend, setColor, setDrawBar, setDrawLine, setDrawOnChart, setDrawSpline, setDrawThickLines, setDrawValueLabel, setGranulationValue, setLabel, setLegendColorBox, setMarkerSize, setShowInLegend
-
-
-
-
Method Detail
-
add
public void add(long xVal, double yVal)- Overrides:
addin classGraphRowSumValues
-
getMinX
public long getMinX()
- Overrides:
getMinXin classAbstractGraphRow- Returns:
- the minX
-
getMaxX
public long getMaxX()
Description copied from class:GraphRowSumValuesMethod used to getMaxX without taking in account out of range values. I.E. we don't take in account on value if the distance with the last point is greater than getGranulationValue() * excludeCount.- Overrides:
getMaxXin classGraphRowSumValues- Returns:
- the evaluated MaxX
-
iterator
public java.util.Iterator<java.util.Map.Entry<java.lang.Long,AbstractGraphPanelChartElement>> iterator()
- Overrides:
iteratorin classGraphRowSumValues
-
size
public int size()
- Overrides:
sizein classGraphRowSumValues
-
getElement
public AbstractGraphPanelChartElement getElement(long value)
Description copied from class:AbstractGraphRowNeeded for csv export.- Overrides:
getElementin classGraphRowSumValues- Parameters:
value- the key to get the element- Returns:
- the corresponding element
-
-