updated apexcharts.js

This commit is contained in:
pvictor 2020-06-09 17:02:07 +02:00
parent 9e1e61561b
commit ce1ea38e73
3 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,8 @@
/* Spark box styles */
.apexcharter-spark-box {
border-radius: 0.5rem;
margin-bottom: 10px;
box-shadow: 0 1px 28px -12px #3B4252;
}

View File

@ -127,8 +127,6 @@ HTMLWidgets.widget({
axOpts = x.ax_opts;
if (x.sparkbox) {
el.style.padding = "3px 0 0 0";
el.style.boxShadow = "0px 1px 22px -12px #607D8B";
el.style.background = x.sparkbox.background;
el.classList.add("apexcharter-spark-box");
}

View File

@ -3,6 +3,10 @@ dependencies:
version: 3.19.2
src: htmlwidgets/lib/apexcharts-3.19
script: apexcharts.min.js
- name: apexcharter-css
version: 0.1.0
src: htmlwidgets
stylesheet: apexcharter.css
- name: d3-format
version: 1.4.2
src: htmlwidgets/lib/d3-format