WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Timelines and TickLines

Choose a tag to compare

@emeeks emeeks released this 29 Nov 19:00
· 2464 commits to main since this release

in ORFrame

  • pixelColumnWidth in ORFrame now allows you to specify the size of a column as a number and will result in a frame with a size based on the number of columns times the specified size

  • timeline is a new type that requires an rAccessor that returns a two-piece array that designates start and end of timeline/Gantt chart-style bands of data.

screen shot 2017-11-29 at 10 37 10 am

in Axis

  • ticklineGenerator allows you to specify a function which will be passed ({ xy, orient }) which you can return SVG JSX to draw your own custom ticks
  • tickSize allows you to specify the pixel length/height of the tick generated by the axis. Use negative values to draw away from the chart. Use multiple axes on the same orient if you want to draw and overlap different axes or use ticklineGenerator to draw a more custom tick

screen shot 2017-11-29 at 10 37 35 am

screen shot 2017-11-29 at 10 37 50 am