OLD | NEW |
1 // Describes a chart generated from WebRTC event log data. | 1 // Describes a chart generated from WebRTC event log data. |
2 syntax = "proto3"; | 2 syntax = "proto3"; |
3 option optimize_for = LITE_RUNTIME; | 3 option optimize_for = LITE_RUNTIME; |
4 | 4 |
5 package webrtc.analytics; | 5 package webrtc.analytics; |
6 | 6 |
7 message ChartStyle { | 7 message ChartStyle { |
8 enum Type { | 8 enum Type { |
9 UNDEFINED = 0; | 9 UNDEFINED = 0; |
10 LINE_CHART = 1; | 10 LINE_CHART = 1; |
11 BAR_CHART = 2; | 11 BAR_CHART = 2; |
12 LINE_STEP_CHART = 3; | 12 LINE_STEP_CHART = 3; |
| 13 SCATTER_CHART = 4; |
13 } | 14 } |
14 } | 15 } |
15 | 16 |
16 message DataSet { | 17 message DataSet { |
17 repeated float x_values = 1; | 18 repeated float x_values = 1; |
18 repeated float y_values = 2; | 19 repeated float y_values = 2; |
19 string label = 3; | 20 string label = 3; |
20 ChartStyle.Type style = 4; | 21 ChartStyle.Type style = 4; |
21 bool highlight_points = 5; | 22 bool highlight_points = 5; |
22 } | 23 } |
23 | 24 |
24 message Chart { | 25 message Chart { |
25 repeated DataSet data_sets = 1; | 26 repeated DataSet data_sets = 1; |
26 float xaxis_min = 2; | 27 float xaxis_min = 2; |
27 float xaxis_max = 3; | 28 float xaxis_max = 3; |
28 string xaxis_label = 4; | 29 string xaxis_label = 4; |
29 float yaxis_min = 5; | 30 float yaxis_min = 5; |
30 float yaxis_max = 6; | 31 float yaxis_max = 6; |
31 string yaxis_label = 7; | 32 string yaxis_label = 7; |
32 string title = 8; | 33 string title = 8; |
33 } | 34 } |
34 | 35 |
35 message ChartCollection { | 36 message ChartCollection { |
36 repeated Chart charts = 1; | 37 repeated Chart charts = 1; |
37 } | 38 } |
OLD | NEW |