blob: 41e3ebd3305553e4763df68d70ea16f1e12c0781 [file] [log] [blame]
skvladf581eb72016-09-07 11:15:37 -07001// Describes a chart generated from WebRTC event log data.
2syntax = "proto3";
3option optimize_for = LITE_RUNTIME;
4
5package webrtc.analytics;
6
7message ChartStyle {
8 enum Type {
9 UNDEFINED = 0;
10 LINE_CHART = 1;
11 BAR_CHART = 2;
terelius77f05802017-02-01 06:34:53 -080012 LINE_STEP_CHART = 3;
philipele127e7a2017-03-29 16:28:53 +020013 SCATTER_CHART = 4;
skvladf581eb72016-09-07 11:15:37 -070014 }
15}
16
17message 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
25message 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
36message ChartCollection {
37 repeated Chart charts = 1;
terelius77f05802017-02-01 06:34:53 -080038}