Explorar el Código

heatmap development rendering speed fix

codecalm hace 4 años
padre
commit
d2526c2af9
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 1 1
      src/pages/_includes/ui/chart-heatmap.html
  2. 2 0
      src/pages/charts-heatmap.html

+ 1 - 1
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"

+ 2 - 0
src/pages/charts-heatmap.html

@@ -8,6 +8,7 @@ libs: apexcharts
 	<div class="col-xl-6">
 		{% include cards/charts/heatmap.html id="heatmap-basic" title="Basic Heatmap - Single Series" %}
 	</div>
+	{% unless jekyll.environment == 'development' %}
 	<div class="col-xl-6">
 		{% include cards/charts/heatmap.html id="heatmap-multiple" title="Heatmap - Multiple series" colors=12 %}
 	</div>
@@ -17,4 +18,5 @@ libs: apexcharts
 	<div class="col-xl-6">
 		{% include cards/charts/heatmap.html id="heatmap-colors" title="Heatmap - Color range" scale=true %}
 	</div>
+	{% endunless %}
 </div>