lost-ark-dev / loa-details

LOA Details allows you to track real-time stats of the game Lost Ark and view and parse its logged data.
GNU General Public License v3.0
130 stars 42 forks source link

Dpsgraph #12

Open synopia opened 1 year ago

synopia commented 1 year ago

New tab with a dps graph like seen at lailai. Can be disabled in settings.

Henjuro commented 1 year ago

Should be nice to have a dps graph but I think you need to add your setting to src-electron/util/app-settings.ts too

Henjuro commented 1 year ago

If I may ask this graph is average dps from the start of the raid to each data point not a rolling window one yes?

Henjuro commented 1 year ago

I wonder if maybe it would be better to have a rolling window graph. Graphs are from vykas g3 Like this is 1s interval for datapoints with 10s damage avg (5s before, 5s after) image vs current 5s interval for datapoints with avg dps since start of raid image

also maybe allow for zooming by adding ToolboxComponent, DataZoomComponent and

toolbox: { left: 'center', itemSize: 25, top: 55, feature: { dataZoom: { yAxisIndex: 'none' }, restore: {} } }, dataZoom: [ { type: 'inside', throttle: 50 } ],

synopia commented 1 year ago

I modified it to have a fixed number of intervals (100 for now, should be moved to settings) showing the rolling avg for 4 times the interval length. Also refactored to use the same player names functionality used in normal DMG table.