Sha256: 62b7aa1e7c37044cf6fcc8ec50120206365fdd3ff111a7665517e2cca7655557

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

# -*- coding: utf-8 -*-

class RailsDataExplorer
  class DataType
    class Quantitative

      # Responsibilities:
      #  * Provide methods for decimal quantitative data type.
      #
      # Collaborators:
      #  * DataSet
      #
      class Decimal < Quantitative

        def axis_tick_format(values)
          "d3.format('.02f')"
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails-data-explorer-1.0.4 lib/rails_data_explorer/data_type/quantitative/decimal.rb
rails-data-explorer-1.0.3 lib/rails_data_explorer/data_type/quantitative/decimal.rb
rails-data-explorer-1.0.2 lib/rails_data_explorer/data_type/quantitative/decimal.rb
rails-data-explorer-1.0.1 lib/rails_data_explorer/data_type/quantitative/decimal.rb
rails-data-explorer-1.0.0 lib/rails_data_explorer/data_type/quantitative/decimal.rb