@codecraftkit/chart

1.0.4 • Public • Published

chart

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save @codecraftkit/chart

Usage

import React, { Component } from 'react'

const Chart = dynamic(
  () => import('@codecraftkit/chart').then((mod) => mod.Chart),
  { ssr: false }
)

const data = [{
    "category": "Lithuania",
    "value": 501.9,
    "marketing": 250
}, {
    "category": "Czech Republic",
    "value": 301.9,
    "marketing": 222,
    "sales": 251
}, {
    "category": "Ireland",
    "value": 201.1,
    "marketing": 170
}, {
    "category": "Germany",
    "value": 165.8,
    "marketing": 122
}, {
    "category": "Australia",
    "value": 139.9,
    "marketing": 99
}];

const ExampleComponent = () => {
    const { Chart } = useInitChart();
  return (
        <BoxContainer>
            Some interesting Text
        </BoxContainer>
    ))
}

License

MIT © CodeCraft

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.42latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.42
1.0.30
1.0.20
1.0.11
1.0.22-alpha.72
1.0.22-alpha.60
1.0.22-alpha.50
1.0.22-alpha.40
1.0.22-alpha.30
1.0.22-alpha.20
1.0.22-alpha.10
1.0.22-alpha.00
1.0.20-alpha.00
1.0.19-alpha.00
1.0.17-alpha.00
1.0.16-alpha.00
1.0.15-alpha.00
1.0.12-alpha.00
1.0.11-alpha.00
1.0.10-alpha.00
1.0.9-alpha.00
1.0.8-alpha.00
1.0.7-alpha.00
1.0.6-alpha.00
1.0.5-alpha.00
1.0.4-alpha.00
1.0.3-alpha.00
1.0.2-alpha.00

Package Sidebar

Install

npm i @codecraftkit/chart

Weekly Downloads

5

Version

1.0.4

License

MIT

Unpacked Size

644 kB

Total Files

139

Last publish

Collaborators

  • cc-dev04
  • development.fino