Changeset 163
- Timestamp:
- 03/12/09 05:04:27 (3 years ago)
- Location:
- trunk/chavier
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/chavier/app.py
r149 r163 23 23 from pycha.pie import PieChart 24 24 from pycha.scatter import ScatterplotChart 25 from pycha.stackedbar import StackedVerticalBarChart, StackedHorizontalBarChart 25 26 26 27 from chavier.gui import GUI … … 35 36 PieChart, 36 37 ScatterplotChart, 38 StackedVerticalBarChart, 39 StackedHorizontalBarChart, 37 40 ) 38 41 … … 41 44 LINE_TYPE, 42 45 PIE_TYPE, 43 SCATTER_TYPE) = range(len(CHART_TYPES)) 46 SCATTER_TYPE, 47 STACKED_VERTICAL_BAR_TYPE, 48 STACKED_HORIZONTAL_BAR_TYPE) = range(len(CHART_TYPES)) 44 49 45 50 OPTIONS_TYPES = dict( -
trunk/chavier/gui.py
r148 r163 142 142 ('scatter', None, '_Scatter', None, 143 143 'Use scatter chart', self.app.SCATTER_TYPE), 144 ('stackedverticalbar', None, '_Stacked Vertical bars', None, 145 'Use stacked vertical bars chart', 146 self.app.STACKED_VERTICAL_BAR_TYPE), 147 ('stackedhorizontalbar', None, '_Stacked Horizontal bars', None, 148 'Use stacked horizontal bars chart', 149 self.app.STACKED_HORIZONTAL_BAR_TYPE), 144 150 ], self.app.VERTICAL_BAR_TYPE, self.on_chart_type_change) 145 151 self.uimanager.insert_action_group(action_group, -1) … … 166 172 <menuitem action="verticalbar"/> 167 173 <menuitem action="horizontalbar"/> 174 <menuitem action="stackedverticalbar"/> 175 <menuitem action="stackedhorizontalbar"/> 168 176 <menuitem action="line"/> 169 177 <menuitem action="pie"/>
