I need to do this chart:
But I'm stuck on a graph like this:
Is it possible to add the circular radius to the chart with Victory?
This is my current implementation for candles:
<VictoryCandlestick
candleColors={{ positive: "#EF3F23", negative: "#EF3F23" }}
candleRatio={0.4}
style={{ data: { strokeWidth: 0 } }}
data={data}
/>
CodePudding user response:
under the packages/victory-native/src/components/victory-primitives/rect.js
add property in the Rect under return
<Rect
vectorEffect="non-scaling-stroke"
accessible={accessibilityLabel || undefined}
accessibilityLabel={accessibilityLabel}
accessibilityHint={accessibilityLabel && desc ? desc : undefined}
{...rest}
{...nativeStyle}
rx=5
/>
hope it will work.