added onDotClick, onDotHoverIn and onDotHoverOut callbacks for dots in line graphs