I have a chart that has scatter and bar chart each on one axis. I wanted to use transition to make the graph update smoother. when clicking buttons. When I apply transition, the bars and dots update fine, however, the x values which are categorical do not update but just stay the same. When I print out the list of values for the x axis that I pass into the traces for bar and scatter, the values are in the correct order, however, the chart in the dash app does not show them, they just stay the same. When I take the transitions out, the chart updates correctly, but of course not in a smooth way. Does anyone know why this could be the case?
3 posts - 2 participants