[client] add 2 periods in category chart and in/out chart frequency

- add in by category chart two new periods to choose: current year + last year
- add capability to switch In/Out chart from monthly to yearly balance view

Default frequency for In/Out chart can be changed from default parametrs
4 jobs for add-bycat-graphs in 2 minutes (queued for 1 second)
Status Name Job ID Coverage
  Lint
failed lint #1043451

00:02:00

 
  Build
skipped build #1043452
 
  Test
skipped lint_history #1043454
skipped test #1043453
 
Name Stage Failure
failed
lint Lint
[1] ✖ 604 problems (16 errors, 588 warnings)
[1] 5 errors and 0 warnings potentially fixable with the `--fix` option.
[1]
[1] error Command failed with exit code 1.
[1] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[1] yarn run -- eslint --cache --ext .js,.ts ./server ./client ./tests ./bin exited with code 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: Job failed: exit code 1