Fix layer event to match documentation (chain).

* spec chaining for chart events
* spec chaining for layer events
* implement chaining for layer events.

I think this is a minor improvement.

I was also wondering why the event APIs were different for charts and layers, instead of a single implementation that can be mixed in?