You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the [amCharts documentation](https://github.com/amcharts/amcharts3) for more information on the available amCharts modules.
64
-
65
-
### Loading Cedar
66
-
67
-
Instead of [installing](installing-cedar) and [importing](importing-cedar) Cedar, you can load Cedar and its [dependencies](#dependencies) by including script tags that point to the CDN (or your locally installed versions of these libraries). This will make the `cedar` global available to your application.
See the [amCharts documentation](https://github.com/amcharts/amcharts3) for more information on importing amCharts modules.
98
64
99
65
### Using Cedar
100
66
@@ -155,6 +121,8 @@ chart.show();
155
121
156
122
See the [API documentation](https://esri.github.io/cedar/api) for further details on how to work with cedar charts.
157
123
124
+
See the [Demos](#demos) section below for examples of Cedar working with other libraries like ArcGIS API for JavaScript or React.
125
+
158
126
### Configuring Cedar
159
127
You can configure cedar to use a custom implementation of `fetch()` by setting `cedar.config.fetch = myCustomFetch`.
160
128
@@ -196,6 +164,42 @@ You can also see how to use cedar with the [ArcGIS API for JavaScript](https://d
196
164
-[A chart using layer features as inline data](https://codepen.io/tomwayson/pen/mxdVqO)
197
165
-[Using cedar w/ client-side LayerView queries](https://jsbin.com/juqafec/edit?html,output)
198
166
167
+
See [this CodeSandbox](https://codesandbox.io/s/esri-cedar-in-react-forked-kyoc2?file=/src/App.js) for an example of how to use Cedar in React.
168
+
169
+
### Loading Cedar
170
+
171
+
Instead of [installing](installing-cedar) and [importing](importing-cedar) Cedar, you can load Cedar and its [dependencies](#dependencies) by including script tags that point to the CDN (or your locally installed versions of these libraries). This will make the `cedar` global available to your application.
Cedar isn't yet another JavaScript charting library. Instead, cedar is a very thin wrapper around other libraries that do the heavy lifting. Cedar uses [amCharts](https://www.amcharts.com/javascript-charts/) library as it's charting engine. Cedar also uses [@esri/arcgis-rest-feature-layer](https://esri.github.io/arcgis-rest-js/api/feature-layer/) and [@esri/arcgis-rest-request](https://esri.github.io/arcgis-rest-js/api/request/) to query feature data. You will need to [install](#installing-cedar) these libraries along with cedar in your application. If you are loading cedar from a CDN, please refer to the [loading cedar](#loading-cedar) section above for the `<script>` tags that you will need to include.
0 commit comments