PCSX2 / pcsx2-net-www

PCSX2 website contents
MIT License
13 stars 19 forks source link

Expansion of Charts Functionality #113

Open RedDevilus opened 2 years ago

RedDevilus commented 2 years ago

Default: image

You need to hover over the bars to say which value they are without context, the Y-axis doesn't tell what the values represent either (in most cases the VPS)

Examples:

chart_4906 chart_5029

Stating the relative performance uplift would be interesting too and print it out below the chart:

image

xTVaser commented 2 years ago

If we want to display the values on the chart elements without hovering, that is going to require this plugin https://chartjs-plugin-datalabels.netlify.app/guide/

You can add context by labelling the axes - https://www.chartjs.org/docs/latest/axes/labelling.html

Stating the relative performance uplift would be interesting too and print it out below the chart:

This is going to be kinda difficult because the calculation is going to be different for every dataset. I could add a feature that you could write javascript code to do the math and it could output the values below but, honestly since that requires manual effort - you might as well just write it in the markdown.