{"_id":"@atana/g2plot","_rev":"4-8206fe72181d8a4dfd4f42e1bdd24b9e","name":"@atana/g2plot","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@atana/g2plot","version":"1.0.0","description":"G2Plot for React","license":"MIT","author":{"name":"jay miller"},"main":"lib/index.js","module":"es/index.js","types":"typings","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/open-data-plan/g2plot-react.git"},"scripts":{"dev":"dumi dev","lint":"eslint . --ext=.ts,.tsx","lint:fix":"eslint . --ext=.ts,.tsx --fix","test":"jest -u","prebuild":"npm test","build":"npm run build:es & npm run build:commonjs & npm run build:types","build:es":"babel src -d es --extensions .ts,.tsx","build:commonjs":"cross-env BABEL_ENV=commonjs babel src -d lib --extensions .ts,.tsx","build:types":"tsc","build:docs":"dumi build","preversion":"npm run build","version":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"},"devDependencies":{"@babel/cli":"^7.8.4","@cisdi/babel-preset-component":"^1.0.1","@cisdi/eslint-config-cisdi":"^1.0.1","@cisdi/jest-preset-cisdi":"^1.0.0","@cisdi/prettier-config-cisdi":"^1.0.0","@cisdi/stylelint-config-cisdi":"^1.0.1","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","@types/jest":"^25.1.4","@types/lodash":"^4.14.149","@types/react":"^16.9.25","@types/react-dom":"^16.9.5","@types/react-test-renderer":"^16.9.2","@umijs/plugin-analytics":"^0.2.0","canvas":"^2.6.1","conventional-changelog-cli":"^2.0.31","cross-env":"^7.0.2","dumi":"^1.0.9","husky":"^4.2.3","jest":"^25.1.0","jest-canvas-mock":"^2.2.0","lint-staged":"^10.0.8","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","typescript":"^3.8.3"},"prettier":"@cisdi/prettier-config-cisdi","peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"dependencies":{"@antv/g2plot":"^1.0.2"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"],"*.{css,less}":["stylelint --fix"],"*.{json,md}":["prettier -c --write"]},"bugs":{"url":"https://github.com/open-data-plan/g2plot-react/issues"},"homepage":"https://github.com/open-data-plan/g2plot-react#readme","_id":"@atana/g2plot@1.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-jE/+ygbUSa8fg0ZGODp6+EfgFNJjmGjDXM/KXLGj7n9XdIfMVPNZoeib5WzUMY+agwmsWRDkTIJfRxivOpmjmw==","shasum":"32a768637d6f67cecd923a36cf92b053ee7af703","tarball":"https://registry.npmjs.org/@atana/g2plot/-/g2plot-1.0.0.tgz","fileCount":157,"unpackedSize":137865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefVbgCRA9TVsSAnZWagAACiIP/2ANRTwFrUyAKtmiDjp7\nQXmN6U8aaQAuJigVf2F+QOa0D4b+2g30LCCC1UXDGzTrNoC/AmbCiXGYA7Xi\ndjb0sadqJHuh0pgE+K8nRnDnfw9vQOWyobKeAJJfqDaOg4vZPwd+hATALqWT\nevl02cVJojHhxfCRezhlmJIm2yPd37G4+hjq5mZr6IG7q+BO9jg0Ld/rQYKu\n+risTu1Ck9Vw3Tz4Lw/C1wzl3B1CwIh7V9ZdGD1h2jXRn79XRfdqT+mvqLSM\n0h5lgEP2J+jkOBwt+xseJ2XrO7gXw5gvDAJ5adeZDtekGfI2HLn3CIMiwD7Z\nq+foj8L2pW+bL81T+rTOqsX60paWxidRg4TRZXvhL3gQEtFoADGFqiFFsN5A\noVNs0FGSLTmZt78iw7RLAGSP423V6qhaXP5S/yA7ge/9jBQtfllzdj/mu6UR\ntUlylnNIyIG6UN2yQ/PkPSCZthVkdn0//7NCaLtOi2ZXijOyvGziU+VvCr03\n7ZOeexJ9W1bzVpmRVUE3/M8YtVbCbsbI4ltfKb18m9xaTXXYPAS2lyxD0BJE\nOHdzbwyVYxA3G5/6w8lkUiIEq77/XXM0dwHM9XmQCM5jEYseJGtEVAjxyr6B\nX+IwKzB9l3vM/oD0Kklq4OZjuao5J/hfDi7oI/r+vq0fWt6/TaO09Fk5bahZ\nc7W0\r\n=Txxs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUVSsNYk3pHGMMKCxFpvfHyOMwvyci9WcN83TiMJKK5AiEA/RjEZJsFUuDXoQXMHRN4OYdPwBpe1/ztvJrVyAw2HbE="}]},"maintainers":[{"name":"chriscardoz","email":"chris@atana.io"},{"name":"jaym910","email":"jay@atana.io"},{"name":"davidshi","email":"david@atana.io"}],"_npmUser":{"name":"jaym910","email":"jay@atana.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g2plot_1.0.0_1585272543709_0.1527794884681961"},"_hasShrinkwrap":false},"1.0.1":{"name":"@atana/g2plot","version":"1.0.1","description":"G2Plot for React","license":"MIT","author":{"name":"jay miller"},"main":"lib/index.js","module":"es/index.js","types":"typings","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/open-data-plan/g2plot-react.git"},"scripts":{"dev":"dumi dev","lint":"eslint . --ext=.ts,.tsx","lint:fix":"eslint . --ext=.ts,.tsx --fix","test":"jest -u","prebuild":"npm test","build":"npm run build:es & npm run build:commonjs & npm run build:types","build:es":"babel src -d es --extensions .ts,.tsx","build:commonjs":"cross-env BABEL_ENV=commonjs babel src -d lib --extensions .ts,.tsx","build:types":"tsc","build:docs":"dumi build","preversion":"npm run build","version":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"},"devDependencies":{"@babel/cli":"^7.8.4","@cisdi/babel-preset-component":"^1.0.1","@cisdi/eslint-config-cisdi":"^1.0.1","@cisdi/jest-preset-cisdi":"^1.0.0","@cisdi/prettier-config-cisdi":"^1.0.0","@cisdi/stylelint-config-cisdi":"^1.0.1","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","@types/jest":"^25.1.4","@types/lodash":"^4.14.149","@types/react":"^16.9.25","@types/react-dom":"^16.9.5","@types/react-test-renderer":"^16.9.2","@umijs/plugin-analytics":"^0.2.0","canvas":"^2.6.1","conventional-changelog-cli":"^2.0.31","cross-env":"^7.0.2","dumi":"^1.0.9","husky":"^4.2.3","jest":"^25.1.0","jest-canvas-mock":"^2.2.0","lint-staged":"^10.0.8","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","typescript":"^3.8.3"},"prettier":"@cisdi/prettier-config-cisdi","peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"dependencies":{"@antv/g2plot":"^1.0.2"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"],"*.{css,less}":["stylelint --fix"],"*.{json,md}":["prettier -c --write"]},"bugs":{"url":"https://github.com/open-data-plan/g2plot-react/issues"},"homepage":"https://github.com/open-data-plan/g2plot-react#readme","_id":"@atana/g2plot@1.0.1","_nodeVersion":"12.13.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-Nbv1yY9tma9knGllY46EhbvdklpYqf0MCllAffsWuNpxoG8wwYLp0J51xnpa1R3tpeQjUM0T4iBfqF0nUwtDEA==","shasum":"0d1b3be635302aa10f8591862c0c1ba3a9b3593b","tarball":"https://registry.npmjs.org/@atana/g2plot/-/g2plot-1.0.1.tgz","fileCount":157,"unpackedSize":137971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefVjaCRA9TVsSAnZWagAAV/wP/0VPo2DtH1jcvUPDc267\nrDq/TZYq0v0RIY6Wo+nGPeyRuQhaksA0QccBGdjmxpUWP7arKZizvOm6IqHy\nZ7GR4rFRywZp+h/Ih/xGeJCNDwJ/gphcKlSwzM61lv4uFO+Nkfu7OuMhD94G\nePJmo9WwNl34hsg8oAxjWM/kD+eFupkdMOnPEo3nuESZE5kPFW2iRXtLJT+w\ne0DbGpyBquE6HrQS0qVnr7EZCJVoo/8J9eoTvQgMJCAZ/JHFcuvoZpAjl7Js\neS2qZ7sFMdzvAcl3ilRYJddfJReOfBCb6K0ELiYoIHX0kIpgBuS1p1y/BKce\n6gAn+geosS8RntwPVxj6Fe4ecM7EoxBTEhZRRhUK47ZjQhU7KncUyK20NlJf\nvTncJvtn/fOnlpJSPoOMg8Qq0UL36zM12q/yoinp/NtDyMKWd8HT74ibqrXe\nH+GbpDJ+4qfLdWAMTLsg4AzHLOIKpa2ZVc7m9kPdDqmD6KI5M8dLl3dgz/RL\nLM3dgGhoZExoOTWqcfO7JkwePe9sGH16InODRTE9ANl0UoTQz+HVRt1pIkEd\nL5n1YTc/4HjPjIzRbt4/hY6a0TJ+gfF4EeSO35CcVMyUPaB3cc4/8HofEUNB\nNS7a17/DJlRbu+sqXIdS/ZcHuJaRqoY/2AVn9kmPIDuICEvkj0EAwDoT9Wc1\nhmGb\r\n=KWR0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8bK8WHkfZgMipo4E9uY38etF3s8UQcCQhjkUiilRPzgIgYHrSmNR/MdNMGyN8HmZRRYHip20cRM5IBM8S4RPO/1Q="}]},"maintainers":[{"name":"chriscardoz","email":"chris@atana.io"},{"name":"davidshi","email":"david@atana.io"},{"name":"jaym910","email":"jay@atana.io"}],"_npmUser":{"name":"jaym910","email":"jay@atana.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g2plot_1.0.1_1585273049687_0.018041756266222952"},"_hasShrinkwrap":false},"1.0.2":{"name":"@atana/g2plot","version":"1.0.2","description":"G2Plot for React","license":"MIT","author":{"name":"jay miller"},"main":"lib/index.js","module":"es/index.js","types":"typings","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/open-data-plan/g2plot-react.git"},"scripts":{"dev":"dumi dev","lint":"eslint . --ext=.ts,.tsx","lint:fix":"eslint . --ext=.ts,.tsx --fix","test":"jest -u","prebuild":"npm test","build":"npm run build:es & npm run build:commonjs & npm run build:types","build:es":"babel src -d es --extensions .ts,.tsx","build:commonjs":"cross-env BABEL_ENV=commonjs babel src -d lib --extensions .ts,.tsx","build:types":"tsc","build:docs":"dumi build","preversion":"npm run build","version":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"},"devDependencies":{"@babel/cli":"^7.8.4","@cisdi/babel-preset-component":"^1.0.1","@cisdi/eslint-config-cisdi":"^1.0.1","@cisdi/jest-preset-cisdi":"^1.0.0","@cisdi/prettier-config-cisdi":"^1.0.0","@cisdi/stylelint-config-cisdi":"^1.0.1","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","@types/jest":"^25.1.4","@types/lodash":"^4.14.149","@types/react":"^16.9.25","@types/react-dom":"^16.9.5","@types/react-test-renderer":"^16.9.2","@umijs/plugin-analytics":"^0.2.0","canvas":"^2.6.1","conventional-changelog-cli":"^2.0.31","cross-env":"^7.0.2","dumi":"^1.0.9","husky":"^4.2.3","jest":"^25.1.0","jest-canvas-mock":"^2.2.0","lint-staged":"^10.0.8","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","typescript":"^3.8.3"},"prettier":"@cisdi/prettier-config-cisdi","peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"dependencies":{"@antv/g2plot":"^1.0.2"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"],"*.{css,less}":["stylelint --fix"],"*.{json,md}":["prettier -c --write"]},"bugs":{"url":"https://github.com/open-data-plan/g2plot-react/issues"},"homepage":"https://github.com/open-data-plan/g2plot-react#readme","_id":"@atana/g2plot@1.0.2","_nodeVersion":"12.13.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-VVZiYwC5TgioOYO4gtzXaKPnM2zRhVEUkoQx2kqBiehtBLB7G0DWV1ScSdmoeFU/pETnU39d2KBxFmnB3zztmA==","shasum":"01f16773c0e9257d139ba4ceec66c2667b8a0e4d","tarball":"https://registry.npmjs.org/@atana/g2plot/-/g2plot-1.0.2.tgz","fileCount":157,"unpackedSize":138402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefVqHCRA9TVsSAnZWagAAr+oP/2cheNizKv82AQpaReUv\n3vtjApbAoEV8QAy+rkhmo07A+Rrqh/vewsEVsPNhdWNjUSVZDZQ7Vif3103C\nqBxUKWPLSRjpXSVz+PrlnPHdf+UFbg70CPh+93DSwMOlyNxRgbyhXYoEidy1\nhL1//xopo0lzTX+hEJB+74U3+O+MYHTBrkFpCW1LUcaraPsot5S6cBjtOQGG\nJDPmD17esJWoWAFMnuYWzP3bcru0MLVsOd/muUUGmEukvbjX/sw59NZqVnNj\nhcR3xSFWSPOwFdV9GNsfjmf8CC/+e+wEqoWZgQBcLkLQzzTUjZy1xu0D2YzD\no/zgzwUHLCd1GhBoRVrMJAYYN3g0Vm4jScZwO8Wjh/EUZyY3RQoQqDS2ogmq\nXGkl87fEf9wUy0J7ay04T58oSof6oAGqhVPcOoIIZ/kAu8l2NtMNjHYr/O/E\noSUIcVvFxThQEuDueGEEgjLtwNQUonRZdm63PtgW/lmw3/LWt7fpR8uifbz3\nX375a1FacRKyZmAL8jQKg22qT4q0sYCHhCemnU3XS6blbF88nXsLte2dNkFR\nBCvHtMLWNhj1ThO7bD6e1FyCpzpVTJ60gAS2fhbF78RXNNSVnmhntXBjtMrx\nQa/eo1asA0xdkszOrmKFMHRwiYlLxlkfwZL6kCtmnb/jI5/DscBTglLlHsQz\nHW4m\r\n=zi7H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUM/7BZy+cF36arNM+COh6Kk3rtgZ/S4r/sLMpBw8FkwIgREDRJidn/gMtnvHuhalQhjHJ1h1gmsNdUL06oZB9ofA="}]},"maintainers":[{"name":"chriscardoz","email":"chris@atana.io"},{"name":"davidshi","email":"david@atana.io"},{"name":"jaym910","email":"jay@atana.io"}],"_npmUser":{"name":"jaym910","email":"jay@atana.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g2plot_1.0.2_1585273478974_0.2332789186379518"},"_hasShrinkwrap":false},"1.0.3":{"name":"@atana/g2plot","version":"1.0.3","description":"G2Plot for React","license":"MIT","author":{"name":"jay miller"},"main":"lib/index.js","module":"es/index.js","types":"typings","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/open-data-plan/g2plot-react.git"},"scripts":{"dev":"dumi dev","lint":"eslint . --ext=.ts,.tsx","lint:fix":"eslint . --ext=.ts,.tsx --fix","test":"jest -u","prebuild":"npm test","build":"npm run build:es & npm run build:commonjs & npm run build:types","build:es":"babel src -d es --extensions .ts,.tsx","build:commonjs":"cross-env BABEL_ENV=commonjs babel src -d lib --extensions .ts,.tsx","build:types":"tsc","build:docs":"dumi build","preversion":"npm run build","version":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"},"devDependencies":{"@babel/cli":"^7.8.4","@cisdi/babel-preset-component":"^1.0.1","@cisdi/eslint-config-cisdi":"^1.0.1","@cisdi/jest-preset-cisdi":"^1.0.0","@cisdi/prettier-config-cisdi":"^1.0.0","@cisdi/stylelint-config-cisdi":"^1.0.1","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","@types/jest":"^25.1.4","@types/lodash":"^4.14.149","@types/react":"^16.9.25","@types/react-dom":"^16.9.5","@types/react-test-renderer":"^16.9.2","@umijs/plugin-analytics":"^0.2.0","canvas":"^2.6.1","conventional-changelog-cli":"^2.0.31","cross-env":"^7.0.2","dumi":"^1.0.9","husky":"^4.2.3","jest":"^25.1.0","jest-canvas-mock":"^2.2.0","lint-staged":"^10.0.8","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","typescript":"^3.8.3"},"prettier":"@cisdi/prettier-config-cisdi","peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"dependencies":{"@antv/g2plot":"^1.0.2"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"],"*.{css,less}":["stylelint --fix"],"*.{json,md}":["prettier -c --write"]},"bugs":{"url":"https://github.com/open-data-plan/g2plot-react/issues"},"homepage":"https://github.com/open-data-plan/g2plot-react#readme","_id":"@atana/g2plot@1.0.3","_nodeVersion":"12.13.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-+9eSY1eSQAtBWT+YUQd+SCLL2SRrFtwnt5nMQNn2PbXJMNy9zyZw7ivsvsgfpH5vs16K+WdTwccYs7Fsz6g3PQ==","shasum":"6e655e493ed7a9abecd857bddf9c910b46875f6f","tarball":"https://registry.npmjs.org/@atana/g2plot/-/g2plot-1.0.3.tgz","fileCount":157,"unpackedSize":138494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefVutCRA9TVsSAnZWagAAQKAP/26q/peEPCs+eH5iizgp\n4T/1kwpkq/4u8oAxwWfeKey05GsMJ4PGOpmCbx5W2PM/IvnRt6Mf4jHEef8y\nfyM6cCOVqSzbeJEymhEfExhytISMiB+v8UUJVk87pFw/nSOREruGaAo9/UMN\nGgdT1MO0VZFy6CoH43sBER3Ir074/j0Fwam1mBeIVyq1jY+tW8xDh0/RDPLu\nKYP8QDueNaei3sgvRlzftPrjmEcYUzF85LkmyeNT4s6kBj2JmEFq6PVAMXqx\nvwJlnSu1SKxycG/SXDhRDBVvcZpRdRIIlXzYotJsZlPWmfyPbTtYsXIqGib/\nQPUR/uXK7Ies+qGTmOg4BhmPxqE/l9xslYvyYQGJ0gco8vzkJysNEMeTX4kv\nx6cVJ4gdqgq/7U1tGAkPFDzk3RqUdpZcdr9eANdmtchbNcrYxupqzWX4kg4x\nt+4+tBwuj4rdur0d8++p8LHReey8JFnlzcQWjwcxkQxXc/dLBr8BCsKbuuqf\ngCzaWmgFdkg9qHEKdFruUeNQMSvwpLLXaq2Q6N/YtrYS0VADhaZiL16zBKVV\n0Y0Z9IokRgoTjknD8dmFF2UAmDkwBl0WBW4n4J6SJUctGKKQAMA7RdZyHc1R\nNrOYDBj1IiKyB944/drxWK82bvKrDqjzd4TlyYcI5ID493H9veLGXlOSSz7e\nj/qk\r\n=zI97\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCcYWVgNBaVn0R1j7dhydLkQLSDCGpQud8XtE3l6zxlgIhAOa2z4L/yWuLWZOv34mimHPI3863xOf8FKYVey2iNIn1"}]},"maintainers":[{"name":"chriscardoz","email":"chris@atana.io"},{"name":"davidshi","email":"david@atana.io"},{"name":"jaym910","email":"jay@atana.io"}],"_npmUser":{"name":"jaym910","email":"jay@atana.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g2plot_1.0.3_1585273772687_0.24509652859258768"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-27T01:29:03.487Z","1.0.0":"2020-03-27T01:29:03.846Z","modified":"2022-04-04T16:02:35.752Z","1.0.1":"2020-03-27T01:37:29.861Z","1.0.2":"2020-03-27T01:44:39.133Z","1.0.3":"2020-03-27T01:49:32.850Z"},"maintainers":[{"name":"chriscardoz","email":"chris@atana.io"},{"name":"davidshi","email":"david@atana.io"},{"name":"jaym910","email":"jay@atana.io"}],"description":"G2Plot for React","homepage":"https://github.com/open-data-plan/g2plot-react#readme","repository":{"type":"git","url":"git+https://github.com/open-data-plan/g2plot-react.git"},"author":{"name":"jay miller"},"bugs":{"url":"https://github.com/open-data-plan/g2plot-react/issues"},"license":"MIT","readme":"# @opd/g2plot-react\n\n> [G2Plot](https://g2plot.antv.vision/) for React\n\n[![build](https://github.com/open-data-plan/g2plot-react/workflows/build/badge.svg)](https://github.com/open-data-plan/g2plot-react/actions?query=workflow%3Abuild)\n[![npm](https://img.shields.io/npm/v/@opd/g2plot-react.svg)](https://www.npmjs.com/package/@opd/g2plot-react)\n[![npm](https://img.shields.io/npm/dm/@opd/g2plot-react.svg)](https://www.npmjs.com/package/@opd/g2plot-react)\n[![npm](https://img.shields.io/npm/l/@opd/g2plot-react.svg)](https://www.npmjs.com/package/@opd/g2plot-react)\n[![codecov](https://codecov.io/gh/open-data-plan/g2plot-react/branch/master/graph/badge.svg)](https://codecov.io/gh/open-data-plan/g2plot-react)\n\n## Install\n\n```\nnpm install @opd/g2plot-react\n```\n\n## Usage\n\n```tsx\nimport React, { useCallback } from 'react'\nimport { LineChart } from '@opd/g2plot-react'\nimport { LineConfig } from '@antv/g2plot'\n\nconst config: LineConfig = {\n  height: 400,\n  title: {\n    visible: true,\n    text: '配置折线数据点样式',\n  },\n  description: {\n    visible: true,\n    text: '自定义配置趋势线上数据点的样式',\n  },\n  padding: 'auto',\n  forceFit: true,\n  xField: 'year',\n  yField: 'value',\n  label: {\n    visible: true,\n    type: 'point',\n  },\n  point: {\n    visible: true,\n    size: 5,\n  },\n  xAxis: {\n    tickCount: 10,\n  },\n  data: [\n    { year: '1991', value: 3 },\n    { year: '1992', value: 4 },\n    { year: '1993', value: 3.5 },\n    { year: '1994', value: 5 },\n    { year: '1995', value: 4.9 },\n    { year: '1996', value: 6 },\n    { year: '1997', value: 7 },\n    { year: '1998', value: 9 },\n    { year: '1999', value: 11 },\n  ],\n}\n\nexport default () => {\n  const handleChartMount = useCallback(chart => {\n    console.log(chart)\n  }, [])\n  return <LineChart {...config} onMount={handleChartMount} />\n}\n```\n\n[![Edit g2plot-react-example](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/g2plot-react-example-xx3gp?fontsize=14&hidenavigation=1&theme=dark)\n\n## API\n\nAll config defined in `G2Plot` [document](https://g2plot.antv.vision/zh/docs/manual/introduction) can be used as `props`\n\nExtra Props:\n\n- `onMount`: `(chart: Plot) => void`. triggered after chart render\n\n## Support Chart\n\n- [x] [`LineChart`](https://g2plot.antv.vision/zh/docs/manual/plots/line)\n- [x] [`StepLineChart`](https://g2plot.antv.vision/zh/examples/step-line/multiple)\n- [x] [`ScatterChart`](https://g2plot.antv.vision/zh/docs/manual/plots/scatter)\n- [x] [`ColumnChart`](https://g2plot.antv.vision/zh/docs/manual/plots/column)\n- [x] [`HistogramChart`](https://g2plot.antv.vision/zh/examples/column/histogram)\n- [x] [`StackedColumnChart`](https://g2plot.antv.vision/zh/docs/manual/plots/stacked-column)\n- [x] [`RangeColumnChart`](https://g2plot.antv.vision/zh/docs/manual/plots/range-column)\n- [x] [`PercentStackedColumnChart`](https://g2plot.antv.vision/zh/examples/column/percent-stacked)\n- [x] [`GroupedColumnChart`](https://g2plot.antv.vision/zh/docs/manual/plots/grouped-column)\n- [x] [`WaterfallChart`](https://g2plot.antv.vision/zh/examples/column/waterfall)\n- [x] [`BarChart`](https://g2plot.antv.vision/zh/docs/manual/plots/bar)\n- [x] [`StackedBarChart`](https://g2plot.antv.vision/zh/docs/manual/plots/stacked-bar)\n- [x] [`RangeBarChart`](https://g2plot.antv.vision/zh/docs/manual/plots/range-bar)\n- [x] [`PercentStackedBarChart`](https://g2plot.antv.vision/zh/examples/bar/percent-stacked)\n- [x] [`GroupedBarChart`](https://g2plot.antv.vision/zh/docs/manual/plots/grouped-bar)\n- [x] [`AreaChart`](https://g2plot.antv.vision/zh/docs/manual/plots/area)\n- [x] [`DensityChart`](https://github.com/antvis/G2Plot/blob/master/src/plots/density/index.ts)\n- [x] [`StackedAreaChart`](https://g2plot.antv.vision/zh/docs/manual/plots/stacked-area)\n- [x] [`PercentStackedAreaChart`](https://g2plot.antv.vision/zh/examples/area/percent-stacked)\n- [x] [`BubbleChart`](https://g2plot.antv.vision/zh/docs/manual/plots/bubble)\n- [x] [`PieChart`](https://g2plot.antv.vision/zh/docs/manual/plots/pie)\n- [x] [`RingChart`](https://g2plot.antv.vision/zh/docs/manual/plots/ring)\n- [x] [`RadarChart`](https://g2plot.antv.vision/zh/docs/manual/plots/radar)\n- [x] [`GaugeChart`](https://g2plot.antv.vision/zh/docs/manual/plots/gauge)\n- [x] [`HeatmapChart`](https://g2plot.antv.vision/zh/docs/manual/plots/heatmap)\n- [x] [`ProgressChart`](https://g2plot.antv.vision/zh/docs/manual/plots/sparkline-progress)\n- [x] [`RingProgressChart`](https://g2plot.antv.vision/zh/docs/manual/plots/sparkline-ring-progress)\n- [x] [`TinyLineChart`](https://g2plot.antv.vision/zh/docs/manual/plots/sparkline-line)\n- [x] [`TinyAreaChart`](https://g2plot.antv.vision/zh/docs/manual/plots/sparkline-area)\n- [x] [`TinyColumnChart`](https://g2plot.antv.vision/zh/docs/manual/plots/sparkline-column)\n- [x] [`FunnelChart`](https://g2plot.antv.vision/zh/examples/funnel/basic)\n- [x] [`LiquidChart`](https://g2plot.antv.vision/zh/examples/liquid/basic)\n- [x] [`OverlappedComboChart`](https://g2plot.antv.vision/zh/examples/combo/basic)\n- [x] [`RoseChart`](https://g2plot.antv.vision/zh/examples/rose/basic)\n- [x] [`WordCloudChart`](https://g2plot.antv.vision/zh/examples/word-cloud/basic)\n- [x] [`BulletChart`](https://g2plot.antv.vision/zh/examples/bullet/basic)\n- [x] [`TreemapChart`](https://g2plot.antv.vision/zh/examples/treemap/rect)\n- [x] [`CalendarChart`](https://g2plot.antv.vision/zh/examples/calendar/basic)\n- [x] [`DonutChart`](https://g2plot.antv.vision/zh/examples/pie/donut)\n- [x] [`StackedRoseChart`](https://g2plot.antv.vision/zh/examples/rose/rose#stacked-rose)\n- [x] [`GroupedRoseChart`](https://g2plot.antv.vision/zh/examples/rose/rose#grouped-rose)\n\n## Develop\n\n```\nnpm install\nnpm run build\n```\n","readmeFilename":"README.md"}