blob: 3a11d78671c4fad86813f12f88b1df316ef62a6b [file] [log] [blame]
skvladf581eb72016-09-07 11:15:37 -07001syntax = "proto3";
Bjorn Tereliuse011cb72018-12-10 18:42:09 +01002// Describes a chart generated from WebRTC event log data.
skvladf581eb72016-09-07 11:15:37 -07003option optimize_for = LITE_RUNTIME;
skvladf581eb72016-09-07 11:15:37 -07004package webrtc.analytics;
5
Bjorn Tereliuse011cb72018-12-10 18:42:09 +01006import "chart_enums.proto";
skvladf581eb72016-09-07 11:15:37 -07007
8message DataSet {
9 repeated float x_values = 1;
10 repeated float y_values = 2;
11 string label = 3;
12 ChartStyle.Type style = 4;
13 bool highlight_points = 5;
14}
15
16message Chart {
17 repeated DataSet data_sets = 1;
18 float xaxis_min = 2;
19 float xaxis_max = 3;
20 string xaxis_label = 4;
21 float yaxis_min = 5;
22 float yaxis_max = 6;
23 string yaxis_label = 7;
24 string title = 8;
25}
26
27message ChartCollection {
28 repeated Chart charts = 1;
terelius77f05802017-02-01 06:34:53 -080029}