Forum Discussion
SamJones3
8 years agoQuickbase Staff
Hey Jonathan,
In testing the calendar out, I built several formulas of this type:
and increase the variable accordingly.
Here's a version which includes 83 colors: https://www.pastiebin.com/5a9468a997bd4
Sam Jones
QuickBase Product Manager
In testing the calendar out, I built several formulas of this type:
var number color = 4; Case(Mod([Record ID#],$color), 1, "#60b54d", 2, "#694092", 3, "#00b0f1", 4, "#ff9511", 0, "#ff0001")That'll assign one of 5 hex colors used throughout the Quick Base UI to the event. If you want to support more colors, add them as lines in the format:
5, "#ffffff",
and increase the variable accordingly.
Here's a version which includes 83 colors: https://www.pastiebin.com/5a9468a997bd4
Sam Jones
QuickBase Product Manager
- JonathanHeuer8 years agoQrew CadetThese works very nicely with my current data set Sam, thank you! But this still doesn't guarantee unique colors, right? Your formula with 82 colors would yield the same for a record ID of 83 as it would for 165, wouldn't it?
Not sure if you have a product management role for calendars, but here are some things I would love to see with calendar charts:- Dynamic filters. Please.
- Chart settings to include hours of the day display options for Day/Month views. That is, the settings would include optional start and end times to display (because I never have events starting at 3am or going until 11pm :)
- Drag to edit events. Drag start/end times to change. Drag entire event to change day or start time.
- SamJones38 years agoQuickbase StaffJonathan,
Good news! Request 3 is already in there. You just need to make sure your start and end fields are both editable (not summary, formula, or lookup).
And yes, please put those in User Voice. My team's going to be primarily focusing on other things now, but if we get enough feedback we'll go back to calendars and look at adding other features like those.
Sam Jones
QuickBase Product Manager
- JanaBaker7 years agoQrew CadetSam,
To follow up your comment about Jonathan's request #3, you said "Request 3 is already in there. You just need to make sure your start and end fields are both editable (not summary, formula, or lookup)."
Are you saying that if the User manually enters both the Start and End date, that on the Calendar report, the User can drag the Start Date in/out by X amount of days and/or drag the End Date in/out by X amount of days and the dates will adjust? Right now I am just experiencing the date range moving when i drag it vs the date range adjusting in or out depending on which date you adjust. Hopefully that makes sense.
Thank you in advance for the clarification.