Diffstat (limited to 'noncore/apps/checkbook/graph.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/graph.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/noncore/apps/checkbook/graph.cpp b/noncore/apps/checkbook/graph.cpp index 8ae835c..acdb846 100644 --- a/noncore/apps/checkbook/graph.cpp +++ b/noncore/apps/checkbook/graph.cpp | |||
@@ -86,13 +86,8 @@ void Graph::initGraph() | |||
86 | { | 86 | { |
87 | drawBarChart( width(), height(), data->maxValue() ); | 87 | drawBarChart( width(), height(), data->maxValue() ); |
88 | } | 88 | } |
89 | break; | 89 | break; |
90 | case GraphInfo::LineChart : | ||
91 | { | ||
92 | //drawLineChart( p, s, min, max ); | ||
93 | } | ||
94 | break; | ||
95 | case GraphInfo::PieChart : | 90 | case GraphInfo::PieChart : |
96 | { | 91 | { |
97 | drawPieChart( width(), height(), data->totalValue() ); | 92 | drawPieChart( width(), height(), data->totalValue() ); |
98 | } | 93 | } |
@@ -131,12 +126,8 @@ void Graph::drawBarChart( int width, int height, float max ) | |||
131 | x += bw; | 126 | x += bw; |
132 | } | 127 | } |
133 | } | 128 | } |
134 | 129 | ||
135 | void Graph::drawLineChart( int width, int height, float max ) | ||
136 | { | ||
137 | } | ||
138 | |||
139 | void Graph::drawPieChart( int width, int height, float sum ) | 130 | void Graph::drawPieChart( int width, int height, float sum ) |
140 | { | 131 | { |
141 | QPainter p( &graph ); | 132 | QPainter p( &graph ); |
142 | 133 | ||