Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

176
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda