Charts building engine for Ruby on Rails