Skip to content

Commit ed5def1

Browse files
authored
Merge pull request #453 from Esri/cha-cha-changes
prep for 1.0.0-rc.1
2 parents 08ab30f + c90651e commit ed5def1

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ language: node_js
22
notifications:
33
email: false
44
node_js:
5-
-8
6-
-10
5+
- 8
6+
- 10
77
cache:
88
directories:
99
- node_modules

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Cedar is a library for crafting and sharing data visualizations powered by ArcGI
1212
At the highest level, Cedar provides a simple chart API. Beyond that it is possible to create new and unique chart types that can be loaded and customized through interactions and styling depending on your needs.
1313
-->
1414

15-
**Currently Esri Cedar is in development and should be thought of as a beta or preview.**
15+
**Currently @esri/cedar is in development and should be thought of as a beta or preview.**
1616

1717
## Types of Charts
1818

@@ -42,8 +42,8 @@ You can load Cedar and its dependencies by including script tags that point to t
4242
<!-- in this case, we only need bar charts, so we'll load the appropriate amCharts script -->
4343
<script src="https://www.amcharts.com/lib/3/serial.js"></script>
4444
<!-- load the arcgis-rest-js scripts -->
45-
<script src="https://unpkg.com/@esri/arcgis-rest-request@1.7.1/dist/umd/request.umd.min.js"></script>
46-
<script src="https://unpkg.com/@esri/arcgis-rest-feature-service@1.7.1/dist/umd/feature-service.umd.min.js"></script>
45+
<script src="https://unpkg.com/@esri/arcgis-rest-request"></script>
46+
<script src="https://unpkg.com/@esri/arcgis-rest-feature-service"></script>
4747
<!-- optionally load an amcharts theme; cedar provides a calcite theme -->
4848
<script src="https://unpkg.com/@esri/cedar/dist/umd/themes/amCharts/calcite.js"></script>
4949
<!-- load cedar -->
@@ -132,7 +132,7 @@ You can also see how to use cedar with an ArcGIS API for JavaScript map in these
132132

133133
## Components of a Cedar Chart
134134

135-
Cedar charts are defined by the following ingredients:
135+
Cedar charts contain the following ingredients:
136136

137137
- an array of `datasets`, each has, either:
138138
- a `url` to an ArcGIS feature yayer along with optional `query` parameters;
@@ -157,13 +157,13 @@ This repository is a monorepo managed using [yarn workspaces](https://yarnpkg.co
157157

158158
To run tests one time for all packages, run `yarn test` from the monorepo root.
159159

160-
To run tests continually for any package as you update it's soruce code, `cd` into that package and run `yarn run test:watch` to continually run that package's tests as you update the source code
160+
To run tests for any package as you update it's source code, `cd` into that package and run `yarn run test:watch` to continually run that package's tests as you make your changes.
161161

162162
### Dependencies
163163

164-
Cedar is a very thin wrapper around other libraries that do the heavy lifting. Cedar uses the [amCharts JavaScripts Charts](https://www.amcharts.com/javascript-charts/) library as it's charting engine. Cedar also uses [@esri/arcgis-rest-feature-service](https://esri.github.io/arcgis-rest-js/api/feature-service/) and [@esri/arcgis-rest-request](https://esri.github.io/arcgis-rest-js/api/request/) to query feature data. You will need to include these libraries along with cedar in your application. If you [install cedar using npm or yarn](#installing-cedar) these libraries will be installed for you, but you will have to make sure that your module bundler can resolve and include them in your application. If you are loading cedar from the CDN, please refer to the [loading cedar](#loading-cedar) section above for the `<script>` tags that you will need to include.
164+
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-service](https://esri.github.io/arcgis-rest-js/api/feature-service/) and [@esri/arcgis-rest-request](https://esri.github.io/arcgis-rest-js/api/request/) to query feature data. You will need to include these libraries along with cedar in your application. If you [install cedar using npm or yarn](#installing-cedar) these libraries will be installed for you, but you will have to make sure that your module bundler can resolve and include them 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.
165165

166-
Cedar supports the [same browsers as ArcGIS Online](https://doc.arcgis.com/en/arcgis-online/reference/browsers.htm), however you may need to include polyfills for [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) and [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), if your application has to support browers that don't support [fetch](https://caniuse.com/#search=fetch) or [Promise](https://caniuse.com/#search=promise) (i.e. IE or older versions of Safari/Android).
166+
Cedar supports the [same browsers as ArcGIS Online](https://doc.arcgis.com/en/arcgis-online/reference/browsers.htm), however you may need to include polyfills for [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) and [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), if your application has to support browers that don't support them (i.e. IE or older versions of Safari/Android).
167167

168168
### Versioning
169169

@@ -183,7 +183,7 @@ For more information on SemVer, please visit <http://semver.org/>.
183183

184184

185185
### Licensing
186-
Copyright 2018 Esri
186+
Copyright &copy; 2014-2018 Esri
187187

188188
Licensed under the Apache License, Version 2.0 (the "License");
189189
you may not use this file except in compliance with the License.

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
],
66
"npmClient": "yarn",
77
"useWorkspaces": true,
8-
"version": "1.0.0-beta.9"
8+
"version": "1.0.0-rc.1"
99
}

packages/cedar-amcharts/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,19 @@ All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## Unreleased
7+
8+
## 1.0.0-rc.1
9+
10+
### Fixed
11+
- @esri/arcgis-rest-request and @esri/arcgis-rest-feature-service are no longer bundled inside the package.
12+
713
### Added
814
- style.colors accepts an array of colors that map to chart colors
15+
- when dataset.domains is provided, Cedar will convert coded value domain codes to names internally.
16+
917
### Changed
1018
- Balloon Text for pie, and bar chart families has been updated to a more understandable format
19+
- _everything_ is now exported in the ES6 build of the libary.
1120

1221
## 1.0.0-beta.6
1322
### Changed

0 commit comments

Comments
 (0)