i have a guage chart. i want to convert this into pdf using pdfmake. How i achieve this?
this is my chart
html:
ts:
loadGauge() {
let chart_gauge = c3.generate({
bindto: ‘#pkchart’,
data: {
columns: [
['Fixed Deposit (Ultra Safe Option)', 100]
],
type: 'gauge',
onclick: function (d, i) { console.log("onclick", d, i); },
onmouseover: function (d, i) { console.log("onmouseover", d, i); },
onmouseout: function (d, i) { console.log("onmouseout", d, i); }
},
gauge: {
min: 0,
max: 100,
// units: '%',
width: 40
},
color: {
pattern: ['#FF3333'],
threshold: {
// values: [99]
values: [100]
}
},
size: {
height: 150
}
});