diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-08-01 12:17:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 12:17:38 +0300 |
commit | bfe964bfbb52bd21c23e941faa37be0ef00df95b (patch) | |
tree | 6e22f12bdf668c44bdd944ab81f56d34c99af949 /web | |
parent | 7b6d6ea9bdef2ba496cc6c52c224b17411baf784 (diff) |
rrdcontext support for hidden charts (#13466)
* rrdcontext support for hidden charts
* support unhidding charts
Diffstat (limited to 'web')
-rw-r--r-- | web/api/web_api_v1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c index 1045fa12fa..551012e9af 100644 --- a/web/api/web_api_v1.c +++ b/web/api/web_api_v1.c @@ -399,6 +399,8 @@ static RRDCONTEXT_TO_JSON_OPTIONS rrdcontext_to_json_parse_options(char *o) { options |= RRDCONTEXT_OPTION_SHOW_LABELS; else if(!strcmp(tok, "deepscan")) options |= RRDCONTEXT_OPTION_DEEPSCAN; + else if(!strcmp(tok, "hidden")) + options |= RRDCONTEXT_OPTION_SHOW_HIDDEN; } return options; |