shutterstock / rickshaw

JavaScript toolkit for creating interactive real-time graphs
https://shutterstock.github.io/rickshaw
MIT License
6.53k stars 939 forks source link

Ability to add axis titles #480

Open aravindhsampath opened 10 years ago

aravindhsampath commented 10 years ago

The inability to add axis titles to the charts is the single thing that stops me from using this awesome library. I know (from googling) that axis titles are not part of the D3 libraries rickshaw is built on. Thought I would open an issue and ask you all directly.

Isn't the ability to say what the X-axis and Y-axis represent a basic requirement? Can anyone tell me how I can do this with Rickshaw..?

frankthelen commented 10 years ago

We are using (one or multiple) y-axes in the markup outside of the chart (you are telling Rickshaw to use these y axes before rendering). What we did, is to add titles (and styles) to these y axes. Works fine for us.

aravindhsampath commented 10 years ago

frankthelen, Thanks for the response. Can you give me an example to look at?