Changeset 110 for trunk/tests/pie.py

Show
Ignore:
Timestamp:
10/28/08 15:52:13 (4 years ago)
Author:
lgs
Message:

Draw the dataset name and not the x value in the axis of a pie chart

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/pie.py

    r85 r110  
    120120        ch._updateChart() 
    121121        ch._updateTicks() 
    122         self.assertEqual(ch.xticks, [(0, '0 (10.0%)'), 
    123                                      (1, '1 (20.0%)'), 
    124                                      (2, '2 (70.0%)')]) 
     122        self.assertEqual(ch.xticks, [('dataset1', 'dataset1 (10.0%)'), 
     123                                     ('dataset2', 'dataset2 (20.0%)'), 
     124                                     ('dataset3', 'dataset3 (70.0%)')]) 
    125125         
    126126