Home
last modified time | relevance | path

Searched refs:yVals (Results 1 – 3 of 3) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DSimpleXYSeries.java54 private volatile LinkedList<Number> yVals = new LinkedList<Number>(); field in SimpleXYSeries
77 … public SimpleXYSeries(List<? extends Number> xVals, List<? extends Number> yVals, String title) { in SimpleXYSeries() argument
79 if(xVals == null || yVals == null) { in SimpleXYSeries()
83 if(xVals.size() != yVals.size()) { in SimpleXYSeries()
88 this.yVals.addAll(yVals); in SimpleXYSeries()
116 yVals.clear(); in setModel()
128 yVals.add(n); in setModel()
148 yVals.add(model.get(j + 1)); in setModel()
181 yVals.set(index, value); in setY()
196 yVals.set(index, yVal); in setXY()
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DSimpleXYSeriesTest.java33 Number[] yVals = {5, 6, 7, 8, 9}; in testYValsOnlyConstructor() local
34 …SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(yVals), SimpleXYSeries.ArrayFormat.Y_VALS… in testYValsOnlyConstructor()
36 assertEquals(yVals[0], series.getY(0)); in testYValsOnlyConstructor()
37 assertEquals(yVals[1], series.getY(1)); in testYValsOnlyConstructor()
38 assertEquals(yVals[2], series.getY(2)); in testYValsOnlyConstructor()
39 assertEquals(yVals[3], series.getY(3)); in testYValsOnlyConstructor()
40 assertEquals(yVals[4], series.getY(4)); in testYValsOnlyConstructor()
51 Number[] yVals = {55, 5, 66, 6, 77, 7, 88, 8, 99, 9}; in testXYInterleavedConstructor() local
52 …SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(yVals), SimpleXYSeries.ArrayFormat.XY_VAL… in testXYInterleavedConstructor()
69 Number[] yVals = {5, 6, 7, 8, 9}; in testTwoListConstructor() local
[all …]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYPlotWithBgImgActivity.java67 Integer[] yVals = new Integer[SERIES_LEN]; in getSeries() local
70 yVals[0] = 0; in getSeries()
74 yVals[i] = (int)(Math.random() * 140); in getSeries()
79 Arrays.asList(yVals), in getSeries()