Charts
-
Conditional formatting
After you define a KPI, will be awesome if you can color them:
By expressions:
Red if number is less than 33.
Yellow if number is grater than 34 and less then 50.
Green if number is grater than 51.By scale:
A gradient from Red to Green (with yellow in the middle) and values from 0 to 100.Static:
Just color this KPI number purple.
NOTE: Colors and values must be configured by user.
41 votes -
Expose Charts creation using API and get back embedded chart's URI
We can use Chart's API to construct the charts on demand through various JS application and client requirements, without exposing the Charts dashboard / data sources in a multi tenant application. We can use the API's to modify / create charts and get back the embedded chart URI to show on the application UI.
37 votes -
Switching Chart Type should not erase existing settings
If I change the chart type (e.g. a Line Chart) from Discrete to Continuous, it'd be nice if I didn't have to restart from scratch. Currently it erases my settings.
11 votes -
$todayDate filter
This allows us to create charts that give us insight whether this is a great, good, average or a bad day. The $todayDate filter range should be 00:00:00 to 23:59:59
10 votes -
Set a Custom Timezone for all Dates by Default
Since mongo by default stores the dates in UTC timezone, whenever we have to create a chart based on the time, we need to always go to the
customize
section and change the timezone. It's a repetitive process and sometimes people forget, and end up exporting wrong data. (A major use-case for charts for us is also self-serve data export by non tech users)We can change the timezone using an aggregation pipeline, but that changes the data type itself from date to number (by splitting into day, month, hour etc); and then it's manual work in the chart UI…
9 votes -
Move dashboards between Atlas projects and organizations
I would like to be able to move dashboards between organizations and projects. This will enable flexibility on any future organizational changes. Enable the ability to export dashboards and import them into new billing accounts or projects would be helpful. Or you enable sharing between organizations and projects, that will allow then users to convert the shared dashboard into it's own version. That would work as well.
5 votes -
Custom color scheme
I would like to have the ability to define my own color scheme that is then used for either entire dashboards or individual charts. At the current moment, the color schemes available are hardcoded. While they make the dashboards attractive, when integrated into existing applications that follow a certain styleguide, it's not ideal.
5 votesThanks for the suggestion Thomas – we are planning on implementing this later this year.
-
Custom Binning Ranges
Hi Tom (and Team). We would love the ability to bin by custom ranges. We currently can only set a static number, which can lead to some pretty non-standard groupings of data.
EG: For Age, we'd like to be able to create the following bins: 0-17, 18-25, 26-35, 36-45, etc... Since under 18 is a common age range to group together, the bins we have to used are 0-17, 18-34, 35-52, etc..., which isn't a terribly standard age range to group data by.
5 votes -
Date binning by quarter
It would be great to be able to bin dates by quarter. In particular, it would be nice to have financial quarters with a customizable start date for the financial year.
5 votes -
boolean aggregation
Right now you can only count/distinct boolean types. It would be nice if you could count true or false only values.
3 votes -
Ability to hide a chart title and release the space it occupies
I'd like to be able to create/embed charts without titles. I can currently set the title to a simple space character but the space at the top remains blank/taken.
3 votes -
Template chart
A great feature would be to support template charts. The intention is that you have a query that calculates a client’s total gross revenue or the amount of credit card transactions they have processed in realtime. (e.g a text chart). This template could have one or multiple input parameters (think SQL stored procedure / view). Then we could display this chart per customer which would be a game changer to us because then we could tailor our embedded dashboards to each customer.
3 votes -
Please let us save chart without closing
Right now if I want to save my changes to a chart, I have to click "Save and Close". I would love an option to just save the changes, as I often change something and reload the code where I embed a chart.
2 votes -
Try Adding Indian States and Cities name in Geo spatial (choropleth)
Try Adding Indian States and Cities names in Geo spatial (choropleth). Only us,uk states are present.
2 votes -
Do not load filters values from database
On large collections, loading filters potential values is very resources consuming. It would be great to not load all the data when displaying the filters.
A button to toggle this behaviour would be great.1 vote -
Do not load graph before validation when editing
Do not load graph before validation when editing.
On large collections, loading graph is very resources consuming. It would be great to not load all the data at every configuration change.
A button to toggle this behaviour would be great.1 vote -
Customize MongoDB Charts - Chart title
Can we please have general customization option for chart title as well? Currently we are only allowed to edit the chart title but we cannot format it in anyway. It would be a good option to change the font color, size, style etc. for chart titles.
1 voteThanks for the suggestion Priyanka. We are currently adding the ability to add a description to a chart, which can include rich text and hyperlinks.
-
Visualize polygons and points on the same map
Capability to visualize GeoJSON polygons and points from data collection on the same map view. That would allow user to create custom grid on a map.
IMHO it'd be very helpful feature when working with geolocation helping to visualize things and also debug during development.
1 vote -
Array of mixed types not working correctly
When we have an array of type [String, number], the second item is considered as string and hence, not able to do aggregation like sum.
For example, consider
```$project: {
transposed: {
$zip: {
inputs: [["aaa","bbb"], [1, 2]]
}
}
}I am not able to create a data table with transformed.0 in col1 and max(transformed.1) in col2
1 vote -
lowlevel data api
Mongodb-charts is great but still lacking a lot of features (which is not super surprising given it's age). To work around mobile issues, missing zoom, server side rendering and similar it would be great if the sdk exposed a low level data endpoint so that we can create our own visualizations on top of the aggregated & cached data from mongodb charts.
I imagine sth like:
const sdk = new ChartsEmbedSDK({
baseUrl,
});
const data = await sdk.getData({chartId})unrelated side note: it would be great if the embed sdk was open source so that we can just contribute little enhancements…
1 vote
- Don't see your idea?