I’ve been struggling with this for a while. I’m working on a chart where I want to use a toggle to switch between different views (e.g., Days, Weeks, Months).
I created three different chart variants called LineDays3, LineWeeks3, and LineMonths3. In each chart variant, I added an action that changes a variable when clicked (as shown in the images below).
LineDays3:
LineWeeks3:
LineMonths3:
The prototype only works on the first click. For example, if the default view is LineDays3, it works when I click on either Weeks or Months. However, after that first action, the prototype stops working. I’m not sure what the issue is. 😢