{"_id":"react-chart-canvas","_rev":"10-d3b5b278362245dbf12430c155e9ba28","name":"react-chart-canvas","description":"react component about radial bar chart","dist-tags":{"latest":"0.1.7"},"versions":{"0.1.1":{"name":"react-chart-canvas","version":"0.1.1","description":"react component about radial bar chart","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"NODE_ENV=production babel -d lib/ src/components/ --copy-files"},"dependencies":{"react":"^15.5.4","react-chart-tooltip":"^0.1.1","react-chart-adapt":"^0.1.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0"},"repository":{"type":"git","url":"git+https://github.com/justQing00/react-chart-canvas.git"},"keywords":["react","component","chart","canvas"],"author":{"name":"tan"},"license":"ISC","bugs":{"url":"https://github.com/justQing00/react-chart-canvas/issues"},"homepage":"https://github.com/justQing00/react-chart-canvas#readme","gitHead":"b222babf10cbe6a92c5fde65e0c45914f938f069","_id":"react-chart-canvas@0.1.1","_shasum":"43906cfe2eab15cd483eb6f3803bb6ff2cb57619","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"justqing","email":"1115812681@qq.com"},"dist":{"shasum":"43906cfe2eab15cd483eb6f3803bb6ff2cb57619","tarball":"https://registry.npmjs.org/react-chart-canvas/-/react-chart-canvas-0.1.1.tgz","integrity":"sha512-rMH5QOOeEAcXaLmR6IqFvZPb7noln+It0rb8+zZa9IIggnBYw75tk+2deqiJn2D7xzNFEJENDAvDxZSTIpveXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAm+TctJN909a3sRzLwQEX68agSYOdxmS59ZxCr6IHoAiAJxS9iW+Yks5t+Y2CXvU3dKY9CK7zzGiQ/EvItlppKGw=="}]},"maintainers":[{"name":"justqing","email":"1115812681@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-chart-canvas-0.1.1.tgz_1496588155913_0.9438483556732535"}},"0.1.2":{"name":"react-chart-canvas","version":"0.1.2","description":"react component about radial bar chart","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"NODE_ENV=production babel -d lib/ src/components/ --copy-files"},"dependencies":{"react":"^15.5.4","react-chart-tooltip":"^0.1.1","react-chart-adapt":"^0.1.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0"},"repository":{"type":"git","url":"git+https://github.com/justQing00/react-chart-canvas.git"},"keywords":["react","component","chart","canvas"],"author":{"name":"tan"},"license":"ISC","bugs":{"url":"https://github.com/justQing00/react-chart-canvas/issues"},"homepage":"https://github.com/justQing00/react-chart-canvas#readme","gitHead":"27d4e37ba41490ab846ac85d736afe24407c74e8","_id":"react-chart-canvas@0.1.2","_shasum":"c658384f29ae47756fc91908df1c38d9e7b156e8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"justqing","email":"1115812681@qq.com"},"dist":{"shasum":"c658384f29ae47756fc91908df1c38d9e7b156e8","tarball":"https://registry.npmjs.org/react-chart-canvas/-/react-chart-canvas-0.1.2.tgz","integrity":"sha512-jVdz8J1PbnNcUxWdZZmD6hRcmQkgcFIQNfTPQlrh27JCwyj6u589bgTfN/lsl/W4UuSI+MWoRJ6wOUjqt1ocUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGevg01lKhrxihSNDJHw7WH2k8X1d1+qgnK3wjIQEnTRAiA4F6W7AN3iLYZzeIU2sqhsiG65Ai6nz/WhoTpUfiHJug=="}]},"maintainers":[{"name":"justqing","email":"1115812681@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-chart-canvas-0.1.2.tgz_1496588708951_0.483191603096202"}},"0.1.3":{"name":"react-chart-canvas","version":"0.1.3","description":"react component about radial bar chart","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"NODE_ENV=production babel -d lib/ src/components/ --copy-files"},"dependencies":{"react":"^15.5.4","react-chart-tooltip":"^0.1.1","react-chart-adapt":"^0.1.2"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0"},"repository":{"type":"git","url":"git+https://github.com/justQing00/react-chart-canvas.git"},"keywords":["react","component","chart","canvas"],"author":{"name":"tan"},"license":"ISC","bugs":{"url":"https://github.com/justQing00/react-chart-canvas/issues"},"homepage":"https://github.com/justQing00/react-chart-canvas#readme","gitHead":"97d50c29aff771cb03b17beadaf4a00cbac49f2e","_id":"react-chart-canvas@0.1.3","_shasum":"006e590df2fb28c421345464eacf4783fc275385","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"justqing","email":"1115812681@qq.com"},"dist":{"shasum":"006e590df2fb28c421345464eacf4783fc275385","tarball":"https://registry.npmjs.org/react-chart-canvas/-/react-chart-canvas-0.1.3.tgz","integrity":"sha512-Q2zzvm/OAbYWB4NlM8Xpr0QkLOYprSzPODa4H3wDXZOiZ2ryzlzLdY6LzDgIGX+TQfiHhIaTSkncfLNzJrmrRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4nDExz4Fo5WoJ0EaBBQRCiqrtV2oDZLq7yT8YgnVCQwIhALA6uH2Tgo4rRfSEJavQrmfAhV959glw7E+/62CzP+S9"}]},"maintainers":[{"name":"justqing","email":"1115812681@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-chart-canvas-0.1.3.tgz_1496641012432_0.9329317200463265"}},"0.1.4":{"name":"react-chart-canvas","version":"0.1.4","description":"react component about radial bar chart","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"NODE_ENV=production babel -d lib/ src/components/ --copy-files"},"dependencies":{"react":"^15.5.4","react-chart-tooltip":"^0.1.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0"},"repository":{"type":"git","url":"git+https://github.com/justQing00/react-chart-canvas.git"},"keywords":["react","component","chart","canvas"],"author":{"name":"tan"},"license":"ISC","bugs":{"url":"https://github.com/justQing00/react-chart-canvas/issues"},"homepage":"https://github.com/justQing00/react-chart-canvas#readme","gitHead":"77d83d37ac95fcf134aabbe0b29ed5cf581800dd","_id":"react-chart-canvas@0.1.4","_npmVersion":"5.0.3","_nodeVersion":"7.3.0","_npmUser":{"name":"justqing","email":"1115812681@qq.com"},"dist":{"integrity":"sha512-/9U0K06WAmVaooZSOyOvicwU0ssPo67Tk3x57RNTBY1r6ikTg4gb8JIQ2KsNWp4UN7k5gC3wXyqBxCctMu92DA==","shasum":"cf790da94c21246afc673987706631c26f69e00c","tarball":"https://registry.npmjs.org/react-chart-canvas/-/react-chart-canvas-0.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZbHW/mDxoU+n2arETuRW1fdoKT6PIEUuV2fm2Y0PHvAiBRgkNnwapXzz2bLkB3mUJ5y+or46oXfbYdHPZmdptajA=="}]},"maintainers":[{"name":"justqing","email":"1115812681@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-chart-canvas-0.1.4.tgz_1500358792105_0.45018493034876883"}},"0.1.5":{"name":"react-chart-canvas","version":"0.1.5","description":"react component about radial bar chart","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"NODE_ENV=production babel -d lib/ src/ --copy-files"},"dependencies":{"react":"^15.5.4","react-chart-tooltip":"^0.1.2"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0"},"repository":{"type":"git","url":"git+https://github.com/justQing00/react-chart-canvas.git"},"keywords":["react","component","chart","canvas"],"author":{"name":"tan"},"license":"ISC","bugs":{"url":"https://github.com/justQing00/react-chart-canvas/issues"},"homepage":"https://github.com/justQing00/react-chart-canvas#readme","gitHead":"04ad470ab1288af41bcaf28a9625fe900d07ef94","_id":"react-chart-canvas@0.1.5","_npmVersion":"5.0.3","_nodeVersion":"7.3.0","_npmUser":{"name":"justqing","email":"1115812681@qq.com"},"dist":{"integrity":"sha512-m6uVAOsyhZEKJh/dV4px0jYVbhYtzqxIceXGt1XIurw3yKIONyVQtSrt3qoXA4E6ZixRLSvUTrn6YZ7+mdZG4g==","shasum":"b6199707245d736fa02121b7cb3e5c3bc9a8c481","tarball":"https://registry.npmjs.org/react-chart-canvas/-/react-chart-canvas-0.1.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4PoIYdlmQiPj3RD+JCmllFliw7f47Zzn8A1+bddeW+AiEAkrp0d4n8Me1mAcHAuzFv2qxEehgAC/3aDX7aFliKc94="}]},"maintainers":[{"name":"justqing","email":"1115812681@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-chart-canvas-0.1.5.tgz_1501040256738_0.36632776423357427"}},"0.1.6":{"name":"react-chart-canvas","version":"0.1.6","description":"react component about radial bar chart","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"NODE_ENV=production babel -d lib/ src/ --copy-files"},"dependencies":{"react":"^15.5.4","react-chart-tooltip":"^0.1.2"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0"},"repository":{"type":"git","url":"git+https://github.com/justQing00/react-chart-canvas.git"},"keywords":["react","component","chart","canvas"],"author":{"name":"tan"},"license":"ISC","bugs":{"url":"https://github.com/justQing00/react-chart-canvas/issues"},"homepage":"https://github.com/justQing00/react-chart-canvas#readme","gitHead":"ea40d3631802270aed2f72b4ba6e5f575b02582a","_id":"react-chart-canvas@0.1.6","_npmVersion":"5.0.3","_nodeVersion":"7.3.0","_npmUser":{"name":"justqing","email":"1115812681@qq.com"},"dist":{"integrity":"sha512-xW9JpEpyvZdFtMexWOMlgCL221sGQ8Ysw+WMN916cLBl/O2xnFcT5GgxBGS0f9NIfPKuFo1NEPhRLvkzRtz7yg==","shasum":"223efedec4ec1b6ef1573f8cab043deaf95f3d7c","tarball":"https://registry.npmjs.org/react-chart-canvas/-/react-chart-canvas-0.1.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICP0R34jhOAhajYmIttKNbAHQ20HpQ6zgljBP6j1mp1pAiEA/JcSLTr8LTGZJ4ZRe+iorJELf11pHENyzQy8/ukhxHw="}]},"maintainers":[{"name":"justqing","email":"1115812681@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-chart-canvas-0.1.6.tgz_1502960048588_0.9608268016017973"}},"0.1.7":{"name":"react-chart-canvas","version":"0.1.7","description":"react component about radial bar chart","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"NODE_ENV=production babel -d lib/ src/ --copy-files"},"dependencies":{"react":"^15.5.4","react-chart-tooltip":"^0.1.2"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0"},"repository":{"type":"git","url":"git+https://github.com/justQing00/react-chart-canvas.git"},"keywords":["react","component","chart","canvas"],"author":{"name":"tan"},"license":"ISC","bugs":{"url":"https://github.com/justQing00/react-chart-canvas/issues"},"homepage":"https://github.com/justQing00/react-chart-canvas#readme","gitHead":"ec9336a5cb8ef71f9e446e9d63df056c928764bd","_id":"react-chart-canvas@0.1.7","_npmVersion":"5.0.3","_nodeVersion":"7.3.0","_npmUser":{"name":"justqing","email":"1115812681@qq.com"},"dist":{"integrity":"sha512-nYjCNVTzGnoqRjo8zd+iYrK3W0hOC+5BAo6b6S6r19KYaI/QBYr+GaHUwen4/SfFgxu7no6npVEYHqHBdT47RQ==","shasum":"4c3df77aedc6c82d4cce676a606913ff77d0c8b8","tarball":"https://registry.npmjs.org/react-chart-canvas/-/react-chart-canvas-0.1.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqBqxGlfGsGf17a6IzyA0AfYEeYNZ+GxNTtgs+Kn44OAiEAm6blEYDKMap7WF5wB0Iv4PbpMECJLW5LBNnRFm2DfeA="}]},"maintainers":[{"name":"justqing","email":"1115812681@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-chart-canvas-0.1.7.tgz_1502960177994_0.29696654388681054"}}},"readme":"# react-chart-canvas\nreact chart canvas base structure\n\n### How to use\n```javascript\nimport ReactChartCanvas from 'react-chart-canvas';\nimport Chart* from '**'\n\n<ReactChartCanvas Chart={Chart** }/>\n\n```\n### RadialBarChart Props\n```javascript\n{\n  onClick: (e, info), // default\n  onHover: (e, info), // default\n  onResize: ({ ratio, clientWidth, clientHeight, ratioWidth, ratioHeight }, e), // default\n  title: '',\n  isGradient: false,\n  labelStyle: '#333',\n  dataStyle: '#fff',\n  tooltip: {  // default\n    show: true,\n    formatter: (info) => {\n      return `占比: ${info.percent*100}%`;\n    }\n  },\n  tooltipStyle: {\n    backgroundColor: 'rgba(0,0,0,0.65)',\n    ...\n  },\n}\n```\n\n### Base Package\n\n[react-chart-tooltip](https://github.com/justQing00/react-chart-tooltip)\n\n[react-chart-adapt](https://github.com/justQing00/react-chart-adapt)\n\n\n### How to Write chart\n\nexample: [react-radial-bar-chart](https://github.com/justQing00/react-radial-bar-chart)\n\n```javascript\n  class Chart* {\n\n    constructor(props) {\n      this.setValue(props);\n    }\n\n    setValue = (props = {}) => {\n      ...\n    }\n\n    update = (props, ctx) => {\n      ...\n    }\n\n    draw = (ctx) => {\n      ...\n    }\n    ...\n  }\n```\n","maintainers":[{"name":"justqing","email":"1115812681@qq.com"}],"time":{"modified":"2022-06-25T17:50:29.079Z","created":"2017-06-04T14:55:56.043Z","0.1.1":"2017-06-04T14:55:56.043Z","0.1.2":"2017-06-04T15:05:09.025Z","0.1.3":"2017-06-05T05:36:52.496Z","0.1.4":"2017-07-18T06:19:52.295Z","0.1.5":"2017-07-26T03:37:36.866Z","0.1.6":"2017-08-17T08:54:08.665Z","0.1.7":"2017-08-17T08:56:18.249Z"},"homepage":"https://github.com/justQing00/react-chart-canvas#readme","keywords":["react","component","chart","canvas"],"repository":{"type":"git","url":"git+https://github.com/justQing00/react-chart-canvas.git"},"author":{"name":"tan"},"bugs":{"url":"https://github.com/justQing00/react-chart-canvas/issues"},"license":"ISC","readmeFilename":"README.md","users":{"justqing":true}}