29 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
45
views
Angular 18 build error: Top-level await in bson when using @mongodb-js/charts-embed-dom
Environment:
Angular: 18.x
Node.js: 18.20.4
Package manager: pnpm (same behavior with npm)
OS: Windows
import { Component, OnInit } from '@angular/core';
import ChartsEmbedSDK from '@mongodb-js/...
0
votes
1
answer
369
views
No host described in new configuration with {version: 1, term: 0} for replica set rs0 maps to this node
Problem:- The pod was not Ready (0/1), and the pod status was Running. Error is pod was not rs.initiate()
I saw the pod logs and got the below error message.
{"t":{"$date":"2024年07月19日T05:44:52.000+00:...
0
votes
1
answer
82
views
Can you change MongoDB Charts Geospacial Map?
I am using MongoDB Charts to attempt to implement a Dashboard.
The GeoSpacial Charts use appear to use Leaflet and a very simple map.
See Here:
Is is possible to use a more detailed map at closer ...
1
vote
1
answer
130
views
Connecting a MongoDB serverless database to Mongo Charts
I want to connect a serverless MongoDB instance to MongoDB charts.
I don't see any of my serverless instances when I try to add data sources on my Mongo Chart dashboard.
If this is not possible, would ...
0
votes
0
answers
157
views
Aggregate in MongodbCharts
I'm having an error when I'm putting my aggregation in mongodbChart. This code is working fine in normal aggregation but when I'm putting it in MongodbCharts it gives me an error.
FunctionError: (...
0
votes
2
answers
715
views
MongoDB Charts - Cumulative document growth over time
I have an atlas cluster and I connected charts to it. I have zero experience with data visualizations (or building dashboards) and I'd like to chart the number of documents in my database over time. E....
1
vote
0
answers
338
views
why is my mongodb chart embedding sdk not working?
My file directory is:
chartTesting
index.html
chart1.js
chart2.js
I am trying to desplay the chart in my website using mongodb chart embedding sdk,
I have index.html, chart1.js and chart2.js file in ...
0
votes
1
answer
279
views
How can we rename a field or give alias to field in MongoDB Atlas charts?
How can we rename a field or give alias to field in MongoDB Atlas charts?
1
vote
1
answer
412
views
How to trim a value by a particular length and then apply lookUp in mongoDB
The main issue i'm facing is doing multi document joins. For example, when I try and run a query on orders by customer I can't find an easy way to join orders to customers on a customer id because in ...
2
votes
1
answer
698
views
Mongodb Atlas Charts - Show grouped count in different columns
I have a collection of "ofertas" in my DB and the data has this structure:
{
"_id" : ObjectId("6057a995e5a26c119d254f35"),
"empresa" : {
"...
0
votes
1
answer
789
views
How to filter MongoDB Charts with ObjectID?
I'm trying to filter a chart in MongoDB by the organization ID of a user. The filter works fine with strings and numbers, but it doesn't work when I try to filter using ObjectIDs.
This gives back no ...
0
votes
1
answer
158
views
NODE JS + Mongodb aggregation pipelines from MongoCharts
Currently can't figure out why one pipeline works and the other doesn't. I got both pipelines from MongoDB charts and they both returned something and displaying charts on MongoDBCharts. However, when ...
0
votes
1
answer
857
views
MongoDB embedded chart in React, filtering ObjectId not working
I embedded a mongoDB chart into a react component, using the SDK. The chart works great, now I want to add a filter to send in the user's team_oid.
I carefully followed the Filter Embedded Charts ...
3
votes
1
answer
488
views
MongoDB aggregate count the number of products between hour range
I'm using mongodb charts. is it possible to get the number of products within the time range of (eg: 12:00am - 5:00 AM)
For example I have 2 products added at 3:00AM and then I will have 5 products ...
0
votes
1
answer
1k
views
Remove null MongoDB aggregation
I want to just put blank if the field is null.
Data:
"history": [{
"status": "Not Processed",
"createdAt": {
"$date": &...