score:2
Accepted answer
Thanks, at last I got the answer:
HTML:
<img id="mock" />
JS:
var svg = document.getElementById('chart').children[0].innerHTML;
//svg = chart.getSVG();
var base_image = new Image();
svg = "data:image/svg+xml," + svg;
base_image.src = svg;
$('#mock').attr('src', svg);
We can save image tag directly in DB also. Ref. Save highchart to binary image.
score:0
var canvas = document.createElement("chart");
Replace to:
var canvas = document.getElementById("chart");
Source: stackoverflow.com
Related Query
- How to convert highchart to binary image
- How to add a background image (pattern) to highchart column graph?
- When using canvg to convert Highchart SVG into PNG, all text appears twice - how to solve?
- How can I render a watermark image in my highchart from local directory?
- How to get image of graph from highchart in web page only?
- How can I convert datetime stamp in jQuery of a Highchart to get the correct format in json?
- How to save a highchart to PNG image in R?
- How to save highchart image in to particular location in my local
- Highchart - How do I create the attached image gauge within a semicircle pie chart
- how to convert svg to png image in internet Explorer?
- How to convert php array into javascript array for Highchart JS
- In PHP , How to convert JSON into highchart supported format
- Create Phantomjs export server to convert highchart to image base64 string
- How to draw Highchart points on a JPG image
- How to save export highchart image with out dialog box?
- How to render Gantt Highchart from data source
- Highchart spline Cut Off when reach to maximum scale value. How can it fixed?. I have attached may sample code on body
- Highchart - How do I create the attached image gauge within a semicircle
- How to convert to jpg and download div containing highchart and dynamically generated html table?
- how to hide highchart x - axis data values
- How to display highchart series line marker symbol from tooltip formatter?
- How to change the font family of Highchart to Bootstrap css default font family
- How to save an image of the chart on the server with highcharts?
- How to export a Highchart chart to PDF thanks to a button outside the chart?
- How to create a new Highstock chart with new Highchart and not jquery?
- how to implement moving average in highchart
- How to Load HighChart dynamically within angular UI Accorion(uib-Accordion)?
- How to convert datetime string to UTC to plot points on Highcharts
- How to convert datetime string to UTC to plot points on Highcharts
- How to get an image watermark in HighCharts charts?
More Query from same tag
- Fixed min and max dynamic time ticks in chart
- Refresh (or change) background image dynamically
- "TypeError: c.slice is not a function" when trying to call a function within JQuery
- evaluateJavaScript in PyQt - function is not called
- Get container element inside Highcharts
- How to handle mouse events on axis labels in highcharts
- Display custom values on x axis using Highcharts
- how can I fix 'Error: <rect> attribute x: Expected length, "NaNNaN"
- Tooltip covering bar in highchart
- highcharts converting area range to multiple lines on plot
- Displaying highchart columnrange charting xAxis, yAxis and series
- Setting additional point attributes in HighStock time series with large data sets
- Highchart change the chart type in drilldown
- In Highchart, why drilldown data of pie chart is not of same color?
- Highcharts not displaying data labels for Pie chart in arabic
- Highcharts - prevent accessing of points out of extremes
- When adding point on dynamically created Multiple Highchart Graphs on a single page, the plot line draws to the start point instead of last point?
- Rails HightCharts adding link_to
- Label individual bars in a grouped bar chart in Highcharts
- Highchart how to enlarge the plotBands in a gauge?
- Highstock: Property 'firePointEvent' of object #<Object> is not a function
- Why mistake appears during render?
- Show some specefic number on gauge highcharts axis labels
- How to use HighChart in offline?
- Highcharts zIndex issue with crosshair
- Create a heatmap using Yii2 highcharts widget
- Javascript Error: Highchart Legend Tooltip Error on Doubling Up Charts
- R Highcharter: Changing xAxis Type from datetime to category
- Highcharts: Logarithmic chart with Y Axis [100, 99.9, 99, 90, 0]
- Which chart type should i choose to show change in values between 2 dates?