In the GA4 interface, the Line chart and Bar chart dynamically adjust based on interactions with the table beneath them. The displayed metric on these charts alters according to the metric used to sort the table.
Additionally, if a filter is applied to the table, the charts only display values included in the filtered table. While this feature may not be immediately apparent, it proves to be beneficial once understood.