From 45febed680829a990318ea2c8862ca19e619ae22 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 30 Apr 2009 23:52:35 +0000 Subject: [PATCH] Added the other three axes to the activity chart. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30528 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../gui/thread_window/ActivityPage.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/apps/debuganalyzer/gui/thread_window/ActivityPage.cpp b/src/apps/debuganalyzer/gui/thread_window/ActivityPage.cpp index 20d1b13e42..e705035d81 100644 --- a/src/apps/debuganalyzer/gui/thread_window/ActivityPage.cpp +++ b/src/apps/debuganalyzer/gui/thread_window/ActivityPage.cpp @@ -16,6 +16,7 @@ #include "chart/BigtimeChartAxisLegendSource.h" #include "chart/Chart.h" #include "chart/ChartDataSource.h" +#include "chart/DefaultChartAxisLegendSource.h" #include "chart/LegendChartAxis.h" #include "chart/LineChartRenderer.h" #include "chart/StringChartLegend.h" @@ -324,6 +325,18 @@ ThreadWindow::ActivityPage::ActivityPage() LegendChartAxis* axis = new LegendChartAxis( new BigtimeChartAxisLegendSource, new StringChartLegendRenderer); fActivityChart->SetAxis(CHART_AXIS_BOTTOM, axis); + + axis = new LegendChartAxis( + new BigtimeChartAxisLegendSource, new StringChartLegendRenderer); + fActivityChart->SetAxis(CHART_AXIS_TOP, axis); + + axis = new LegendChartAxis( + new DefaultChartAxisLegendSource, new StringChartLegendRenderer); + fActivityChart->SetAxis(CHART_AXIS_LEFT, axis); + + axis = new LegendChartAxis( + new DefaultChartAxisLegendSource, new StringChartLegendRenderer); + fActivityChart->SetAxis(CHART_AXIS_RIGHT, axis); }