node-chartist icon indicating copy to clipboard operation
node-chartist copied to clipboard

code is not working for print

Open hirenmistry17 opened this issue 1 year ago • 0 comments

image

code :

const createChart = async (datas) => {

const options = {width: 400, height: 200};
const data = {
  labels: ['a','b','c','d','e'],
  series: [
    [1, 2, 3, 4, 5],
    [3, 4, 5, 6, 7]
  ]
};
const bar = await generate('bar', options, data); 
return bar;

}

this 'createChart' function will return html content, and same content will i'm using for print but not able print,

can you please look into this asap, Thanks

hirenmistry17 avatar Feb 22 '24 14:02 hirenmistry17