mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
heatmap development rendering speed fix
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user