TargetProcess/tauCharts

X axis label not shown for stacked bar graph

Opened this issue · 0 comments

I am using a stacked-bar with angular 2+
package.json-
"taucharts": "2.6.5",

HTML-

TS-
import * as Taucharts from 'taucharts';
import 'taucharts/dist/plugins/tooltip';
import 'taucharts/dist/plugins/legend';

this.graphChart = new Taucharts.Chart({
  data: this.graphChartData,
  type: 'stacked-bar',
  y: ['y axis label'],
  x: ['x axis label'],
  color: 'color attribute',
  plugins: [
    Taucharts.api.plugins.get('legend')(),
    Taucharts.api.plugins.get('tooltip')()
  ]
});
this.graphChart.renderTo('#stackedBar');

The issue here is the graph does not show x axis labels.
screen shot 2019-03-07 at 9 53 24 am