def hover(args = {})
      config.data[:options][:hover] = {}
      if args.keys.empty?
        config.data[:options][:hover][:mode] = 'nearest'
        config.data[:options][:hover][:intersect] = true
      else
        config.data[:options][:hover][:mode] = 'nearest' if args[:nearest]
        config.data[:options][:hover][:intersect] = true if args[:intersect]
        config.data[:options][:hover][:animationDuration] = args[:animation] if args[:animation]
      end
      # TODO: add support for onHover configuration option
      true
    end
def hover(args = {})
      config.data[:options][:hover] = {}
      if args.keys.empty?
        config.data[:options][:hover][:mode] = 'nearest'
        config.data[:options][:hover][:intersect] = true
      else
        config.data[:options][:hover][:mode] = 'nearest' if args[:nearest]
        config.data[:options][:hover][:intersect] = true if args[:intersect]
        config.data[:options][:hover][:animationDuration] = args[:animation] if args[:animation]
      end
      # TODO: add support for onHover configuration option
      true
    end
The hover() method provides an interface +that is currently incomplete+ to the hover options for a chart.