Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

175
Vistas
react-native-svg path does not fill whole svg height

My path fills the SVG horizontally perfectly by vertically it has spacing to the top and bottom as you can see.

How can I remove that spacing and have the path fill the entire height of the SVG element?

Here is my code and a screenshot of the SVG Path. I have colored the SVG background to red so you can see the spacing issue.

enter image description here

<Svg 
  id="chart" 
  width={chartWidth} 
  height={CHART_HEIGHT}>
<Path
  d={data}
  fill='transparent'
  stroke={color}
  strokeWidth={2}></Path>
</Svg>
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda