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
In 4.1.0, series toggling in area charts with larger numbers of values causes the browser tab to crash and/or become unresponsive. I have isolated this problem with an area chart that includes only what is needed - two series and attempting to toggle one of them - to reproduce this issue in this codepen.io link.
Observe that there are two series labeled "Series1" and "moving_avg_100D" respectively, and that the initial render of the graph is fine.
Now, use the mouse to select the "moving_avg_100D" series from the legend and then try to toggle it with a click. This results in the browser tab crashing.
Expected Behavior
The expected behavior is to toggle (hide) the series labeled "moving_avg_100D". In versions prior to 4.1.0, this toggling behavior works fine, but appears to be broken in 4.1.0.
Actual Behavior
Upon trying to toggle the "moving_avg_100D" series, the browser tab crashes.
Screenshots
For version 4.1.0, the initial render of the area chart including both series works fine:
Now, highlight the "moving_avg_100D" series via the legend below the chart and click it (try to toggle or hide it) and observe that the browser tab crashes and codepen becomes unresponsive:
For versions prior to 4.1.0 (I've tested with every version going back to 3.53.0), the correct functionality works with the "moving_avg_100D" series successfully toggled:
If you want the raw data as a gist, then use the "ap_area_2series.html" file in this gist. Also, as a side note, if the "hidden" attributed is set to "true" (toggled by default) in the "moving_avg_100D" series, then the page does not render at all under 4.1.0 and the browser tab crashes. This is demonstrated by the "ap_area_2series_hidden.html" file in the same gist. This file is identical to the "ap_area_2series.html" file except that the "hidden" attribute is set to "true" for the "moving_avg_100D" series.
Description
In 4.1.0, series toggling in area charts with larger numbers of values causes the browser tab to crash and/or become unresponsive. I have isolated this problem with an area chart that includes only what is needed - two series and attempting to toggle one of them - to reproduce this issue in this codepen.io link.
Steps to Reproduce
Expected Behavior
The expected behavior is to toggle (hide) the series labeled "moving_avg_100D". In versions prior to 4.1.0, this toggling behavior works fine, but appears to be broken in 4.1.0.
Actual Behavior
Upon trying to toggle the "moving_avg_100D" series, the browser tab crashes.
Screenshots
For version 4.1.0, the initial render of the area chart including both series works fine:
![Screenshot 2024-12-07 at 6 28 51 PM](https://private-user-images.githubusercontent.com/380228/393561559-7cd6fe14-8637-46f0-a060-e759f42ab0de.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDQzNTAsIm5iZiI6MTczOTQwNDA1MCwicGF0aCI6Ii8zODAyMjgvMzkzNTYxNTU5LTdjZDZmZTE0LTg2MzctNDZmMC1hMDYwLWU3NTlmNDJhYjBkZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQyMzQ3MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mY2Q1OTJmMGExYTRmMmI1MjdkY2I5Yzk2M2I5MmY4ZTU5NDQzYzFhYzQ1YjJmNjQ4ZDk1ZDgxMjUyY2NmZWIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.hQtBYnLerZJ7il4Xn2TqRhLPiH8D2whU6AExBZ_o4tc)
Now, highlight the "moving_avg_100D" series via the legend below the chart and click it (try to toggle or hide it) and observe that the browser tab crashes and codepen becomes unresponsive:
![Screenshot 2024-12-08 at 9 20 11 AM](https://private-user-images.githubusercontent.com/380228/393612179-b0d97193-2757-423a-a395-ab18f0b1c87a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDQzNTAsIm5iZiI6MTczOTQwNDA1MCwicGF0aCI6Ii8zODAyMjgvMzkzNjEyMTc5LWIwZDk3MTkzLTI3NTctNDIzYS1hMzk1LWFiMThmMGIxYzg3YS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQyMzQ3MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMTgyNTQ1YTQzOWZiOTZjOWMyMWI3MTY5MTVlMTgxMTEyZTI3YTQ5YzdmMTUyZWJiM2I0MWJjZmNhMzU4NzhjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.PGwvBqwz_K6SzIgQUFgxVzp0G_jFjxXXSM-gXvRVTWk)
For versions prior to 4.1.0 (I've tested with every version going back to 3.53.0), the correct functionality works with the "moving_avg_100D" series successfully toggled:
![Screenshot 2024-12-07 at 6 29 07 PM](https://private-user-images.githubusercontent.com/380228/393561629-15780a42-990e-4fab-a878-99ce6e8d5c1d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDQzNTAsIm5iZiI6MTczOTQwNDA1MCwicGF0aCI6Ii8zODAyMjgvMzkzNTYxNjI5LTE1NzgwYTQyLTk5MGUtNGZhYi1hODc4LTk5Y2U2ZThkNWMxZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQyMzQ3MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mY2IwYWQ4YWU5MWNkZWI1MjcyZGZiNWYyN2QwOGM1MzQ3ODRkYWQzNjZhNjJmYTQwNGQ5ZTgyZTJlZWVhM2YxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.y8umiqhOPgWI4rjYS26eqV3G7AtgSkda3F94dDbJEDI)
If you want the raw data as a gist, then use the "ap_area_2series.html" file in this gist. Also, as a side note, if the "hidden" attributed is set to "true" (toggled by default) in the "moving_avg_100D" series, then the page does not render at all under 4.1.0 and the browser tab crashes. This is demonstrated by the "ap_area_2series_hidden.html" file in the same gist. This file is identical to the "ap_area_2series.html" file except that the "hidden" attribute is set to "true" for the "moving_avg_100D" series.
Reproduction Link
https://codepen.io/michael-rash/pen/JoPXaOw
The text was updated successfully, but these errors were encountered: