Search code examples
javascriptraphaelgraphael

Adding x-axis and y-axis to barchart in gRaphael?


I want to create a barchart using the gRaphael javascript library. Does gRaphael support labeled axes?


Solution

  • I see some axis although without labels in this example. I think you can add text to a desired position using Raphael function text().

    var t = paper.text(50, 50, "X Label");