score:3
Accepted answer
you could make this, turning lines into compound path (right click + make compound path). that change this:
<line fill="none" stroke="#000000" stroke-miterlimit="10"
x1="216.935" y1="158.508" x2="661.196" y2="166.705"/>
to this:
<path fill="none" stroke="#000000" stroke-miterlimit="10"
d="m661.196,166.705l-444.262-8.197"/>
hope this help.
Source: stackoverflow.com
Related Query
- is there a way to convert svg <line> to svg <path> in illustrator?
- Is there any way to convert Matplotlib figure objects to SVG or D3 graph?
- Is there a way to convert CSV columns into hierarchical relationships?
- Convert SVG Path d attribute to a array of points
- How can I set the each line color or width in SVG path
- d3 draggable svg path line segment
- Move an SVG object along a line or a path
- In d3.js , Is there any way to get the path length at particular point?
- Is there a way to get a subset/section of a path in d3.js?
- Is there a way to check if specific point (X,Y) is in the SVG element?
- Have gaps in a SVG path when there is no data
- Is there a way to add a canvas element as an image to svg
- Is there a way to keep aspect ratio fixed for text but not other svg elements?
- Prevent line path from overflowing graph in svg using D3
- To show all content, svg needs 9000px - Is there a method to force a line break?
- How to hide a certain path line in svg using just css?
- is there a way to add drag and drop in svg d3.js?
- Is there any way to download the html table just beside an svg along with the svg?
- Animate an external svg object along a simple line path in D3.js
- Is there a way I can fill different color inside SVG image using HTML (currently using d3.js)
- d3 Animated Line Chart with Path and SVG
- How to convert SVG to canvas to PNG when there are multiple SVGs in a page
- Is there a built-in way to have unfilled stroked SVG objects clickable?
- Diagonal Cut on a text on the path of a svg line
- draw circle in the end of SVG path in realtime line chart D3.js
- Line Plus Bar Chart - Is there any way to pass date as string without formatting?
- Is there a way to convert a d3 rollup created with two keys to a flat array-of-objects structure?
- Is there a way alter the color lines on D3.js line chart?
- d3js - How to update an existing svg path in a simple d3 line chart with new data flowing through?
- Is there any way to customize the color of text on an axis on an svg element?
More Query from same tag
- d3 tickvalues in an if statement
- Synchronous Angular 8 HTTP request from a service
- Fill SVG element with a repeating linear gradient color
- How do I get the x,y coordinates of the center of the circle the user mouses over?
- D3.js Multi-Series Chart with Y value tracking
- How to format the Y axis values on Rickshaw Graphs
- d3.js sankey diagram - change particle density and shape
- How are enter() and exit() detecting updated data in D3?
- How to place node title to the left or right of the node in d3 Sankey graph?
- d3: how to focus separate tooltips for stacked area chart?
- How to dynamically update a d3.js force layout graph?
- d3.js update bar chart labels after sorting data
- D3 focus/context chart: synchronization of brushing and panning
- D3 js - is it possible to draw straight lines between tree nodes?
- Is there any way to capture zoomed/brushed d3.js multi-line graph position?
- Disable tooltip for specific series in multiBarHorizontalChart
- Get ISO week day and week of year in d3
- D3.js: how to restrict dragging of x-axis in a grouped bar chart
- d3js drag right button
- d3js: Add quantitative dimension to Hierarchical Edge Bundling
- D3 multi series line graph missing 3rd line
- GeoJson and D3.js multipolygon
- Modal pop doesn't show the matrix
- d3 change function of button with checkbox
- D3 How to get the number of 'rows' from tsv data?
- D3 how to exclude links from Gooey effect
- d3 select from angular
- Custom ticks, values, and format
- D3 Javascript plotting function
- D3 pan+ zoom constraints