I am trying to figure out how I can use the Mongodb JS SDK to modify the binning setting in my data. I am not able to find anything in the SDK documentation- basically my use case is- I want to show a Day of the Month bin when the user selects monthly in a drop down, and a Week bin when the user selects weekly and so on. Is this an option?
Skip to main content
2 years later
Have you found out the answer of it ? I want to do the same. How can I if you know ?
Unfortunately this is not supported yet, but the ability to dynamically change things like binning is planned for the future. For now, you’d need to create multiple charts with different binning settings, and swap in the correct one for the user’s context.
Tom
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Is there a way to force leverage the indexes defined on source collections, for the fields used as dashboard filters. | 24 | 970 | Jul 2024 |
Is there a way to import an Atlas dashboard with overwrite existing dashboard option? | 0 | 202 | Jul 2024 |
Atlas Table Chart Type - Additional Calculated Column/Field | 1 | 31 | Aug 2024 |
Adding true and false boolean values to charts | 0 | 28 | Nov 2024 |
Charts calculated field based on field existence | 0 | 15 | Dec 2024 |