Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

123
Views
Rounding edges on chart from Victory.js

Not sure if anyone on here is familiar with the Victory.js framework, but I am trying to create a stacked histogram with rounded edges. I have everything but the rounded edges and I can't seem to figure them out. Here is my code:

import React from "react";
import { render } from "react-dom";
import { VictoryStack, VictoryBar } from "victory";

const Chart = () => {
  return (
    <VictoryStack
      horizontal
      style={{
        data: { stroke: "white", strokeWidth: 3, width: 30 }
      }}
      colorScale={["#9e62c0", "#bc95d4", "#44c973", "#f9c63d", "#f5a000"]}
    >
      <VictoryBar data={[{ x: "c", y: 0.5 }]} />
      <VictoryBar data={[{ x: "c", y: 1 }]} />
      <VictoryBar data={[{ x: "c", y: 5.2 }]} />
      <VictoryBar data={[{ x: "c", y: 2.3 }]} />
      <VictoryBar data={[{ x: "c", y: 1 }]} />
    </VictoryStack>
  );
};

render(<Chart />, document.getElementById("root"));
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!