TimeRange emptyColor
See original GitHub issueDescribe/explain the bug
According to the documentation, the TimeRange
(and ResponsiveTimeRange
) should have the emptyColor
property, just like the Calendar
component. You can see it here:
An array of colors to be used in conjunction with domain to compute days’ color. It applies to days having a value defined, otherwise, emptyColor will be used.
To Reproduce https://codesandbox.io/s/frosty-swartz-07f8z?file=/src/App.js
Expected behavior
I expect the emptyColor
property to exist and have an effect. In my case, the time range will feel very empty if I don’t have those “empty” boxes. 😦
Desktop (please complete the following information):
- OS: Ubuntu
- Browser Chrome
- Version 90.0.4430.93
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Developers - TimeRange emptyColor - - Bountysource
An array of colors to be used in conjunction with domain to compute days' color. It applies to days having a value defined,...
Read more >Time Range chart | nivo
The TimeRange chart is similar to the Calendar chart, but it allows you to specify dates less than a year. chartcodedataroll the dice....
Read more >TimeRange | Nulogy Design System
Time ranges allow users to easily enter a range of dates. If the end date is before the start date, by default an...
Read more >Object — Modo SDK 14.2v0 documentation - Foundry Learn
Empty Color Python user class. Alpha ()¶. Alpha is optional. ... TimeRange(integer type) ... If the useAlt command is empty, “color.useAlt ?
Read more >NPM Package Versions - nivo/pie - Socket.dev
migrate stream package to TypeScript (e6f4c70b). timerange: add from, to, and emptyColor props (#1722) (d49a7903); website: improve data log when clicking on ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@321ckatz123, I just published
0.74.0
, which includes this.@wyze this does not appear to have been pushed to npm. Can you please push this PR?