Skip to content

X axis label not shown for stacked bar graph #567

@pooja-wal

Description

@pooja-wal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions