goaccess
goaccess copied to clipboard
Specify different `perPage` values for different panels
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"}}}
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.