Questions tagged [victory-stack]

4 questions
1
vote
0 answers

Sort data in the vertical-stack in the victory stack

Is there any way, through which the data can be sorted in the vertical bar, in which the biggest value (y-axis) ends up at the bottom? Here is my code class App extends React.Component { render() { const getBarData = () => { return [1,…
0
votes
1 answer

Warning: Failed prop type: Invalid prop `range` supplied to `VictoryBar`

I'm using Victory Bar with React native, and I'm VERY confused with what's happening. I'm receiving the following error: Warning: Failed prop type: Invalid prop `range` supplied to `VictoryBar`. at VictoryBar in VictoryStackBase (created by…
0
votes
1 answer

Insert a text into the horizontally scrollable VictoryChart

Is there a way to add text in the horizontally scrollable [VictoryChart][1] component? I tried the [VoronoiScatter][2] component, it looks fine on the first picture when you scroll to the right side of chart, but when you scroll a bit left the text…
0
votes
0 answers

Victorychart with VictoryStack of VictoryArea charts is not working

I have data which contains “x”, “xd” that is bound to date string and also “xn” that contains string. Y contains integer value to plot on chart data = [{ x: "01/01/2021", xd: "2020-12-31T18:30:00.000Z", xn: "name1", y:…
bvakiti
  • 3,243
  • 4
  • 17
  • 26