Home
last modified time | relevance | path

Searched refs:chart (Results 1 – 25 of 58) sorted by relevance

123

/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/
Dbase_encoder_test.py29 def _GetType(self, chart): argument
32 def _GetDependentAxis(self, chart): argument
33 return chart.left
63 chart = TestChart(*args, **kwargs)
64 chart.display = TestEncoder(chart)
65 return chart
67 def AddToChart(self, chart, points, color=None, label=None): argument
72 return chart.AddData(points, color=color, label=label)
75 self.chart = self.GetChart()
79 self.assertIn(self.chart.display.Url(500, 100, use_html_entities=True),
[all …]
Dbar_chart_test.py34 def AddToChart(self, chart, points, color=None, label=None): argument
35 return chart.AddBars(points, color=color, label=label)
39 self.chart.vertical = vertical
40 self.chart.stacked = stacked
49 self.AddToChart(self.chart, [1])
56 self.AddToChart(self.chart, [3])
57 self.chart.vertical = False
58 self.chart.bottom.min = 0
59 self.chart.bottom.max = 3
61 self.chart.bottom.max = 6
[all …]
Dencoders.py44 def __init__(self, chart): argument
48 self.chart = chart
63 params = self._Params(self.chart)
73 def _GetType(self, chart): argument
90 def _Params(self, chart): argument
94 chart = chart.GetFormattedChart()
100 Add(formatter(chart))
106 def _GetSizeParams(self, chart): argument
110 def _GetExtraParams(self, chart): argument
114 def _GetDataSeriesParams(self, chart): argument
[all …]
Dpie_chart_test.py38 def AddToChart(self, chart, points, color=None, label=None): argument
39 return chart.AddSegment(points[0], color=color, label=label)
46 self.chart.display.is3d = False
48 self.chart.display.is3d = True
57 self.chart = self.GetChart([1,2,3], ['Mouse', 'Cat', 'Dog'])
64 self.chart = self.GetChart([1,2,3], ['Mouse', 'Cat', 'Dog'])
65 self.chart.AddSegment(4, label='Horse')
72 self.chart.AddSegments([1,2,3],
79 self.chart.AddSegments([4,5,6], ['Horse', 'Moose', 'Elephant'], ['cccccc'])
85 self.chart.AddPie([1,2,3],
[all …]
Dline_chart_test.py33 def AddToChart(self, chart, points, color=None, label=None): argument
34 return chart.AddLine(points, color=color, label=label)
43 self.chart.AddLine([1, 2, 3], markers=[(1, x), (2, o), (3, x)])
44 self.chart.AddLine([4, 5, 6], markers=[(x, line) for x in range(3)])
55 self.chart.AddLine([1, 2, 3])
56 self.chart.AddLine([4, 5, 6], pattern=line_chart.LineStyle.DASHED)
62 left_axis = self.chart.AddAxis(common.AxisPosition.LEFT,
68 bottom_axis = self.chart.AddAxis(common.AxisPosition.BOTTOM,
72 sub_axis = self.chart.AddAxis(common.AxisPosition.BOTTOM,
79 self.chart.AddAxis(common.AxisPosition.RIGHT, left_axis)
[all …]
D__init__.py31 chart = chart_class(*args, **kwargs)
32 chart.display = display_class(chart)
33 return chart
/external/chromium-trace/catapult/third_party/graphy/graphy/
Dformatters_test.py28 self.chart = google_chart_api.LineChart()
29 self.chart.formatters.append(formatters.InlineLegend)
30 self.chart.AddLine([1, 2, 3], label='A')
31 self.chart.AddLine([4, 5, 6], label='B')
32 self.chart.auto_scale.buffer = 0
48 self.chart = google_chart_api.LineChart([1, 2, 3])
52 self.auto_scale(self.chart)
53 self.assertEqual(1, self.chart.left.min)
54 self.assertEqual(3, self.chart.left.max)
58 self.auto_scale(self.chart)
[all …]
Dpie_chart_test.py51 chart = pie_chart.PieChart()
53 segment = chart.AddSegment(10, label='Dummy', color='0000ff')
58 chart = pie_chart.PieChart()
61 self.assertRaises(DeprecationWarning, chart.AddSegment, 1,
65 chart.AddSegment(1, 'label', '0000FF')
66 self.assertEqual('label', chart.data[0][0].label)
67 self.assertEqual('0000FF', chart.data[0][0].color)
71 chart = pie_chart.PieChart()
74 self.assertRaises(DeprecationWarning, chart.AddSegments, [1],
78 chart.AddSegments([1], ['label'], ['0000FF'])
[all …]
Dformatters.py32 def AutoLegend(chart): argument
36 chart._show_legend = False
38 for series in chart.data:
43 chart._show_legend = True
44 if chart._show_legend:
45 chart._legend_labels = labels
61 def __call__(self, chart): argument
63 for series in chart.data:
95 def __call__(self, chart): argument
97 if not chart.data:
[all …]
Dbar_chart_test.py30 self.chart = google_chart_api.BarChart()
43 chart = bar_chart.BarChart()
45 self.assertRaises(DeprecationWarning, chart.AddBars, [1, 2, 3],
49 chart = bar_chart.BarChart()
50 chart.AddBars([1, 2, 3], 'label', '0000FF')
51 self.assertEqual('label', chart.data[0].label)
52 self.assertEqual('0000FF', chart.data[0].style.color)
55 c = self.chart
74 self.chart.vertical = True
75 self.assertTrue(self.chart.left is self.chart.GetDependentAxis())
[all …]
Dcommon_test.py29 self.chart = google_chart_api.LineChart()
35 self.assertTrue(self.chart.left is self.chart.GetDependentAxis())
36 self.assertTrue(self.chart.bottom is self.chart.GetIndependentAxis())
41 self.chart.top = new_axis
42 self.assertTrue(self.chart.top is new_axis)
44 self.chart.bottom = new_axis
45 self.assertTrue(self.chart.bottom is new_axis)
47 self.chart.left = new_axis
48 self.assertTrue(self.chart.left is new_axis)
50 self.chart.right = new_axis
[all …]
Dline_chart_test.py38 chart = line_chart.LineChart()
39 chart.AddSeries(points=[1, 2, 3], style=line_chart.LineStyle.solid(),
41 series = chart.data[0]
54 chart = line_chart.LineChart()
56 self.assertRaises(DeprecationWarning, chart.AddLine, [1, 2, 3],
60 chart = line_chart.LineChart()
61 chart.AddLine([1, 2, 3], 'label', 'color', markers=[x])
62 self.assertEqual('label', chart.data[0].label)
63 self.assertEqual([x], chart.data[0].markers)
64 self.assertEqual('color', chart.data[0].style.color)
Dgraphy_test.py37 def Param(self, param_name, chart=None): argument
39 if chart is None:
40 chart = self.chart
41 params = chart.display._Params(chart)
/external/chromium-trace/catapult/tracing/tracing/ui/base/
Dpie_chart.css5 * /deep/ .pie-chart .arc-text {
9 * /deep/ .pie-chart .label {
13 * /deep/ .pie-chart polyline {
Dline_chart.css6 * /deep/ .line-chart .line {
11 * /deep/ .line-chart #brushes > rect {
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dmodel.py644 chart = google_chart_api.BarChart()
655 chart.stacked = True
656 chart.AddBars(filter_status("unknown"), color="404040")
657 chart.AddBars(filter_status("success"), color="00ac42")
658 chart.AddBars(filter_status("running"), color="3636a9")
659 chart.AddBars(filter_status("aborted"), color="e29e24")
660 chart.AddBars(filter_status("failed"), color="f6350f")
662 chart.AddBars(shards_processed)
671 chart.style = bar_chart.BarChartStyle(bar_thickness=bar_thickness,
679 chart.bottom.labels = []
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Dadd_point_test.py1090 chart = copy.deepcopy(_SAMPLE_DASHBOARD_JSON)
1091 del chart['master']
1093 '/add_point', {'data': json.dumps(chart)}, status=400,
1098 chart = copy.deepcopy(_SAMPLE_DASHBOARD_JSON)
1099 del chart['bot']
1101 '/add_point', {'data': json.dumps(chart)}, status=400,
1106 chart = copy.deepcopy(_SAMPLE_DASHBOARD_JSON)
1107 del chart['point_id']
1109 '/add_point', {'data': json.dumps(chart)}, status=400,
1114 chart = {'foo': 'garbage'}
[all …]
Dstart_try_job.py503 chart = None
508 chart = parts[3]
518 chart = '%s-%s' % (parts[4], parts[3])
521 chart = parts[3]
525 chart = '%s-%s' % (parts[4], parts[3])
531 trace = chart
532 return '%s/%s' % (chart, trace)
Dadd_point.py210 for chart in charts:
211 for trace in charts[chart]:
215 test_suite_name, chart, trace, charts[chart][trace], is_ref,
/external/chromium-trace/catapult/tracing/tracing/ui/extras/chrome/cc/
Dpicture_ops_chart_view.css6 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-view {
14 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-view > .use-percentile-scale {
Dpicture_ops_chart_summary_view.css6 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-summary-view {
16 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-summary-view.hidden {
/external/chromium-trace/catapult/dashboard/docs/
Ddata-format.md42 * `chart_data` (dict): The chart JSON as output by Telemetry.
75 * `charts`: [dict of string to dict] Maps a list of chart name strings
84 * `summary`: A special trace name which denotes the trace in a chart which does
181 benchmarks, and are included by Telemetry in the chart JSON output.
/external/webrtc/webrtc/tools/rtcbot/rtcBotReportVisualizer/
Dmain.js184 var chart = new google.visualization.ColumnChart(div);
185 chart.draw(dataTable, options);
/external/chromium-trace/catapult/third_party/flot/
DREADME.chromium9 Flot is a JavaScript chart plotting library based on jQuery.
/external/chromium-trace/catapult/third_party/graphy/
DREADME.chromium8 Graphy is a chart library for python.

123