goaccess icon indicating copy to clipboard operation
goaccess copied to clipboard

Specify different `perPage` values for different panels

Open rc5hack opened this issue 1 year ago • 1 comments

Is there a way to re-define perPage setting per panel?

E.g. for visitors panel set perPage=20, for browsers panel set perPage=5, for all others panels (default report-wide) set perPage=10?

This --html-prefs= doesn't work:

{"perPage":10,"showTables":true,"visitors":{"plot":{"perPage":20,"chartType":"area-spline"}}}

This doesn't work too:

{"perPage":10,"showTables":true,"visitors":{"perPage":20,"plot":{"chartType":"area-spline"}}}

rc5hack avatar Mar 13 '24 08:03 rc5hack

Right now, there isn't a setting for per-page per panel. The settings on the left-hand sidebar apply to the entire report. To have per-panel settings, we'd need to implement this as a separate option. Are you familiar with JS? it shouldn't be too difficult to add this feature, e.g., JS lines.

allinurl avatar Mar 14 '24 23:03 allinurl