Update Interactions API & General Housekeeping
Pre-release
Pre-release
·
6706 commits
to master
since this release
Updated Interaction API & Housekeeping
API Breaks
- The
InteractionAPI has changed. Rather than callingInteraction(component..).registerWithComponent, now you create the interaction withvar interaction = new Interaction(...)and then attach it to aComponentusingComponent.registerInteraction(interaction). - Additionally,
Interaction.Clicks now have a consistent callback api that usesPoints.
API Extensions:
Plot.attrnow exists as an alias toPlot.project, and is the preferred invocation as it matches D3 semantices for the function of the same name.
Bugfixes:
Formatters.percentagebehavior is improved.- Autodomaining no longer fails if the data is of an incorrect-but-coercible type.
Housekeeping:
Component.renderTo(selection)now gives helpful error messages if something goes wrong.READMEupdated- Bower/NPM flavor text improved
- Examples directory removed, as it is redundant with the website
StandardChartremoved, as it is redundant with Chartographer.js