1

I have just started learning d3.js and dc.js. I want to create bar chart in dc.js with labels, but when I refer the api, it says .label function is not supported for bar chart. Any idea why label are not supported? What should i do to show the label just below the top of the every bar?

Thanks in advance.

subir
  • 21
  • 1

1 Answers1

0

There's a feature request for this.

https://github.com/dc-js/dc.js/issues/211

While I think I disagree with the person who downvoted your question (without commenting!) it's hard to imagine how this wouldn't have shown up in a web search.

For now I think you'd have to use a renderlet. Although I think I saw someone doing it, that didn't show up in a web search.

Gordon
  • 19,811
  • 4
  • 36
  • 74
  • Hi Gordon, you are right. I tried to search before posting the question but could not find any results. – subir Jun 08 '14 at 02:01
  • Well anyway it's a reasonable request and I hope to implement it or take a pull request (again, I think I saw code somewhere). The issue tracker is the right place to request features. Sorry if I was short! – Gordon Jun 08 '14 at 03:46