Sha256: 14464e879952a879bbafb6fe7cbf3182d50a5d31b2e94dd6ae1d09375151cdb2

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true
module IRuby
  module Chartkick
    class ScatterChart < IRuby::Chartkick::BaseChart
      def plot(*args)
        ::IRuby.html(js_prefix + scatter_chart(@data, **ArgumentModifier[args, self]))
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iruby-chartkick-0.3.1 lib/iruby/chartkick/scatter_chart.rb
iruby-chartkick-0.3.0 lib/iruby/chartkick/scatter_chart.rb
iruby-chartkick-0.2.1 lib/iruby/chartkick/scatter_chart.rb
iruby-chartkick-0.2.0 lib/iruby/chartkick/scatter_chart.rb