Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Convert Chart into pdf

$
0
0

@pksquare wrote:

i have a guage chart. i want to convert this into pdf using pdfmake. How i achieve this?
guage
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
  }
});

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>