HearthSim / Hearthstone-Deck-Tracker

A deck tracker and deck manager for Hearthstone on Windows
https://hsreplay.net/downloads/
4.61k stars 1.11k forks source link

Suggestion: bar graphs and pie charts for stats #586

Open Elitesparkle opened 9 years ago

Elitesparkle commented 9 years ago

Some bar graphs and/ore pie charts would make it easier to read stats.

I suggest you to add a bar graph near (above, below, on side) each table to represent the data those table contains.

For the row containing the win/loss ratio in percentage, a simple bar graph with a bar for each class would be fine. For the row containing the win-loss numbers, I suggest a bar graph with 2 bars of different color one near the other for each class.

In the Overall tab you could make it so that when you mouseover a row the graph will change accordingly to show the graph related to it.

For example, you could make a switch between a graphs showing the win percentage when the respective check box is checked and a win-loss numbers one when it isn't.

You could add a graph above the table to show the data related to rows (to see how you are doing with a particular class) and another graph on its side to show the data related to colums (to see how you are doing against a particular class).

I've already described the graph related to rows. The column one should be similar but they will be rotated by 90 degrees and will show the value related to the column [1] you are mouseovering.

In the top-right corner you'll have the space to place a pie chart to show the data related to the metagame (how many times you have played against each class). Since this is not implemented yet, see #464.

Since you'll need some space to add those things, if you'd loke to, I suggest you to separate the 2 tables that are in the Deck tab moving the one related to the class to a new tab named Class. Both Deck and Class tab will need 2 tabs named Stats and Games, like we currently have for the Overall tab.

[1] If you decide to put this second graph on the side of the table, the mouseovering function should work only when mouseovering a class icon.

As a note, mouseovering could be changed with clicking. It doesn't really matter.

If you don't understand how I wrote something, just ask. I hope you like this idea. Thanks for reading.

anonymous555 commented 9 years ago

See https://github.com/Epix37/Hearthstone-Deck-Tracker/pull/324