Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including c3-exporter with all npm packages installed. Try it out:

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 } } await c3Exporter(options) // A Buffer with content of image chart

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

c3-exporter v1.0.0

Export c3 charts to png

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free