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
-
If I define a
VictoryGroup
then thetickFormat
function is called with what look like indices, instead of the data from that group. If I unwrap onlyVictoryLine
fromVictoryGroup
(and change nothing else) thentickFormat
for the independent axis is called with themy_y
data for each data point, as expected. If I passdata
,x
, andy
to bothVictoryLine
andVictoryScatter
then it also works.What I would prefer is if I only needed to pass the data to
VictoryGroup
andtickFormat
was 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
,x
andy
directly toVictoryLine
, the output looks like this instead:Beta Was this translation helpful? Give feedback.
All reactions