A Ruby library that adds chart plotting capabilities to Prawn PDF generation.
Squid is a Ruby library that extends the Prawn PDF generation library by adding chart plotting capabilities. It solves the problem of creating visualizations within PDF documents by providing a simple API to generate graphs programmatically alongside other PDF content.
Ruby developers who need to generate PDF reports with embedded charts, particularly those already using Prawn for PDF generation.
Developers choose Squid because it seamlessly integrates with Prawn, offering a straightforward way to add professional charts to PDFs without switching tools or dealing with complex charting libraries.
A Ruby library to plot charts in PDF files
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Adds a single `chart` method directly to Prawn, enabling effortless chart generation within existing PDF workflows without complex setup.
Accepts data as Ruby hashes with key/value pairs for series, making it intuitive to structure and plot data as shown in the quickstart example.
Offers comprehensive configuration for chart appearance, styling, and layout, with detailed examples available on the Squid homepage for fine-tuning.
Follows a simple, focused philosophy that integrates naturally with Prawn's workflow, reducing the learning curve for Prawn users.
Squid only generates charts within PDF documents, making it unsuitable for projects requiring output in HTML, PNG, or other non-PDF formats.
Tightly coupled with Prawn, so any limitations, bugs, or version incompatibilities in Prawn directly impact Squid's functionality and usability.
While the README provides basics, comprehensive options are detailed on a separate homepage, which can be inconvenient and require extra navigation for full documentation.
Requires Ruby 2.4+ and Rails 5.0+ if used in Rails, potentially excluding legacy applications or environments with older versions.