'Constructor.'

def __init__(self, options=None):

    super(Chart, self).__init__()
    self.subtype = None
    self.sheet_type = 512
    self.orientation = 0
    self.series = []
    self.embedded = 0
    self.id = (-1)
    self.series_index = 0
    self.style_id = 2
    self.axis_ids = []
    self.axis2_ids = []
    self.cat_has_num_fmt = 0
    self.requires_category = False
    self.legend_position = 'right'
    self.legend_delete_series = None
    self.legend_font = None
    self.legend_layout = None
    self.cat_axis_position = 'b'
    self.val_axis_position = 'l'
    self.formula_ids = {}
    self.formula_data = []
    self.horiz_cat_axis = 0
    self.horiz_val_axis = 1
    self.protection = 0
    self.chartarea = {}
    self.plotarea = {}
    self.x_axis = {}
    self.y_axis = {}
    self.y2_axis = {}
    self.x2_axis = {}
    self.chart_name = ''
    self.show_blanks = 'gap'
    self.show_hidden = 0
    self.show_crosses = 1
    self.width = 480
    self.height = 288
    self.x_scale = 1
    self.y_scale = 1
    self.x_offset = 0
    self.y_offset = 0
    self.table = None
    self.cross_between = 'between'
    self.default_marker = None
    self.series_gap_1 = None
    self.series_gap_2 = None
    self.series_overlap_1 = None
    self.series_overlap_2 = None
    self.drop_lines = None
    self.hi_low_lines = None
    self.up_down_bars = None
    self.smooth_allowed = False
    self.title_font = None
    self.title_name = None
    self.title_formula = None
    self.title_data_id = None
    self.title_layout = None
    self.title_overlay = None
    self.title_none = False
    self.date_category = False
    self.date_1904 = False
    self.remove_timezone = False
    self.label_positions = {}
    self.label_position_default = ''
    self.already_inserted = False
    self.combined = None
    self.is_secondary = False
    self.warn_sheetname = True
    self._set_default_properties()
