Premium support for our pure JavaScript UI components
Hello,
I have time ranges with no duration on the Scheduler chart, that I'd like to color.
It seems like the timeRangeColor
property only apply to ranges with a non-zero duration.
Could you please share how to color both the "flag" and the dotted line when the range duration is 0?
Here's a codepen with the timeRangeColor
option applied, yet all time ranges remain in the default orange color: https://codepen.io/jbdn/pen/ExOawyv
Thank you,
J
timeRangeColor
is only supported on ResourceTimeRange element I'm afraid. It makes sense that it is supported on TimeRanges too. We have opened a ticket for this. https://github.com/bryntum/support/issues/6943
It seems like the timeRangeColor property only apply to ranges with a non-zero duration.
Are you seeing this work on some ranges? Sounds strange.
Many thanks!
Are you seeing this work on some ranges? Sounds strange.
No, my bad, it was indeed on ResourceTimeRange, not on simple TimeRanges.
Ok thanks for clarifying. we'll see if we can implement this in a future release.