Home
last modified time | relevance | path

Searched refs:series (Results 1 – 25 of 836) sorted by relevance

12345678910>>...34

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DSimpleXYSeriesTest.java34 …SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(yVals), SimpleXYSeries.ArrayFormat.Y_VALS… in testYValsOnlyConstructor() local
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()
42 assertEquals(0, series.getX(0)); in testYValsOnlyConstructor()
43 assertEquals(1, series.getX(1)); in testYValsOnlyConstructor()
44 assertEquals(2, series.getX(2)); in testYValsOnlyConstructor()
45 assertEquals(3, series.getX(3)); in testYValsOnlyConstructor()
[all …]
/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.pie.min.js7series.pie.show){options.grid.show=false;if(options.series.pie.label.show=="auto"){if(options.lege… argument
Djquery.flot.pie.js86 if (options.series.pie.show) {
92 if (options.series.pie.label.show == "auto") {
94 options.series.pie.label.show = false;
96 options.series.pie.label.show = true;
102 if (options.series.pie.radius == "auto") {
103 if (options.series.pie.label.show) {
104 options.series.pie.radius = 3/4;
106 options.series.pie.radius = 1;
112 if (options.series.pie.tilt > 1) {
113 options.series.pie.tilt = 1;
[all …]
Djquery.flot.categories.js56 function processRawData(plot, series, data, datapoints) { argument
61 var xCategories = series.xaxis.options.mode == "categories",
62 yCategories = series.yaxis.options.mode == "categories";
71 var s = series;
120 function setupCategoriesForAxis(series, axis, datapoints) { argument
121 if (series[axis].options.mode != "categories")
124 if (!series[axis].categories) {
126 var c = {}, o = series[axis].options.categories || {};
136 series[axis].categories = c;
140 if (!series[axis].options.ticks)
[all …]
Djquery.flot.categories.min.js7series,data,datapoints){var xCategories=series.xaxis.options.mode=="categories",yCategories=series argument
Djquery.flot.image.min.js7series:{images:{show:false,alpha:1,anchor:"corner"}}};$.plot.image={};$.plot.image.loadDataImages=… argument
Djquery.flot.image.js57 series: { property
68 $.plot.image.loadDataImages = function (series, options, callback) { argument
71 var defaultShow = options.series.images.show;
73 $.each(series, function (i, s) {
118 function drawSeries(plot, ctx, series) { argument
121 if (!series.images || !series.images.show)
124 var points = series.datapoints.points,
125 ps = series.datapoints.pointsize;
131 xaxis = series.xaxis, yaxis = series.yaxis,
153 if (series.images.anchor == "center") {
[all …]
Djquery.flot.js514 var series = [],
559 series: { property
653 plot.getData = function () { return series; };
681 series = [];
857 $.extend(true, options.series.lines, options.lines);
859 $.extend(true, options.series.points, options.points);
861 $.extend(true, options.series.bars, options.bars);
863 options.series.shadowSize = options.shadowSize;
865 options.series.highlightColor = options.highlightColor;
882 series = parseData(d);
[all …]
Djquery.flot.min.js7series=[],options={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:true,no… property
8series){if(series.lines.show)drawSeriesLines(series);if(series.bars.show)drawSeriesBars(series);if… argument
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DSeriesAndFormatterList.java37 public boolean contains(SeriesType series) { in contains() argument
38 return seriesList.contains(series); in contains()
53 public boolean add(SeriesType series, FormatterType formatter) { in add() argument
54 if(series == null || formatter == null) { in add()
57 if(seriesList.contains(series)) { in add()
60 seriesList.add(series); in add()
65 public boolean remove(SeriesType series) { in remove() argument
66 int index = seriesList.indexOf(series); in remove()
76 public FormatterType getFormatter(SeriesType series) { in getFormatter() argument
77 return formatterList.get(seriesList.indexOf(series)); in getFormatter()
[all …]
DRenderBundle.java24 private Series series; field in RenderBundle
27 public RenderBundle(SeriesType series, SeriesFormatterType formatter) { in RenderBundle() argument
29 this.series = series; in RenderBundle()
33 return series; in getSeries()
36 public void setSeries(Series series) { in setSeries() argument
37 this.series = series; in setSeries()
/external/chromium-trace/catapult/dashboard/dashboard/
Dfind_change_points_exp_test.py26 series = [(1, 2), (2, 4), (3, 8), (4, 16), (5, 32), (6, 64), (7, 128)]
28 series, find_change_points_exp._GetLastWindow(series, None))
29 self.assertEqual(series, find_change_points_exp._GetLastWindow(series, 0))
32 series = [(1, 2), (2, 4), (3, 8), (4, 16), (5, 32), (6, 64), (7, 128)]
34 [(7, 128)], find_change_points_exp._GetLastWindow(series, 1))
37 series = [(1, 2), (2, 4), (3, 8), (4, 16), (5, 32), (6, 64), (7, 128)]
38 self.assertEqual(series, find_change_points_exp._GetLastWindow(series, 50))
52 series = [(i, i) for i in range(0, 6)]
53 change_points = [find_change_points.MakeChangePoint(series, i)
Dfind_change_points_exp.py12 test, series, find_change_points_func=find_change_points.FindChangePoints, argument
42 series = _GetLastWindow(series, config.get('max_window_size'))
43 if len(series) < 2:
47 change_points = find_change_points_func(series, **config)
52 def _GetLastWindow(series, window_size): argument
55 return series
56 return series[-window_size:]
84 def FindChangePointsWithAbsoluteChangeThreshold(test, series): argument
87 test, series,
Dbisect_stats.py57 series = series_map[key]
58 cropped_series_list.append(series[len(series) - _NUM_POINTS_TO_DISPLAY:])
62 for series in cropped_series_list:
63 for x_value, y_value in series:
111 series = series_map[series_name]
112 if week_timestamp == series[-1][0]:
113 series[-1][1] += 1
115 series.append([week_timestamp, 1])
Dfind_change_points.py71 series, argument
102 if len(series) < 2:
104 series = series[-max_window_size:]
105 _, y_values = zip(*series)
114 return [MakeChangePoint(series, split_index)]
118 def MakeChangePoint(series, split_index): argument
128 assert 0 <= split_index < len(series)
129 x_values, y_values = zip(*series)
Dauto_triage_test.py30 def _AddTestData(self, series, sheriff_key, argument
50 if series and isinstance(series[0], (int, float)):
51 series = enumerate(series, start=1)
52 testing_common.AddRows(test_path, {x: {'value': y} for x, y in series})
172 series = [
188 series, sheriff_key, improvement_direction=anomaly.DOWN)
200 series = [
212 series, sheriff_key, improvement_direction=anomaly.DOWN)
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTouchZoomExampleActivity.java47 private SimpleXYSeries[] series = null; field in TouchZoomExampleActivity
58 minXY.x = series[0].getX(0).floatValue(); in onCreate()
59 maxXY.x = series[3].getX(series[3].size() - 1).floatValue(); in onCreate()
81 series = new SimpleXYSeries[4]; in onCreate()
84 series[i] = new SimpleXYSeries("S" + i); in onCreate()
85 populateSeries(series[i], scale); in onCreate()
87 mySimpleXYPlot.addSeries(series[3], in onCreate()
90 mySimpleXYPlot.addSeries(series[2], in onCreate()
93 mySimpleXYPlot.addSeries(series[1], in onCreate()
96 mySimpleXYPlot.addSeries(series[0], in onCreate()
[all …]
/external/chromium-trace/catapult/third_party/graphy/graphy/
Dline_chart_test.py41 series = chart.data[0]
42 self.assertEqual(series.data, [1, 2, 3])
43 self.assertEqual(series.style.width, line_chart.LineStyle.solid().width)
44 self.assertEqual(series.style.on, line_chart.LineStyle.solid().on)
45 self.assertEqual(series.style.off, line_chart.LineStyle.solid().off)
46 self.assertEqual(series.markers, 'markers')
47 self.assertEqual(series.label, 'label')
84 series = common.DataSeries([])
86 series.style = line_chart.LineStyle.solid
89 series.style = line_chart.LineStyle.solid
[all …]
Dformatters.py38 for series in chart.data:
39 if series.label is None:
42 labels.append(series.label)
63 for series in chart.data:
64 if series.style.color is None:
68 series.style.color = self.colors[index]
179 for series in chart.data:
180 if series.label is None:
183 labels.append(series.label)
185 label_positions.append(series.data[-1])
Dbar_chart.py116 series = common.DataSeries(points, label=label, style=style)
117 self.data.append(series)
118 return series
159 num_bars = max(len(series.data) for series in self.data)
162 for series in self.data:
163 for i, point in enumerate(series.data):
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DBarRenderer.java109 protected T getFormatter(int index, XYSeries series) { in getFormatter() argument
110 return getFormatter(series); in getFormatter()
128 for(XYSeries series : sl) { in onRender()
132 for(int i = 0; i < series.size(); i++) { in onRender()
134 if (series.getX(i) != null) { in onRender()
137 Bar b = new Bar(series,i,plotArea); in onRender()
244 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), b.intX + plf.hOffset, b.intY + plf… in onRender()
265 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), leftX + width/2 + plf.hOffset, b.i… in onRender()
288 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), b.intX + plf.hOffset, b.intY + plf… in onRender()
302 public XYSeries series; field in BarRenderer.Bar
[all …]
/external/autotest/frontend/client/src/autotest/tko/
DMetricsPlotFrontend.java122 String series = normalizeSeriesSelect.getSelectedValue(); in addNormalizeParameter() local
123 normalizationType = NORMALIZE_SERIES_PREFIX + series; in addNormalizeParameter()
174 String series = normalizeString.substring(NORMALIZE_SERIES_PREFIX.length()); in handleHistoryArguments() local
176 if (normalizeSeriesSelect.getValue(i).equals(series)) { in handleHistoryArguments()
230 for (Series series : seriesList) { in buildQueries()
231 addSeriesSelects(series, sql); in buildQueries()
249 for (Series series : seriesList) { in buildQueries()
250 String drilldownQuery = getSeriesDrilldownQuery(series, xFilterString); in buildQueries()
251 queries.put("__" + series.getName() + "__", new JSONString(drilldownQuery)); in buildQueries()
257 private String getSeriesDrilldownQuery(Series series, String xFilterString) { in getSeriesDrilldownQuery() argument
[all …]
DSeriesSelector.java31 private ArrayList<Series> series = new ArrayList<Series>(); field in SeriesSelector
175 return Collections.unmodifiableList(series); in getAllSeries()
179 for (int i = 0; i < series.size(); i++) { in reset()
182 series.clear(); in reset()
188 for (Series s : series) { in getInverted()
197 for (Series s : series) { in setInvertible()
211 for (int index = 0; index < series.size(); index++) { in addToHistory()
212 series.get(index).addToHistory(args, index); in addToHistory()
232 thisSeries = series.get(0); in handleHistoryArguments()
246 series.add(nextSeries); in addSeries()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
DPlot.java402 public synchronized boolean addSeries(SeriesType series, FormatterType formatter) { in addSeries() argument
417 if(series instanceof PlotListener) { in addSeries()
418 addListener((PlotListener)series); in addSeries()
422 if(sfList.contains(series)) { in addSeries()
425 sfList.add(series, formatter); in addSeries()
430 public synchronized boolean removeSeries(SeriesType series, Class rendererClass) { in removeSeries() argument
431 boolean result = seriesRegistry.get(rendererClass).remove(series); in removeSeries()
437 if(series instanceof PlotListener) { in removeSeries()
438 removeListener((PlotListener) series); in removeSeries()
447 public synchronized void removeSeries(SeriesType series) { in removeSeries() argument
[all …]
/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/
Dutil.py188 def EncodeData(chart, series, y_min, y_max, encoder): argument
206 def _ScaleAndEncode(series): argument
207 series = ScaleData(series, y_min, y_max, encoder.min, encoder.max)
208 return encoder.Encode(series)
209 encoded_series = [_ScaleAndEncode(s) for s in series]
211 encoded_series = [encoder.Encode(s) for s in series]

12345678910>>...34