Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X axis label not shown for stacked bar graph #567

Open
pooja-wal opened this issue Mar 7, 2019 · 0 comments
Open

X axis label not shown for stacked bar graph #567

pooja-wal opened this issue Mar 7, 2019 · 0 comments

Comments

@pooja-wal
Copy link

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

@pooja-wal pooja-wal changed the title X axis label not shown X axis label not shown for stacked bar graph Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant