From d2526c2af9efeafd29bb41faccc4aade0e7a2d38 Mon Sep 17 00:00:00 2001 From: codecalm Date: Wed, 16 Dec 2020 15:22:01 +0100 Subject: [PATCH] heatmap development rendering speed fix --- src/pages/_includes/ui/chart-heatmap.html | 2 +- src/pages/charts-heatmap.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/_includes/ui/chart-heatmap.html b/src/pages/_includes/ui/chart-heatmap.html index 54c517019..59da929fb 100644 --- a/src/pages/_includes/ui/chart-heatmap.html +++ b/src/pages/_includes/ui/chart-heatmap.html @@ -54,7 +54,7 @@ series: [ {% for i in site.months-short limit: 12 %} {% assign month-i = forloop.index %} - { name: "{{ i }}", data: [{% for j in (1..15) %}{x: '{{ j }}', y: {{ j | random_number: 0, 100 | plus: month-i | random_number: 0, 100 }}},{% endfor %}] },{% endfor %} + { name: "{{ i }}", data: [{% for j in (1..16) %}{x: '{{ j }}', y: {{ j | random_number: 0, 100 | plus: month-i | random_number: 0, 100 }}},{% endfor %}] },{% endfor %} ], xaxis: { type: "category" diff --git a/src/pages/charts-heatmap.html b/src/pages/charts-heatmap.html index 9ab504cc1..02a4b4254 100644 --- a/src/pages/charts-heatmap.html +++ b/src/pages/charts-heatmap.html @@ -8,6 +8,7 @@ libs: apexcharts
{% include cards/charts/heatmap.html id="heatmap-basic" title="Basic Heatmap - Single Series" %}
+ {% unless jekyll.environment == 'development' %}
{% include cards/charts/heatmap.html id="heatmap-multiple" title="Heatmap - Multiple series" colors=12 %}
@@ -17,4 +18,5 @@ libs: apexcharts
{% include cards/charts/heatmap.html id="heatmap-colors" title="Heatmap - Color range" scale=true %}
+ {% endunless %}