Chart move configs to values
PR bringing more customization of client. Almost all keys of settings object are now editable from values, instead of having defaults or hardcoded values in the JS settings itself.
New features:
- configurable layers (as whole object), overlays, baselayers, app header html, app height and individual settings of layers from Values.global.layers.
- configurable option of setting timespan to "current day and last x days" - also into the future via integer x
Values.config.customClientDaysPast1
and then referencing variablecustomClientDatePast1
, which is computed as (today - x) in thetimeDomain
for example.
example values:
customClientDaysPast1: 30
customClientDaysFuture1: 3
timeDomain:
- customClientDatePast1
- customClientDateFuture1