Skip to content

Commit

Permalink
Enabled warning for missing category is scatter chart.
Browse files Browse the repository at this point in the history
Issue #197.
  • Loading branch information
jmcnamara committed Dec 16, 2014
1 parent 81445d7 commit fe35ddf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion xlsxwriter/chart.py
Expand Up @@ -47,7 +47,7 @@ def __init__(self, options=None):
self.axis_ids = []
self.axis2_ids = []
self.cat_has_num_fmt = 0
self.requires_category = 0
self.requires_category = False
self.legend_position = 'right'
self.legend_delete_series = None
self.legend_font = None
Expand Down
1 change: 1 addition & 0 deletions xlsxwriter/chart_scatter.py
Expand Up @@ -40,6 +40,7 @@ def __init__(self, options=None):
self.horiz_val_axis = 0
self.val_axis_postion = 'b'
self.smooth_allowed = True
self.requires_category = True

# Set the available data label positions for this chart type.
self.label_position_default = 'right'
Expand Down

0 comments on commit fe35ddf

Please sign in to comment.