Package kg.apc.charting.rows
Class GraphRowSimple
- java.lang.Object
-
- kg.apc.charting.AbstractGraphRow
-
- kg.apc.charting.rows.GraphRowSimple
-
- All Implemented Interfaces:
java.io.Serializable
public class GraphRowSimple extends AbstractGraphRow implements java.io.Serializable
- See Also:
- Serialized Form
-
-
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 GraphRowSimple()
-
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.java.lang.LonggetHigherKey(long value)java.util.Iterator<java.util.Map.Entry<java.lang.Long,AbstractGraphPanelChartElement>>iterator()intsize()-
Methods inherited from class kg.apc.charting.AbstractGraphRow
getColor, getFirstTime, getGranulationValue, getLabel, getLegendColorBox, getLowerElement, getMarkerSize, getMaxX, getMinMaxY, getMinX, instantiateNewRow, isDrawBar, isDrawLine, isDrawOnChart, isDrawSpline, isDrawThickLines, isDrawValueLabel, isShowInLegend, setColor, setDrawBar, setDrawLine, setDrawOnChart, setDrawSpline, setDrawThickLines, setDrawValueLabel, setExcludeOutOfRangeValues, setGranulationValue, setLabel, setLegendColorBox, setMarkerSize, setShowInLegend
-
-
-
-
Method Detail
-
add
public void add(long xVal, double yVal)- Overrides:
addin classAbstractGraphRow- Parameters:
xVal- coordyVal- coord
-
iterator
public java.util.Iterator<java.util.Map.Entry<java.lang.Long,AbstractGraphPanelChartElement>> iterator()
- Specified by:
iteratorin classAbstractGraphRow
-
size
public int size()
- Specified by:
sizein classAbstractGraphRow
-
getElement
public AbstractGraphPanelChartElement getElement(long value)
Description copied from class:AbstractGraphRowNeeded for csv export.- Specified by:
getElementin classAbstractGraphRow- Parameters:
value- the key to get the element- Returns:
- the corresponding element
-
getHigherKey
public java.lang.Long getHigherKey(long value)
- Overrides:
getHigherKeyin classAbstractGraphRow
-
-