image-charts / image-charts/chartjs-image-javascript

Something is wrong with the node implementation

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Used the code from here: https://www.npmjs.com/package/chart.js-image

image

Interestingly no error on execution. It seems only the editor has an issue here.

import ChartJSImage from 'chart.js-image';
...
await line_chart.toFile('chart.png');

Installed via npm install chart.js-image --save-dev

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names only the npm package example and the import/toFile snippet; start by reproducing it in an editor and then compare the editor diagnostic with runtime behavior. Done means the editor accepts the example without a diagnostic while the chart still writes chart.png.

Written by the indexing model from the issue text.

Assessment

Tech stack
chart.js, javascript, node.js
Domain
backend, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.