LayerChart
All releases

layerchart@2.0.0-next.13

layerchart@2.0.0-next.13 pre-release

Patch Changes

  • feat: Support passing FormatConfig (ex. { type: '...', options: { ... } }) anywhere FormatType is supported to simplify custom formatting (ex. variant) (#521)

  • feat: Support passing PeriodTypeCode strings for simplified date formatting and reduce imports. Example: format={PeriodType.Day} is now format="day". Also supported with config object for passing additional options (ex. format={{ type: 'day', options: { variant: 'long' } }}). Supported for all format props include Axis, Labels, Legend and Tooltip. (#521)

Edit this page