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