-
Notifications
You must be signed in to change notification settings - Fork 32
Export to SVG
Dmitry Voytsekhovskiy edited this page May 17, 2016
·
1 revision
The latest IDD has a limited support for exporting of plots to SVG. It allows figure, numeric axis and polyline to be exported to SVG element of the SVG.js library.
The sample code is:
var chart = InteractiveDataDisplay.asPlot($("#chart"));
var svg = chart.exportToSvg();
$("#chart_svg").html(svg.svg()); // shows svg in the browser
$("#output").text(svg.svg()); // shows svg source text in the browser
See the sample page Vector export.
Home
FAQ
UI Guidelines
Export to SVG
Plot
Figure
Chart
ChartViewer
Polyline
Markers
Area
Heatmap
DOM Plot
Labels
Bing Maps
Intro
General bindings
Area plot
Bars plot
Polyline
Heatmap
Markers
Label plot
Box and whisker plot
Petals and BullEye plot
Axis
Palette Editor
Update layout
Axes
Legend
Color Palette
Navigation
Bound Plots
Tooltips and Probes