lib/sol/base_chart.rb
#------------------------------------------------------------------------------------
# Base Mixin
# Set or get the dimension attribute of a chart. In dc a dimension can be any valid 
# crossfilter dimension.
# If a value is given, then it will be used as the new dimension. If no value is 
# specified then the current dimension will be returned.
#------------------------------------------------------------------------------------
Base Mixin
Set or get the dimension attribute of a chart. In dc a dimension can be any valid
crossfilter dimension.
If a value is given, then it will be used as the new dimension. If no value is
specified then the current dimension will be returned.
Base Mixin Set or get the dimension attribute of a chart . In dc a dimension can be any valid crossfilter dimension . If a value is given then it will be used as the new dimension . If no value is specified then the current dimension will be returned .
def dimension(val = nil)
      return @properties["dimension"] if !val
      @properties["dimension"] = val
      return self
    end
def dimension ( val = nil ) return @properties [ "dimension" ] if ! val @properties [ "dimension" ] = val return self end
Base Mixin
Set or get the dimension attribute of a chart.
Base Mixin Set or get the dimension attribute of a chart .
val