mirror of
https://github.com/tabler/tabler.git
synced 2025-12-26 11:16:12 +04:00
apexcharts upgrade
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user