[v1.3.0] Enabling DragBox Layers
In this release, we've made further performance improvements, and have added a method that allows users to enable and disable the dragbox interaction.
We are now marking fields and methods as deprecated, though they will remain usable in the code base until our next major version bump (2.0). If you are using anything marked as deprecated, you can expect to see a warning in the console with this information. An example warning message is as follows:
Features
DragBoxLayer.enabled()lets you easily turn the dragbox interaction on and off. Disabling will not hide the drag box, but will prevent user input from changing it until it is enabled again. Check it out: http://jsfiddle.net/jksm96wh/

Deprecations
MILLISECONDS_IN_ONE_DAYis now deprecated due to the complexity of timezones, and the fact that the value it is supposed to represent is not a fixed quantity.Formatters.relativeDate()is deprecated as it is impossible to compute correctly without timezone data.- Axis.ticklength() is deprecated, and has been renamed to Axis.innerTickLength().
Performance improvements
- We now cache CSS colors to improve rendering speed on pages with multiple Plottable plots. If you need to update
Scales.Color, you can use thePlottable.Scales.Color.invalidateColorCache()method.
New API points
Plottable.Scales.Color.invalidateColorCache()- Used for dynamic adjustment of CSS stylesheets prior to creating a new color scale.DragBoxLayer.enabled()- Used to enable / disable / freeze theDragBoxLayerwithout removing it from the page.Axis.innerTickLength()- Replacement method for tickLength(), is used for changing the length of tick marks on axes.
