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
zeroline
CSS class. - CSS classes have been renamed:
renderer
,bar-renderer
,line-renderer
,area-renderer
have 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.Numeric
width 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.Line
andPlot.Area
can 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.