OLD | NEW |
| (Empty) |
1 syntax = "proto2"; | |
2 option optimize_for = LITE_RUNTIME; | |
3 package webrtc.protobuf_plot; | |
4 | |
5 enum PlotStyle { | |
6 UNDEFINED = 0; | |
7 LINE_GRAPH = 1; | |
8 LINE_DOT_GRAPH = 2; | |
9 BAR_GRAPH = 3; | |
10 }; | |
11 | |
12 message DataSet { | |
13 repeated float xvalues = 1; | |
14 repeated float yvalues = 2; | |
15 optional string label = 3; | |
16 optional PlotStyle style = 4; | |
17 } | |
18 | |
19 message Plot { | |
20 repeated DataSet data_sets = 1; | |
21 optional float xaxis_min = 2; | |
22 optional float xaxis_max = 3; | |
23 optional string xaxis_label = 4; | |
24 optional float yaxis_min = 5; | |
25 optional float yaxis_max = 6; | |
26 optional string yaxis_label = 7; | |
27 optional string title = 8; | |
28 } | |
29 | |
30 message PlotCollection { | |
31 repeated Plot plots = 1; | |
32 } | |
OLD | NEW |