React to events

When integrating an objecting chart in your page, you can react to certain events that get fired by chart.js, e.g. when a user clicks on an object.

This is useful when you want to do things like update a shopping cart or do custom validation.

To react to these events, just implement a js function and pass it as an option to seatsio.SeatingChart(), like so:

new seatsio.SeatingChart({
divId: 'chart',
workspaceKey: '[your workspace key]',
event: '[your event key]',
onObjectSelected: function(object){