Skip to content

AreaRenderer, Relative Date Axis, BarRenderer

Pre-release
Pre-release
Compare
Choose a tag to compare
@jtlan jtlan released this 18 Apr 21:27
· 8972 commits to master since this 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().