Skip to content

Example usage fails with argument error (initializing Axis) #71

@sjjbirch

Description

@sjjbirch

(Squid 1.4.1, Ruby 3.2.2, Rails 7.0.8)

Attempting to run the examples at https://nullscreen.github.io/squid/ fails. For example:

Prawn::Document.generate 'web traffic.pdf' do
  chart views: {2013 => 182, 2014 => 46, 2015 => 134}
end

Results in:

...squid-1.4.1/lib/squid/axis.rb:10:in `initialize': wrong number of arguments (given 2, expected 1; required keywords: steps, stack, format) (ArgumentError)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions