• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  // `calltime_to_utc_ms` is the UTC time (in ms) for the x-axis in the charts.
37  // In other words, time t ms in the charts corresponds to
38  // t+calltime_to_utc_ms ms in UTC time.
39  int64 calltime_to_utc_ms = 2;
40}
41