class WhirledPeas::Settings::GraphSettings

Public Instance Methods

axis_color() click to toggle source
# File lib/whirled_peas/settings/graph_settings.rb, line 7
def axis_color
  @_axis_color || theme.axis_color
end
axis_color=(color) click to toggle source
# File lib/whirled_peas/settings/graph_settings.rb, line 11
def axis_color=(color)
  @_axis_color = TextColor.validate!(color)
end
validate!() click to toggle source
# File lib/whirled_peas/settings/graph_settings.rb, line 15
def validate!
  super
  raise SettingsError, "`height` must be set for GraphSettings" if height.nil?
end