Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to get svg of highcharts using div id?
    primarykey
    data
    text
    <pre><code>&lt;script&gt; $(function () { var chart = new Highcharts.Chart({ chart: { renderTo: 'container', type: 'funnel', marginRight: 100 }, title: { text: 'Sales funnel' }, plotArea: { shadow: null, borderWidth: null, backgroundColor: null }, plotOptions: { series: { dataLabels: { enabled: true, format: '&lt;b&gt;{point.name}&lt;/b&gt; ({point.y:,.0f})', color: 'black', softConnector: true }, neckWidth: '30%', neckHeight: '25%' //-- Other available options // height: pixels or percent // width: pixels or percent } }, legend: { enabled: false }, series: [{ name: 'Unique users', data: [ ['Website visits', 15654], ['Downloads', 4064], ['Requested price list', 1987], ['Invoice sent', 976], ['Finalized', 846] ] }] }); // Add the jQuery UI resizin var container = $('#container')[0]; $('#resizer').resizable({ // On resize, set the chart size to that of the // resizer minus padding. If your chart has a lot of data or other // content, the redrawing might be slow. In that case, we recommend // that you use the 'stop' event instead of 'resize'. resize: function() { chart.setSize( this.offsetWidth - 20, this.offsetHeight - 20, false ); } }); });​ &lt;/script&gt; </code></pre> <p>I did a sample funnel chart using highcharts so i dont wanna use highcharts export feature. I need to get the svg of the below chart using the div id.<br> Below code is for the div part of the chart it will render the chart in this div. </p> <pre><code> &lt;div id="container" style="height: 400px;"&gt; &lt;/div&gt; using div id "container" i need to get svg of the chart. </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload