examples/bar_chart/bar_chart.rb
def style
    
    {"font-family" => "sans-serif",
     "font-size" => "11px",
     "fill" => "white",
     "text-anchor" => "middle"}
    
  end
#--------------------------------------------------------------------------------------
# Defines the style of the labels.  Although this does not make much sense, since this
# is fixed, one could consider building the style dynamically.
#--------------------------------------------------------------------------------------
Defines the style of the labels.  Although this does not make much sense, since this
is fixed, one could consider building the style dynamically.
Defines the style of the labels . Although this does not make much sense since this is fixed one could consider building the style dynamically .
def style
    {"font-family" => "sans-serif",
     "font-size" => "11px",
     "fill" => "white",
     "text-anchor" => "middle"}
  end
def style { "font-family" => "sans-serif" , "font-size" => "11px" , "fill" => "white" , "text-anchor" => "middle" } end
Defines the style of the labels.
Defines the style of the labels .