WebV2: Library Statistics Charts

Description of issue:

In relation to this one:

Thanks, yes, the dropdown exists and now has the fields to switch between, and that works for the numeric fields. However, the charts stay locked to file items:

I expected:

The "Composition" and "By Source" charts to update to what is in the dropdown, too. The charts were actually what the original request was focused on, too.

What actually happened:

They stay locked to "Files" (which it should say "Items" to match the dropdown).

Those graphs are ratios of the library. I find it hard to see how viewing the durations of a type as a proportion to the library is useful.

Here's a couple of examples to demonstrate my point with how different the results are:

As a ratio of the library, they mean totally different things. I have more episode files, but movies have much more duration. I'm almost completely Stream Links, but they take up no space compared to what recordings and personal media are doing.

These type of quick view statistics are meaningful to library management and even watch decisions!