Most voted "svg" questions
SVG (Scalable Vector Graphics) is a two-dimensional vector graphics format based on XML.
Learn more…168 questions
Sort by count of
-
0
votes0
answers34
viewsFirefox and Edge add link in filter url() how to resolve?
I’m using filter in the CSS to make an effect, but since it is SVG Filter, I use filter: url('#id'); but in Firefox and Edge browsers they increment a path forward that ends up removing the effect.…
-
0
votes1
answer18
views -
0
votes1
answer45
viewsHTML element readjusts with screen resize
I have the following code. var logo = document.getElementById("svgLogo"); var area1 = document.getElementById("area1"); var area2 = document.getElementById("area2"); var area3 =…
-
0
votes1
answer65
viewsMatplotlib graphics are overwriting themselves
I’m trying to generate a report with several charts generated by matplotlib, however, I realize that after generating the graphics they are overwriting others that have already been created, follows…
-
0
votes2
answers70
viewsHow to change style attributes of a . svg?
I was wondering if there is any way to edit the style attributes, more specific the Fill attribute, of an image imported from the format .svg. Example: In my html i import a file .svg through a…
-
0
votes0
answers49
viewsModify SVG with Styled-Components (React/next)
The problem is specific and found nowhere. Summary: How I could modify the properties of my standard JSX SVG icon directly in Styled-Components as well as other icons? Details: I know with…
-
0
votes0
answers20
viewsAdd star icon to Google Chart Candlestick
I am trying to add a star icon to the Candlestick chart with Google Charts api, but I find it difficult. If anyone can help me: I saw it working on this google page:…
-
0
votes1
answer29
viewsPass Date icon component to parent component
Hello, I have a date with icons imported using the svg-Loader to render the Svgs on the page. But they arrive as { "Functional": true } and do not appear in the final HTML. Here’s an example of what…
-
0
votes0
answers14
viewsGoogle font not rendering in SVG React
I created the logo of my system in SVG by Illustrator, the logo has 2 fonts google fonts, but to be rendered depends on having the source installed in the OS. I did a lot of research to try to solve…
-
-1
votes1
answer272
viewsPass dynamic SVG widgets to file
I create SVG elements (circles) with Javascript code dynamically. The problem is that I want to pass these circles to a file with extension .svg. If you create the elements in html, it would just…
-
-1
votes1
answer591
viewsHow to convert . svg icons to a font?
There is a recommended way to convert and combine various icons in the format .svg in a single source file (ttf, woff, etc.)? I want to define a @font-face and assign my font, so that I can use your…
-
-1
votes1
answer69
viewsProblem with SVG elements coming out of place in mobile version
I created an avatar editor that places SVG elements on the screen. When I put in the resolution of mobile version, there is a strange event happening, which causes a single element to descend,…
-
-1
votes1
answer68
viewsCreating a JS animation with SVG using HTML and CSS
I’m starting studies with SVG and trying to understand an example I can not run it correctly, the HTML/CSS/JS parts were demonstrated and I made the connection of these parts, but it didn’t work...…
-
-1
votes1
answer26
viewsArrange Loadbar in Circle
People. This code is working. But I want help to set the initial position of the progress bar. Currently it starts at 45º. But I want it to start at 0º. Someone knows how to help me with this? var…
-
-2
votes2
answers176
viewsMove png image
I can move an SVG object with the mouse in Javascript, I would now like to move an image of type png or svg. <svg> <image xlink:href=image.png x=0 y=0 height=20 width=20 /> </svg>…
-
-2
votes1
answer24
viewsIs there a way to access a Vector programmable?
I have a vector of a star and wanted to access a path of it from within my Java class to change the color. <vector android:height="24dp" android:viewportHeight="197.24483"…
-
-2
votes1
answer153
viewsSVG path commands in Javascript
I’m trying to create a line chart based on the values entered by a user in the HTML input field, but I’m having trouble converting the SVG element commands to Javascript. How can I convert? I need…
-
-2
votes1
answer179
viewsMenu with svg image icons sometimes does not load in mobile version
What could possibly be affecting my experience in this? I had to change some images to png, but I can’t tell if it was the best way, the experience I have on desktop layout is much better with SVG…