mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
* fix #1585 radial chart not working properly * Fix ruby version for test * Make stroke color work for both dark and light
This commit is contained in:
committed by
GitHub
parent
13027f2050
commit
f8f55f5f5c
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Set up Ruby
|
- name: Set up Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.6
|
ruby-version: 3.2
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
|
|
||||||
- run: ruby --version
|
- run: ruby --version
|
||||||
|
|||||||
@@ -201,6 +201,7 @@ tasks-overview:
|
|||||||
|
|
||||||
|
|
||||||
campaigns:
|
campaigns:
|
||||||
|
demo: true
|
||||||
type: radialBar
|
type: radialBar
|
||||||
sparkline: true
|
sparkline: true
|
||||||
series:
|
series:
|
||||||
@@ -491,4 +492,3 @@ traffic-out:
|
|||||||
- name: Outbound
|
- name: Outbound
|
||||||
data: [-3, 7, 9, 14, 4, 5, 3, -1, 7, 10, 14, 14, -2, 6]
|
data: [-3, 7, 9, 14, 4, 5, 3, -1, 7, 10, 14, 14, -2, 6]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -68,6 +68,22 @@
|
|||||||
},
|
},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if chart-type == 'radialBar' %}
|
||||||
|
plotOptions: {
|
||||||
|
radialBar: {
|
||||||
|
dataLabels: {
|
||||||
|
total: {
|
||||||
|
show: true,
|
||||||
|
label: 'Totals',
|
||||||
|
formatter: function (val) {
|
||||||
|
return "44%";
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if chart-type == 'bar' or chart-type == 'area' %}
|
{% if chart-type == 'bar' or chart-type == 'area' %}
|
||||||
dataLabels: {
|
dataLabels: {
|
||||||
enabled: {% if data.datalabels %}true{% else %}false{% endif %},
|
enabled: {% if data.datalabels %}true{% else %}false{% endif %},
|
||||||
|
|||||||
4
src/scss/vendor/_apexcharts.scss
vendored
4
src/scss/vendor/_apexcharts.scss
vendored
@@ -39,6 +39,6 @@
|
|||||||
color: inherit !important;
|
color: inherit !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.apexcharts-radialbar-area {
|
.apexcharts-radialbar-track .apexcharts-radialbar-area {
|
||||||
stroke: var(--#{$prefix}border-color-dark) !important;
|
stroke: var(--#{$prefix}border-color) !important;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user