1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

apexcharts upgrade

This commit is contained in:
chomik
2019-06-17 00:19:40 +02:00
parent 590c834847
commit 5ec654b55d
10 changed files with 7459 additions and 3973 deletions

View File

@@ -49,6 +49,18 @@ $(document).ready(function(){
{% endif %}
{% endif %}
{% if data.show-grid %}
grid: {
show: true,
},
{% endif %}
{% if data.show-data-labels %}
dataLabels: {
enabled: true,
},
{% endif %}
{% if data.categories or data.days-labels-count %}
xaxis: {
{% if data.categories %}categories: [{% for category in data.categories %}'{{ category }}'{% unless forloop.last %}, {% endunless %}{% endfor %}],{% endif %}
@@ -95,7 +107,13 @@ $(document).ready(function(){
{% if data.hide-points %}
point: {
show: false
}
},
{% endif %}
{% if data.show-markers %}
markers: {
size: 2
},
{% endif %}
})).render();
});