wakatime / vscode-wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/vs-code
BSD 3-Clause "New" or "Revised" License
1.21k stars 134 forks source link

Pie chart legend hidden when too many languages #294

Closed Yaminyam closed 1 year ago

Yaminyam commented 1 year ago
image

image Previously, the time was displayed next to the graph as shown in the picture below, but is there any reason why it suddenly disappeared?

alanhamlett commented 1 year ago

We hide the legend when too many languages are in the time range, or else it won't fit on the page.

Yaminyam commented 1 year ago

@alanhamlett If there are too many languages, wouldn't it be better to show the time of the top languages?

alanhamlett commented 1 year ago

Yea, that requires forking the charting library we use. I'll see if they'll accept a patch.

Yaminyam commented 1 year ago

@alanhamlett Couldn't find a repository for the webpage, so I left an issue in the current repository. Isn't the wakatime web repo public?

alanhamlett commented 1 year ago

We use billboard.js for our frontend charts, but looks like we have a solution building a custom legend so will get this issue closed today 👍

alanhamlett commented 1 year ago

Just released an update to the main dashboard which always shows pie chart legends.