'Constructor.'

def __init__(self, options=None):

    super(ChartArea, self).__init__()
    if (options is None):
        options = {}
    self.subtype = options.get('subtype')
    if (not self.subtype):
        self.subtype = 'standard'
    self.cross_between = 'midCat'
    self.show_crosses = 0
    if (self.subtype == 'percent_stacked'):
        self.y_axis['defaults']['num_format'] = '0%'
    self.label_position_default = 'center'
    self.label_positions = {'center': 'ctr'}
    self.set_y_axis({})
