Index: webrtc/tools/event_log_visualizer/plot_base.h |
diff --git a/webrtc/tools/event_log_visualizer/plot_base.h b/webrtc/tools/event_log_visualizer/plot_base.h |
index afa20beaf8c82f78b5d7b97d6312a09ede95edb5..29295ec97bf9635f67805863f235d3531757f41c 100644 |
--- a/webrtc/tools/event_log_visualizer/plot_base.h |
+++ b/webrtc/tools/event_log_visualizer/plot_base.h |
@@ -23,7 +23,8 @@ enum PlotStyle { |
LINE_DOT_GRAPH, |
BAR_GRAPH, |
LINE_STEP_GRAPH, |
- DOT_GRAPH |
+ DOT_GRAPH, |
+ VSPAN_GRAPH |
terelius
2017/04/26 13:51:51
Shouldn't this be called HSPAN (or HORIZONTAL_SPAN
philipel
2017/04/26 14:08:01
Renamed to VERTICAL_SPAN.
terelius
2017/04/27 11:31:00
But isn't it a horizontal span?
|
}; |
struct TimeSeriesPoint { |
@@ -40,16 +41,19 @@ struct TimeSeries { |
TimeSeries(TimeSeries&& other) |
: label(std::move(other.label)), |
style(other.style), |
+ color(other.color), |
points(std::move(other.points)) {} |
TimeSeries& operator=(TimeSeries&& other) { |
label = std::move(other.label); |
style = other.style; |
+ color = other.color; |
points = std::move(other.points); |
return *this; |
} |
std::string label; |
PlotStyle style; |
+ std::string color; |
std::vector<TimeSeriesPoint> points; |
}; |