Comparing version 3.0.0-rc5.14 to 3.0.0
{ | ||
"name": "@antv/g2", | ||
"version": "3.0.0-rc5.14", | ||
"version": "3.0.0", | ||
"description": "the Grammar of Graphics in Javascript", | ||
@@ -8,6 +8,10 @@ "main": "build/g2.js", | ||
"module": "index.js", | ||
"homepage": "https://github.com/antvis/g2", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@gitlab.alibaba-inc.com:datavis/g2.git" | ||
"url": "git@github.com:antvis/g2.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/antvis/g2/issues" | ||
}, | ||
"keywords": [ | ||
@@ -51,3 +55,3 @@ "g2", | ||
"build": "webpack", | ||
"ci": "tnpm run lint && tnpm run test", | ||
"ci": "npm run lint && npm run test", | ||
"compress": "uglifyjs -c -m -o dist/g2.min.js -- build/g2.js", | ||
@@ -76,3 +80,3 @@ "coverage": "npm run coverage-generator && npm run coverage-viewer", | ||
"dependencies": { | ||
"@antv/g": "^2.0.0-beta.27", | ||
"@antv/g": "^2.0.0", | ||
"fecha": "^2.3.1", | ||
@@ -79,0 +83,0 @@ "gl-matrix": "^2.4.0", |
# G2: the Grammar of Graphics in Javascript | ||
[![npm package](https://img.shields.io/npm/v/@antv/g2.svg?style=flat-square)](https://www.npmjs.com/package/@antv/g2) | ||
[![NPM downloads](http://img.shields.io/npm/dm/@antv/g2.svg?style=flat-square)](https://npmjs.org/package/@antv/g2) | ||
[![Percentage of issues still open](http://isitmaintained.com/badge/open/antvis/g2.svg)](http://isitmaintained.com/project/antvis/g2 "Percentage of issues still open") | ||
G2 is a visualization grammar, a data-driven visual language with a high level of usability and scalability. It provides a set of grammars, takes users beyond a limited set of charts to an almost unlimited world of graphical forms. With G2, users can describe the visual appearance of a visualization just by one statement. | ||
[More details about G2](https://antv.alipay.com/zh-cn/g2/3.x/index.html). | ||
## Installing | ||
## Contributing | ||
```js | ||
npm install @antv/g2 | ||
``` | ||
- project structure | ||
- core style guide | ||
- work flow | ||
### Example | ||
```html | ||
<div id="c1"></div> | ||
``` | ||
```js | ||
import G2 from '@antv/g2'; | ||
const data = [ | ||
{ genre: 'Sports', sold: 275 }, | ||
{ genre: 'Strategy', sold: 1150 }, | ||
{ genre: 'Action', sold: 120 }, | ||
{ genre: 'Shooter', sold: 350 }, | ||
{ genre: 'Other', sold: 150 }, | ||
]; | ||
const chart = new G2.Chart({ | ||
container: 'c1', | ||
width: 500, | ||
height: 500 | ||
}); | ||
chart.source(data); | ||
chart.interval().position('genre*sold').color('genre'); | ||
chart.render(); | ||
``` | ||
[More examples](https://antv.alipay.com/zh-cn/g2/3.x/demo/index.html) |
@@ -10,3 +10,3 @@ /** | ||
const Default = { | ||
version: '3.0.0-rc5.14', | ||
version: '3.0.0', | ||
trackable: true, | ||
@@ -13,0 +13,0 @@ animate: true, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
18778456
297
0
0
46
Updated@antv/g@^2.0.0