Posted By: Anonymous
I am trying to display a chart from MongoDB Charts in my React Native app, ussing an iFrame. The graph shows Tasks that belong to a user and I want to filter them by the id of the user.
The filter settings in Mongodb Charts are configured.
It always returns me a blank chart. If I remove the filter or filter for another field, it is seen without problem.
This is the url with the filter:
A detail of the filter:
I think it’s something from the filter’s URI encoding or a syntax error, but I can’t find the what… Can somebody help me? Thanks!
In case anyone needs help with this, the solution was to use $ oid instead of ObjectId ():