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
{{ message }}
This repository has been archived by the owner on May 24, 2024. It is now read-only.
We are consuming terra-graphs in our application. We see that the label state is getting retained with reflow.
If there is graph which has just one element charted ( which doesn't show ellipsis on the vertical axis label ) on first load and then navigating to a time which has multiple elements with values ( which show ellipsis on the vertical axis label ), the popup on click of the label doesn't work.
Another scenario is - If there is graph which has multiple elements with values ( which show ellipsis on the vertical axis label ) on first load and then navigating to a time which has just one element charted ( which doesn't show ellipsis on the vertical axis label ), the popup on click of the label shows the single label which shouldn't be the case since the label is not truncated.
Both the above behaviours are due to the label state being retained with reflow. Please find below the issue reproducible for both scenarios in the sandbox.
NOTE: Pop up works BY ITSELF when there is data (multiple elements with values) when we load the application on the first time - (without having to navigate to a different time to see the data)
Graphs affected
Bar graph
Bubble graph
Gantt chart
Line graph
Paired result
Pie chart
Scatter plot
Timeline
Steps to Reproduce
Load a graph which has just one element charted ( which doesn't show ellipsis on the vertical axis label ).
Then navigate to a time which has multiple elements with values ( which show ellipsis on the vertical axis label ).
Bug Report
Description
We are consuming terra-graphs in our application. We see that the label state is getting retained with reflow.
If there is graph which has just one element charted ( which doesn't show ellipsis on the vertical axis label ) on first load and then navigating to a time which has multiple elements with values ( which show ellipsis on the vertical axis label ), the popup on click of the label doesn't work.
Another scenario is - If there is graph which has multiple elements with values ( which show ellipsis on the vertical axis label ) on first load and then navigating to a time which has just one element charted ( which doesn't show ellipsis on the vertical axis label ), the popup on click of the label shows the single label which shouldn't be the case since the label is not truncated.
Both the above behaviours are due to the label state being retained with reflow. Please find below the issue reproducible for both scenarios in the sandbox.
NOTE: Pop up works BY ITSELF when there is data (multiple elements with values) when we load the application on the first time - (without having to navigate to a different time to see the data)
Graphs affected
Steps to Reproduce
Link to CodeSandbox
Scenario 1 to reproduce the behaviour
Scenario 2 to reproduce the behaviour
Additional Context / Screenshots
Expected Behavior
Popup while clicking on label should work when label is truncated. Popup should not display when the label is not truncated.
Possible Solution
Environment
@ Mentions
@AshishMotanamGurunadham
The text was updated successfully, but these errors were encountered: