Sha256: 258f2fe84d664c701aa8ae1e5beac3b58ef59df83983634c619cb3a8fedbd281

Contents?: true

Size: 324 Bytes

Versions: 6

Compression:

Stored size: 324 Bytes

Contents

module D3
  class QuantileScale
    include D3::Native

    def call(t)
      @native.call(t)
    end

    attributes_d3 %i[domain range]
    aliases_native %i[invertExtent quantiles]
    alias_native_new :copy
  end

  class << self
    def scale_quantile
      D3::QuantileScale.new @d3.JS.scaleQuantile
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyper-d3-1.0.0.lap28 lib/d3/quantile_scale.rb
hyper-d3-1.0.0.lap27 lib/d3/quantile_scale.rb
hyper-d3-1.0.0.lap26 lib/d3/quantile_scale.rb
hyper-d3-1.0.0.lap25 lib/d3/quantile_scale.rb
hyper-d3-1.0.0.lap24 lib/d3/quantile_scale.rb
hyper-d3-1.0.0.lap23 lib/d3/quantile_scale.rb