AreaRenderer, Relative Date Axis, BarRenderer
Pre-release
Pre-release
Good afternoon;
New features have arrived:
- AreaRenderer draws a line and fills in the area under it. The shape of the baseline can be set to another line, allowing stacking of AreaRenderers.
generateRelativeDateFormatter()creates a formatter for an axis that displays ticks in terms of fixed time increments from a start date, for example, "days since the start of the project"
In addition, BarRenderer and CategoryBarRenderer have been merged into BarRenderer, which can now take any type of Scale as the x-scale. By default, the bars are left-aligned with the x-value assigned to the bar; the bar alignment can be set on the renderer via barAlignment().