Skip to content

Commit

Permalink
Added an override for the yAxis definition in column and bar charts t…
Browse files Browse the repository at this point in the history
…o use a different one for each metric
  • Loading branch information
twheys committed Dec 7, 2016
1 parent 1bde107 commit 14b72ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fireant/slicer/transformers/highcharts.py
Expand Up @@ -229,6 +229,9 @@ def prevalidate_request(self, slicer, metrics, dimensions,
'Request included %d metrics and %d dimensions.' % (len(metrics),
len(dimensions)))

def yaxis_options(self, dataframe, dim_ordinal, display_schema):
return [{'title': None }] * len(display_schema['metrics'])

def _make_series_item(self, idx, item, dim_ordinal, display_schema, metrics, reference, color='#000'):
metric_key = utils.slice_first(idx)
return {
Expand Down

0 comments on commit 14b72ca

Please sign in to comment.