Hi,
I went through the autoRefresh options for mongoDB charts in the official documentation, but I would like to know if it’s possible to auto-update a dataTable and number MongoDB chart, whenever a new document is inserted into a collection (say by using change_streams or something) instead of using 10 sec (min. update frequency) timer based interval to auto-update the charts?
Unfortunately this is not possible today. You might want to suggest/vote on this at the MongoDB Feedback Engine to see if others are interested in this, and to help us prioritise the work.
Hi,
I have some queries about the MongoDB DataTable Chart and I would like to know
1.) if we can get datatable user navigation controls, like <<<1 / 100>>> at the bottom right of the DataTable, so the user can get the next set of 10 results in the next frame of the datatable frame or is this feature also not available?
2.) I know we can manually adjust the column width but I was not able to adjust the justification of the column headers. So can we center, left or right justify individual columns or this is also not possible now?
The first two are not supported now. You could add feature requests via feedback.mongodb.com to help us track them.
Hiding the logo in embedded charts can be done, but the parameter is called attribution not showAttribution. I know this is a bit confusing as the prop is called showAttribution in the SDK, but the docs do describe this (see “iframe” tab on Embedded Chart Options — MongoDB Charts)