diff options
author | Tibor Frank <tifrank@cisco.com> | 2021-04-26 15:57:02 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2021-05-03 08:20:06 +0000 |
commit | 37ea2ceb606bdfc338cc76330cb9289c12f63852 (patch) | |
tree | d67c7fafaaf165fc5fad3cb694d195a72c399fba /resources/tools/presentation/specifications/trending/layouts.yaml | |
parent | c290ed5fb0f768b76213e6eb34d56f16abfeb54e (diff) |
PAL: Refactor the processing of spec and download
Change-Id: I204fdc3593a3702366727238f2b469d3d4320c2b
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/specifications/trending/layouts.yaml')
-rw-r--r-- | resources/tools/presentation/specifications/trending/layouts.yaml | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/resources/tools/presentation/specifications/trending/layouts.yaml b/resources/tools/presentation/specifications/trending/layouts.yaml new file mode 100644 index 0000000000..ccc4a39939 --- /dev/null +++ b/resources/tools/presentation/specifications/trending/layouts.yaml @@ -0,0 +1,143 @@ +################################################################################ +### L A Y O U T S ### +################################################################################ + +- type: "layouts" + + plot-cpta: + title: "" + titlefont: + size: 16 + autosize: True + showlegend: True + width: 1100 + height: 800 + yaxis: + showticklabels: True + tickformat: ".5s" + title: "Throughput [Mpps]" + hoverformat: ".5s" + gridcolor: "rgb(238, 238, 238)" + linecolor: "rgb(238, 238, 238)" + showline: True + zeroline: False + tickcolor: "rgb(238, 238, 238)" + linewidth: 1 + showgrid: True + xaxis: + title: 'Date [MMDD]' + type: "date" + autorange: True + fixedrange: False + showgrid: True + gridcolor: "rgb(238, 238, 238)" + showline: True + linecolor: "rgb(238, 238, 238)" + zeroline: False + linewidth: 1 + showticklabels: True + tickcolor: "rgb(238, 238, 238)" + tickmode: "auto" + tickformat: "%m%d" + rangeselector: + buttons: + - count: 14 + label: "2w" + step: "day" + stepmode: "backward" + - count: 1 + label: "1m" + step: "month" + stepmode: "backward" + - count: 2 + label: "2m" + step: "month" + stepmode: "backward" + - count: 3 + label: "3m" + step: "month" + stepmode: "backward" + - step: "all" + margin: + r: 20 + b: 5 + t: 5 + l: 70 + legend: + orientation: "h" + xanchor: "auto" + traceorder: "normal" # "grouped" does not work: bug https://github.com/plotly/plotly.js/issues/1913 + bordercolor: "rgb(238, 238, 238)" + paper_bgcolor: "#fff" + plot_bgcolor: "#fff" + hoverlabel: + namelength: -1 + + plot-cpta-cps: + title: "" + titlefont: + size: 16 + autosize: True + showlegend: True + width: 1100 + height: 800 + yaxis: + showticklabels: True + tickformat: ".5s" + title: "Connection Rate [Mcps]" + hoverformat: ".5s" + gridcolor: "rgb(238, 238, 238)" + linecolor: "rgb(238, 238, 238)" + showline: True + zeroline: False + tickcolor: "rgb(238, 238, 238)" + linewidth: 1 + showgrid: True + xaxis: + title: 'Date [MMDD]' + type: "date" + autorange: True + fixedrange: False + showgrid: True + gridcolor: "rgb(238, 238, 238)" + showline: True + linecolor: "rgb(238, 238, 238)" + zeroline: False + linewidth: 1 + showticklabels: True + tickcolor: "rgb(238, 238, 238)" + tickmode: "auto" + tickformat: "%m%d" + rangeselector: + buttons: + - count: 14 + label: "2w" + step: "day" + stepmode: "backward" + - count: 1 + label: "1m" + step: "month" + stepmode: "backward" + - count: 2 + label: "2m" + step: "month" + stepmode: "backward" + - count: 3 + label: "3m" + step: "month" + stepmode: "backward" + - step: "all" + margin: + r: 20 + b: 5 + t: 5 + l: 70 + legend: + orientation: "h" + xanchor: "auto" + traceorder: "normal" # "grouped" does not work: bug https://github.com/plotly/plotly.js/issues/1913 + bordercolor: "rgb(238, 238, 238)" + paper_bgcolor: "#fff" + plot_bgcolor: "#fff" + hoverlabel: + namelength: -1 |