X axis label not shown for stacked bar graph
Opened this issue · 0 comments
pooja-wal commented
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');