saeidzebardast / nvd3-elements

NVD3 charts as web components for Polymer.
http://saeidzebardast.github.io/nvd3-elements
MIT License
38 stars 13 forks source link

Support for x axis labels #9

Closed javiercbk closed 8 years ago

javiercbk commented 8 years ago

Currently the element only supports numbers as the only x axis value. It would be sweet if this element supports labels in the x axis as this stackoverflow answer points out.

saeidzebardast commented 8 years ago

I'll work on this issue next week.

saeidzebardast commented 8 years ago

@javiercbk I've fixed this issue for line and area charts. You need to use v0.18.0. Now, you could set xAxisLabels for the following charts:

See the component page for new demo and options.