Beautiful Bar Charts With Ruby and Gruff (Easy and Simple)

Friday, October 10, 2008
I wanted to plot some simple bar charts recently and I fell on Gruff once again. Since the examples there didn't have any info about bar charts it took me some time (ok - five with ten minutes :D) to find out that you can use them just like line charts but here are some examples anyway:

A very simple bar chart:



Ok, let's see something more advanced now:



And now a bar chart with most of the options changed:



For even more options you can check Gruff::Base documentation or the whole Gruff API.

Have fun :)

8 comments:

  • sale

    Great post, tnx a lot :) Gruff is amazing!

  • vitsin

    hi, is it possible to write actual value above each bar graph?
    is it possible to draw only one x-axis and only one y-axis?

  • I wouldn't use 'beautiful' to describe these charts... functional, simple yes but not visually rich.

  • rachel woodruff

    the Application on blogolink.com/ your android gadget and see Mobdro Website the online streaming of video by yourself tool.Install Mobdro on Computer, Android & iOS Devices Are you all set to stick to your tv or Mobdro do you prefer to view it on any type of Mobdro App location with the aid your Desktop computer or Mobile phone.

  • rachelwofodru

    Starting with Android Lollipop, FRP is mihanblog.com/ basic in vanilla Android official source and also you must admit that the FRP Bypass on PC, Android, iOS, iPhone Free concept behind it is never a poor one.If it's an frp bypass apk attribute that can safeguard our information on a phone we've shed, frp bypass download then it's obviously that is more than welcome.

  • Torie Young

    Good post and I like it very much. By the way, anybody try this how to increase app downloads? I do not how to use.

  • Post a Comment