1syntax = "proto3";
2// Describes a chart generated from WebRTC event log data.
3option optimize_for = LITE_RUNTIME;
4package webrtc.analytics;
5
6import "chart_enums.proto";
7
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 TickLabel {
17  float value = 1;
18  string label = 2;
19}
20
21message Chart {
22  repeated DataSet data_sets = 1;
23  float xaxis_min = 2;
24  float xaxis_max = 3;
25  string xaxis_label = 4;
26  float yaxis_min = 5;
27  float yaxis_max = 6;
28  string yaxis_label = 7;
29  string title = 8;
30  string id = 9;
31  repeated TickLabel yaxis_tick_labels = 10;
32}
33
34message ChartCollection {
35  repeated Chart charts = 1;
36}
37