Stylin'!
Pre-release
Pre-release
Good afternoon,
We've got some big changes coming up, but we thought we'd do a release now so that you guys can pick up some fixes and enhancements we made:
- Sweet new stylings! (see above) There are now "canonical" Plottable colors in colors.ts.
- Gridlines at x=0 and y=0 now have the
zerolineCSS class. - CSS classes have been renamed:
renderer,bar-renderer,line-renderer,area-rendererhave been renamed toplot,bar-plot,line-plot,area-plot, respectively. - Formatters are now simple functions that take in a single argument and returns a string. Factory methods exist in Formatters.ts.
Axis.Numericwidth calculation should work better now.- Users can set the extra space between the tick labels and the outer edge of the axis using the
gutter(). - Users can set the length of the end ticks independently with
endTickLength(). Plot.LineandPlot.Areacan now project display properties based on the data:
areaPlot.project("fill", function(d) { return d.color; });
The first datum will be used to determine the display properties in these cases.
