Changeset 169 for trunk/examples

Show
Ignore:
Timestamp:
03/17/09 05:27:31 (3 years ago)
Author:
lgs
Message:

Big refactor about how the colors scheme are created and used. See #29

Location:
trunk/examples
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/barchart.py

    r136 r169  
    4949            'lineColor': '#444444' 
    5050        }, 
    51         'colorScheme': 'red', 
     51        'colorScheme': { 
     52            'name': 'gradient', 
     53            'args': { 
     54                'initialColor': 'red', 
     55            }, 
     56        }, 
    5257        'legend': { 
    5358            'hide': True, 
  • trunk/examples/linechart.py

    r136 r169  
    4444            'lineColor': '#444444' 
    4545        }, 
    46         'colorScheme': 'blue', 
     46        'colorScheme': { 
     47            'name': 'gradient', 
     48            'args': { 
     49                'initialColor': 'blue', 
     50            }, 
     51        }, 
    4752        'legend': { 
    4853            'hide': True, 
  • trunk/examples/scatterchart.py

    r136 r169  
    3636            'lineColor': '#444444' 
    3737        }, 
    38         'colorScheme': 'blue', 
     38        'colorScheme': { 
     39            'name': 'gradient', 
     40            'args': { 
     41                'initialColor': 'blue', 
     42            }, 
     43        }, 
    3944        'legend': { 
    4045            'hide': True, 
  • trunk/examples/stackedbarchart.py

    r165 r169  
    3737            'lineColor': '#444444', 
    3838        }, 
    39         'colorScheme': 'red', 
     39        'colorScheme': { 
     40            'name': 'gradient', 
     41            'args': { 
     42                'initialColor': 'red', 
     43            }, 
     44        }, 
    4045        'legend': { 
    4146            'hide': True,