HomeSort by relevance Sort by last modified time
    Searched refs:chart (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/chromium-trace/catapult/third_party/graphy/graphy/
pie_chart_test.py 51 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...]
formatters_test.py 28 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...]
bar_chart_test.py 30 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...]
graphy_test.py 37 def Param(self, param_name, chart=None):
38 """Helper to look up a Google Chart API parameter for the given chart."""
39 if chart is None:
40 chart = self.chart
41 params = chart.display._Params(chart)
common_test.py 29 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_axi
    [all...]
formatters.py 17 """This module contains various formatters which can help format a chart
18 object. To use these, add them to your chart's list of formatters. For
20 chart.formatters.append(InlineLegend)
21 chart.formatters.append(LabelSeparator(right=8))
24 modify the chart in some (hopefully useful) way. For example, the AutoColor
26 should take the chart to format as its only argument.
28 (The formatters work on a deepcopy of the user's chart, so modifications
29 shouldn't leak back into the user's original chart)
32 def AutoLegend(chart):
36 chart._show_legend = Fals
    [all...]
line_chart_test.py 38 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
    [all...]
  /external/chromium-trace/catapult/tracing/tracing/ui/base/
line_chart.css 6 * /deep/ .line-chart .line {
11 * /deep/ .line-chart #brushes > rect {
pie_chart.css 5 * /deep/ .pie-chart .arc-text {
9 * /deep/ .pie-chart .label {
13 * /deep/ .pie-chart polyline {
  /external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/
bar_chart_test.py 17 """Unittest for Graphy and Google Chart API backend."""
34 def AddToChart(self, chart, points, color=None, label=None):
35 return chart.AddBars(points, color=color, label=label)
39 self.chart.vertical = vertical
40 self.chart.stacked = stacked
48 """Test that we can handle a bar chart with only a single bar."""
49 self.AddToChart(self.chart, [1])
56 self.AddToChart(self.chart, [3])
57 self.chart.vertical = False
58 self.chart.bottom.min =
    [all...]
base_encoder_test.py 18 chart-type-specific tests."""
29 def _GetType(self, chart):
32 def _GetDependentAxis(self, chart):
33 return chart.left
52 """Base class for all chart-specific tests"""
55 """Helper to test that the chart axis spec matches the expected values."""
60 """Get a chart object. Other classes can override to change the
61 type of chart being tested.
63 chart = TestChart(*args, **kwargs)
64 chart.display = TestEncoder(chart
    [all...]
pie_chart_test.py 17 """Unittest for Graphy and Google Chart API backend."""
38 def AddToChart(self, chart, points, color=None, label=None):
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']
    [all...]
line_chart_test.py 17 """Unittest for Graphy and Google Chart API backend."""
33 def AddToChart(self, chart, points, color=None, label=None):
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
    [all...]
__init__.py 17 """Backend which can generate charts using the Google Chart API."""
27 Returns a method which, when called, will create & return a chart with
28 chart.display already populated.
31 chart = chart_class(*args, **kwargs)
32 chart.display = display_class(chart)
33 return chart
36 # These helper methods make it easy to get chart objects with display
38 # chart = google_chart_api.LineChart()
40 # chart = line_chart.LineChart(
    [all...]
encoders.py 27 """Base class for encoders which turn chart objects into Google Chart URLS.
30 extra_params: Dict to add/override specific chart params. Of the
31 form param:string, passed directly to the Google Chart API.
36 different from chart formatters.
44 def __init__(self, chart):
46 self.url_base = 'http://chart.apis.google.com/chart'
48 self.chart = chart
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
PercentagePanel.java 30 import com.badlogic.gdx.tools.particleeditor.Chart;
35 Chart chart; field in class:PercentagePanel
48 chart.setValues(this.value.getTimeline(), this.value.getScaling());
54 chart = new Chart(chartTitle) {
56 value.setTimeline(chart.getValuesX());
57 value.setScaling(chart.getValuesY());
60 chart.setPreferredSize(new Dimension(150, 62));
61 contentPanel.add(chart, new GridBagConstraints(0, 0, 1, 1, 0, 0, GridBagConstraints.WEST, GridBagConstraints.BOTH
    [all...]
ScaledNumericPanel.java 34 import com.badlogic.gdx.tools.particleeditor.Chart;
41 Chart chart; field in class:ScaledNumericPanel
112 chart = new Chart(chartTitle) {
114 value.setTimeline(chart.getValuesX());
115 value.setScaling(chart.getValuesY());
118 contentPanel.add(chart, new GridBagConstraints(6, 5, 1, 1, 0, 0, GridBagConstraints.CENTER, GridBagConstraints.BOTH,
120 chart.setPreferredSize(new Dimension(150, 30));
193 chart.setExpanded(!chart.isExpanded())
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/
PercentagePanel.java 35 Chart chart; field in class:PercentagePanel
43 chart.setValues(value.getTimeline(), value.getScaling());
47 chart.setExpanded(!chart.isExpanded());
48 boolean expanded = chart.isExpanded();
50 GridBagConstraints chartConstraints = layout.getConstraints(chart);
53 chart.setPreferredSize(new Dimension(150, 200));
58 chart.setPreferredSize(new Dimension(150, 62));
63 layout.setConstraints(chart, chartConstraints);
    [all...]
ScaledNumericPanel.java 41 Chart chart; field in class:ScaledNumericPanel
57 chart.setValues(value.getTimeline(), value.getScaling());
119 chart.setExpanded(!chart.isExpanded());
120 boolean expanded = chart.isExpanded();
122 GridBagConstraints chartConstraints = layout.getConstraints(chart);
125 chart.setPreferredSize(new Dimension(150, 200));
130 chart.setPreferredSize(new Dimension(150, 30));
135 layout.setConstraints(chart, chartConstraints);
    [all...]
  /external/chromium-trace/catapult/tracing/tracing/ui/extras/chrome/cc/
picture_ops_chart_summary_view.css 6 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-summary-view {
16 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-summary-view.hidden {
picture_ops_chart_view.css 6 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-view {
14 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-view > .use-percentile-scale {
  /prebuilts/devtools/tools/lib/
jfreechart-swt-1.0.9.jar 
  /prebuilts/tools/common/jfreechart/
jfreechart-1.0.9-swt.jar 
  /prebuilts/tools/common/m2/repository/jfree/jfreechart-swt/1.0.9/
jfreechart-swt-1.0.9.jar 
  /packages/apps/Settings/src/com/android/settings/datausage/
ChartDataUsagePreference.java 64 UsageView chart = (UsageView) holder.findViewById(R.id.data_usage); local
68 chart.clearPaths();
69 chart.configureGraph(toInt(mEnd - mStart), top, false, false);
70 calcPoints(chart);
71 chart.setBottomLabels(new CharSequence[] {
76 bindNetworkPolicy(chart, mPolicy, top);
95 private void calcPoints(UsageView chart) {
119 chart.addPath(points);
128 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) {
142 chart.setDividerLoc((int) (policy.warningBytes / RESOLUTION))
    [all...]

Completed in 985 milliseconds

1 2 3