Show
Ignore:
Timestamp:
03/21/08 15:05:51 (4 years ago)
Author:
lgs
Message:

Support for rendering the ticks with rotation. Also support for drawing labels in both axis. Based on patch sended by jae. View #6

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/barchart.py

    r81 r82  
    3535            'x': { 
    3636                'ticks': [dict(v=i, label=l[0]) for i, l in enumerate(lines)], 
     37                'label': 'Files', 
     38                'rotate': 25, 
    3739            }, 
    3840            'y': { 
    3941                'tickCount': 4, 
     42                'rotate': 25, 
     43                'label': 'Lines' 
    4044            } 
    4145        }, 
     
    5054        }, 
    5155        'padding': { 
    52             'left': 55 
     56            'left': 55, 
     57            'bottom': 55, 
    5358        }, 
    5459        'title': 'Sample Chart'