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 } | 13 } |
13 } | 14 } |
14 | 15 |
15 message DataSet { | 16 message DataSet { |
16 repeated float x_values = 1; | 17 repeated float x_values = 1; |
17 repeated float y_values = 2; | 18 repeated float y_values = 2; |
18 string label = 3; | 19 string label = 3; |
19 ChartStyle.Type style = 4; | 20 ChartStyle.Type style = 4; |
20 bool highlight_points = 5; | 21 bool highlight_points = 5; |
21 } | 22 } |
22 | 23 |
23 message Chart { | 24 message Chart { |
24 repeated DataSet data_sets = 1; | 25 repeated DataSet data_sets = 1; |
25 float xaxis_min = 2; | 26 float xaxis_min = 2; |
26 float xaxis_max = 3; | 27 float xaxis_max = 3; |
27 string xaxis_label = 4; | 28 string xaxis_label = 4; |
28 float yaxis_min = 5; | 29 float yaxis_min = 5; |
29 float yaxis_max = 6; | 30 float yaxis_max = 6; |
30 string yaxis_label = 7; | 31 string yaxis_label = 7; |
31 string title = 8; | 32 string title = 8; |
32 } | 33 } |
33 | 34 |
34 message ChartCollection { | 35 message ChartCollection { |
35 repeated Chart charts = 1; | 36 repeated Chart charts = 1; |
36 } | 37 } |
OLD | NEW |