webrtc/rtc_tools/event_log_visualizer/proto/chart.proto
Bjorn Terelius e011cb742d Move chart proto for event_log_visualizer.
Bug: None
Change-Id: I7bca9002f208ac0bafc2d2d399978a289209496f
Reviewed-on: https://webrtc-review.googlesource.com/c/113815
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25963}
2018-12-11 12:21:43 +00:00

29 lines
605 B
Protocol Buffer

syntax = "proto3";
// Describes a chart generated from WebRTC event log data.
option optimize_for = LITE_RUNTIME;
package webrtc.analytics;
import "chart_enums.proto";
message DataSet {
repeated float x_values = 1;
repeated float y_values = 2;
string label = 3;
ChartStyle.Type style = 4;
bool highlight_points = 5;
}
message Chart {
repeated DataSet data_sets = 1;
float xaxis_min = 2;
float xaxis_max = 3;
string xaxis_label = 4;
float yaxis_min = 5;
float yaxis_max = 6;
string yaxis_label = 7;
string title = 8;
}
message ChartCollection {
repeated Chart charts = 1;
}