Skip to content

Commit 2f94047

Browse files
kristinamongoKristina Stefanovamongo-J
authored
feat: CHARTS-8817 rendering spec SDK example app (#85)
Co-authored-by: Kristina Stefanova <[email protected]> Co-authored-by: James Wang <[email protected]>
1 parent f7b5dc3 commit 2f94047

File tree

33 files changed

+7642
-182
lines changed

33 files changed

+7642
-182
lines changed

examples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Our **authenticated** examples are great references if you need help getting sta
2121
- [Atlas App Services](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/charts/authenticated-realm-web)
2222
- [Google](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/charts/authenticated-google)
2323

24+
The [rendering spec](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/charts/rendering-spec) example demonstrates how you can apply customizations to embedded charts. This example only shows you a few cutomisations you can apply to embedded charts, see [rendering specification](https://github.com/mongodb-js/charts-embed-sdk/tree/master/docs/rendering-spec.md) for the complete documentation.
25+
2426
If you'd like to build **interactive** charts, we have two examples showing this capability:
2527

2628
- [Getting started with click events](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/charts/click-events-basic)
@@ -32,18 +34,16 @@ There is also an [example](https://github.com/mongodb-js/charts-embed-sdk/tree/m
3234

3335
The embedded dashboards are very similar to the embedded charts examples, but with a few differences that are highlighted in each example.
3436

35-
The easiest method of embedding a dashboard is by following the [unauthenticated example](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/dashboard/unauthenticated).
37+
The easiest method of embedding a dashboard is by following the [unauthenticated example](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/dashboard/unauthenticated).
3638

3739
For interactive purposes, you can also look at the [unauthenticated get chart example](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/dashboard/unauthenticated-get-chart) where you can attach a click event listener to individual charts on an embedded dashboard.
3840

3941
If your dashboard needs some privacy, you can look at our authenticated examples which uses the same authentication providers as the embedded chart examples too.
4042

41-
4243
- [Custom JWT](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/dashboard/authenticated-custom-jwt)
4344
- [Atlas App Services](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/dashboard/authenticated-realm-web)
4445
- [Google](https://github.com/mongodb-js/charts-embed-sdk/tree/master/examples/dashboard/authenticated-google)
4546

46-
4747
---
4848

4949
We hope these resources help, and as always,

examples/charts/authenticated-custom-jwt/package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/charts/authenticated-custom-jwt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "parcel build index.html"
99
},
1010
"dependencies": {
11-
"@mongodb-js/charts-embed-dom": "^3.0.0",
11+
"@mongodb-js/charts-embed-dom": "^3.2.0",
1212
"cors": "^2.8.5",
1313
"express": "^4.16.3",
1414
"jsonwebtoken": "^8.3.0",

examples/charts/authenticated-realm-deprecated/package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/charts/authenticated-realm-deprecated/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "parcel build index.html"
99
},
1010
"dependencies": {
11-
"@mongodb-js/charts-embed-dom": "^3.0.0",
11+
"@mongodb-js/charts-embed-dom": "^3.2.0",
1212
"jsonwebtoken": "^8.3.0",
1313
"mongodb-stitch-browser-sdk": "^4.8.0",
1414
"parcel": "^1.12.4",

examples/charts/authenticated-realm-web/package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/charts/authenticated-realm-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "parcel build index.html"
99
},
1010
"dependencies": {
11-
"@mongodb-js/charts-embed-dom": "^3.0.0",
11+
"@mongodb-js/charts-embed-dom": "^3.2.0",
1212
"jsonwebtoken": "^8.3.0",
1313
"parcel": "^1.12.4",
1414
"realm-web": "^1.7.1",

examples/charts/click-events-basic/package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/charts/click-events-basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "parcel build index.html"
99
},
1010
"dependencies": {
11-
"@mongodb-js/charts-embed-dom": "^3.0.0",
11+
"@mongodb-js/charts-embed-dom": "^3.2.0",
1212
"parcel": "^1.12.4"
1313
},
1414
"devDependencies": {

examples/charts/click-events-filtering/package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)