lib/ruby_rich/dashboard.rb
#------------------------------------------------------------------------------------
# Property that defines how to format date information.  Uses d3 time format.
#------------------------------------------------------------------------------------
Property that defines how to format date information.  Uses d3 time format.
Property that defines how to format date information . Uses d3 time format .
def time_format(val = nil)
      return @properties["timeFormat"] if !val
      @properties["timeFormat"] = "var timeFormat = d3.time.format(\"#{val}\");"
      return self
    end
def time_format ( val = nil ) return @properties [ "timeFormat" ] if ! val @properties [ "timeFormat" ] = "var timeFormat = d3.time.format(\"#{val}\");" return self end
Property that defines how to format date information.
Property that defines how to format date information .
val