Sha256: 66723dfd55f2e21a728e59ca729d46dfeef3b925566f27e7d5ee4929ea8aec5a

Contents?: true

Size: 364 Bytes

Versions: 6

Compression:

Stored size: 364 Bytes

Contents

module D3
  class QuantizeScale
    include D3::Native

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

    attributes_d3 %i[domain range]
    aliases_native %i[invertExtent ticks tickFormat]
    alias_native_chainable :nice
    alias_native_new :copy
  end

  class << self
    def scale_quantize
      D3::QuantizeScale.new @d3.JS.scaleQuantize
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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