You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I define a VictoryGroup then the tickFormat function is called with what look like indices, instead of the data from that group. If I unwrap only VictoryLine from VictoryGroup (and change nothing else) then tickFormat for the independent axis is called with the my_y data for each data point, as expected. If I pass data, x, and y to bothVictoryLine and VictoryScatter then it also works.
What I would prefer is if I only needed to pass the data to VictoryGroup and tickFormat was called with the correct tick data. Is this possible and I'm doing something incorrectly?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I define a
VictoryGroupthen thetickFormatfunction is called with what look like indices, instead of the data from that group. If I unwrap onlyVictoryLinefromVictoryGroup(and change nothing else) thentickFormatfor the independent axis is called with themy_ydata for each data point, as expected. If I passdata,x, andyto bothVictoryLineandVictoryScatterthen it also works.What I would prefer is if I only needed to pass the data to
VictoryGroupandtickFormatwas called with the correct tick data. Is this possible and I'm doing something incorrectly?And the incorrect output looks like this:
When I remove
VictoryGroup(andVictorScatter), and passdata,xandydirectly toVictoryLine, the output looks like this instead:Beta Was this translation helpful? Give feedback.
All reactions