0
I need to configure my http to generate highchart graphs, after this configuration this server receives a sgv or json to save my chart on as png, how to get the sgv generated by the highchart?
0
I need to configure my http to generate highchart graphs, after this configuration this server receives a sgv or json to save my chart on as png, how to get the sgv generated by the highchart?
1
To catch the SVG, you need the id
or some tag identifier you placed the Chart, for example my code to follow I put my Chart in div
:
<div id="Chart"></div>
// codigo da pagina
<script>
var chart = new Highcharts.Chart({
chart: {
renderTo: "Chart",
type: "area",
},
// Codigo do seu chart
});
var chart = $("#Chart").highcharts().getSVG();
</script>
Browser other questions tagged php highcharts
You are not signed in. Login or sign up in order to post.