Socket
Socket
Sign inDemoInstall

c3-exporter

Package Overview
Dependencies
83
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    c3-exporter

Export c3 charts to png


Version published
Maintainers
1
Created

Changelog

Source

0.0.1 (2017-4-21)

Chores
  • src: First commit (35a88b24)

Readme

Source

c3-exporter

npm version npm downloads dependency Status devDependency Status

Export c3 charts to png

Install

npm i -S c3-exporter

Example

Test in RuKit

const c3Exporter = require('c3-exporter')

const options = {
  data: {
    columns: [
      ['data1', 30, 150, 100, 400, 150, 250],
      ['data2', 50, 20, 10, 40, 15, 25]
    ],
    type: 'spline'
  },
  padding: {
    top: 10,
    bottom: 10,
    right: 15,
    left: 15
  },
  size: {
    width: 320,
    height: 320
  }
}

c3Exporter(options).then(chart => {
  console.log(chart) // /tmp/user/chart-1954112493.png
}).catch(console.error)

License

MIT

Keywords

FAQs

Last updated on 22 Apr 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc