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