Skip to content

X axis label not shown for stacked bar graph #567

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions