apexcharts.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662
  1. .apexcharts-canvas {
  2. position: relative;
  3. user-select: none;
  4. /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */
  5. }
  6. /* scrollbar is not visible by default for legend, hence forcing the visibility */
  7. .apexcharts-canvas ::-webkit-scrollbar {
  8. -webkit-appearance: none;
  9. width: 6px;
  10. }
  11. .apexcharts-canvas ::-webkit-scrollbar-thumb {
  12. border-radius: 4px;
  13. background-color: rgba(0, 0, 0, .5);
  14. box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  15. -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  16. }
  17. .apexcharts-inner {
  18. position: relative;
  19. }
  20. .apexcharts-text tspan {
  21. font-family: inherit;
  22. }
  23. .legend-mouseover-inactive {
  24. transition: 0.15s ease all;
  25. opacity: 0.20;
  26. }
  27. .apexcharts-series-collapsed {
  28. opacity: 0;
  29. }
  30. .apexcharts-tooltip {
  31. border-radius: 5px;
  32. box-shadow: 2px 2px 6px -4px #999;
  33. cursor: default;
  34. font-size: 14px;
  35. left: 62px;
  36. opacity: 0;
  37. pointer-events: none;
  38. position: absolute;
  39. top: 20px;
  40. display: flex;
  41. flex-direction: column;
  42. overflow: hidden;
  43. white-space: nowrap;
  44. z-index: 12;
  45. transition: 0.15s ease all;
  46. }
  47. .apexcharts-tooltip.apexcharts-active {
  48. opacity: 1;
  49. transition: 0.15s ease all;
  50. }
  51. .apexcharts-tooltip.apexcharts-theme-light {
  52. border: 1px solid #e3e3e3;
  53. background: rgba(255, 255, 255, 0.96);
  54. }
  55. .apexcharts-tooltip.apexcharts-theme-dark {
  56. color: #fff;
  57. background: rgba(30, 30, 30, 0.8);
  58. }
  59. .apexcharts-tooltip * {
  60. font-family: inherit;
  61. }
  62. .apexcharts-tooltip-title {
  63. padding: 6px;
  64. font-size: 15px;
  65. margin-bottom: 4px;
  66. }
  67. .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
  68. background: #ECEFF1;
  69. border-bottom: 1px solid #ddd;
  70. }
  71. .apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
  72. background: rgba(0, 0, 0, 0.7);
  73. border-bottom: 1px solid #333;
  74. }
  75. .apexcharts-tooltip-text-value,
  76. .apexcharts-tooltip-text-z-value {
  77. display: inline-block;
  78. font-weight: 600;
  79. margin-left: 5px;
  80. }
  81. .apexcharts-tooltip-text-z-label:empty,
  82. .apexcharts-tooltip-text-z-value:empty {
  83. display: none;
  84. }
  85. .apexcharts-tooltip-text-value,
  86. .apexcharts-tooltip-text-z-value {
  87. font-weight: 600;
  88. }
  89. .apexcharts-tooltip-marker {
  90. width: 12px;
  91. height: 12px;
  92. position: relative;
  93. top: 0px;
  94. margin-right: 10px;
  95. border-radius: 50%;
  96. }
  97. .apexcharts-tooltip-series-group {
  98. padding: 0 10px;
  99. display: none;
  100. text-align: left;
  101. justify-content: left;
  102. align-items: center;
  103. }
  104. .apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
  105. opacity: 1;
  106. }
  107. .apexcharts-tooltip-series-group.apexcharts-active,
  108. .apexcharts-tooltip-series-group:last-child {
  109. padding-bottom: 4px;
  110. }
  111. .apexcharts-tooltip-series-group-hidden {
  112. opacity: 0;
  113. height: 0;
  114. line-height: 0;
  115. padding: 0 !important;
  116. }
  117. .apexcharts-tooltip-y-group {
  118. padding: 6px 0 5px;
  119. }
  120. .apexcharts-tooltip-candlestick {
  121. padding: 4px 8px;
  122. }
  123. .apexcharts-tooltip-candlestick>div {
  124. margin: 4px 0;
  125. }
  126. .apexcharts-tooltip-candlestick span.value {
  127. font-weight: bold;
  128. }
  129. .apexcharts-tooltip-rangebar {
  130. padding: 5px 8px;
  131. }
  132. .apexcharts-tooltip-rangebar .category {
  133. font-weight: 600;
  134. color: #777;
  135. }
  136. .apexcharts-tooltip-rangebar .series-name {
  137. font-weight: bold;
  138. display: block;
  139. margin-bottom: 5px;
  140. }
  141. .apexcharts-xaxistooltip {
  142. opacity: 0;
  143. padding: 9px 10px;
  144. pointer-events: none;
  145. color: #373d3f;
  146. font-size: 13px;
  147. text-align: center;
  148. border-radius: 2px;
  149. position: absolute;
  150. z-index: 10;
  151. background: #ECEFF1;
  152. border: 1px solid #90A4AE;
  153. transition: 0.15s ease all;
  154. }
  155. .apexcharts-xaxistooltip.apexcharts-theme-dark {
  156. background: rgba(0, 0, 0, 0.7);
  157. border: 1px solid rgba(0, 0, 0, 0.5);
  158. color: #fff;
  159. }
  160. .apexcharts-xaxistooltip:after,
  161. .apexcharts-xaxistooltip:before {
  162. left: 50%;
  163. border: solid transparent;
  164. content: " ";
  165. height: 0;
  166. width: 0;
  167. position: absolute;
  168. pointer-events: none;
  169. }
  170. .apexcharts-xaxistooltip:after {
  171. border-color: rgba(236, 239, 241, 0);
  172. border-width: 6px;
  173. margin-left: -6px;
  174. }
  175. .apexcharts-xaxistooltip:before {
  176. border-color: rgba(144, 164, 174, 0);
  177. border-width: 7px;
  178. margin-left: -7px;
  179. }
  180. .apexcharts-xaxistooltip-bottom:after,
  181. .apexcharts-xaxistooltip-bottom:before {
  182. bottom: 100%;
  183. }
  184. .apexcharts-xaxistooltip-top:after,
  185. .apexcharts-xaxistooltip-top:before {
  186. top: 100%;
  187. }
  188. .apexcharts-xaxistooltip-bottom:after {
  189. border-bottom-color: #ECEFF1;
  190. }
  191. .apexcharts-xaxistooltip-bottom:before {
  192. border-bottom-color: #90A4AE;
  193. }
  194. .apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after {
  195. border-bottom-color: rgba(0, 0, 0, 0.5);
  196. }
  197. .apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
  198. border-bottom-color: rgba(0, 0, 0, 0.5);
  199. }
  200. .apexcharts-xaxistooltip-top:after {
  201. border-top-color: #ECEFF1
  202. }
  203. .apexcharts-xaxistooltip-top:before {
  204. border-top-color: #90A4AE;
  205. }
  206. .apexcharts-xaxistooltip-top.apexcharts-theme-dark:after {
  207. border-top-color: rgba(0, 0, 0, 0.5);
  208. }
  209. .apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
  210. border-top-color: rgba(0, 0, 0, 0.5);
  211. }
  212. .apexcharts-xaxistooltip.apexcharts-active {
  213. opacity: 1;
  214. transition: 0.15s ease all;
  215. }
  216. .apexcharts-yaxistooltip {
  217. opacity: 0;
  218. padding: 4px 10px;
  219. pointer-events: none;
  220. color: #373d3f;
  221. font-size: 13px;
  222. text-align: center;
  223. border-radius: 2px;
  224. position: absolute;
  225. z-index: 10;
  226. background: #ECEFF1;
  227. border: 1px solid #90A4AE;
  228. }
  229. .apexcharts-yaxistooltip.apexcharts-theme-dark {
  230. background: rgba(0, 0, 0, 0.7);
  231. border: 1px solid rgba(0, 0, 0, 0.5);
  232. color: #fff;
  233. }
  234. .apexcharts-yaxistooltip:after,
  235. .apexcharts-yaxistooltip:before {
  236. top: 50%;
  237. border: solid transparent;
  238. content: " ";
  239. height: 0;
  240. width: 0;
  241. position: absolute;
  242. pointer-events: none;
  243. }
  244. .apexcharts-yaxistooltip:after {
  245. border-color: rgba(236, 239, 241, 0);
  246. border-width: 6px;
  247. margin-top: -6px;
  248. }
  249. .apexcharts-yaxistooltip:before {
  250. border-color: rgba(144, 164, 174, 0);
  251. border-width: 7px;
  252. margin-top: -7px;
  253. }
  254. .apexcharts-yaxistooltip-left:after,
  255. .apexcharts-yaxistooltip-left:before {
  256. left: 100%;
  257. }
  258. .apexcharts-yaxistooltip-right:after,
  259. .apexcharts-yaxistooltip-right:before {
  260. right: 100%;
  261. }
  262. .apexcharts-yaxistooltip-left:after {
  263. border-left-color: #ECEFF1;
  264. }
  265. .apexcharts-yaxistooltip-left:before {
  266. border-left-color: #90A4AE;
  267. }
  268. .apexcharts-yaxistooltip-left.apexcharts-theme-dark:after {
  269. border-left-color: rgba(0, 0, 0, 0.5);
  270. }
  271. .apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
  272. border-left-color: rgba(0, 0, 0, 0.5);
  273. }
  274. .apexcharts-yaxistooltip-right:after {
  275. border-right-color: #ECEFF1;
  276. }
  277. .apexcharts-yaxistooltip-right:before {
  278. border-right-color: #90A4AE;
  279. }
  280. .apexcharts-yaxistooltip-right.apexcharts-theme-dark:after {
  281. border-right-color: rgba(0, 0, 0, 0.5);
  282. }
  283. .apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
  284. border-right-color: rgba(0, 0, 0, 0.5);
  285. }
  286. .apexcharts-yaxistooltip.apexcharts-active {
  287. opacity: 1;
  288. }
  289. .apexcharts-yaxistooltip-hidden {
  290. display: none;
  291. }
  292. .apexcharts-xcrosshairs,
  293. .apexcharts-ycrosshairs {
  294. pointer-events: none;
  295. opacity: 0;
  296. transition: 0.15s ease all;
  297. }
  298. .apexcharts-xcrosshairs.apexcharts-active,
  299. .apexcharts-ycrosshairs.apexcharts-active {
  300. opacity: 1;
  301. transition: 0.15s ease all;
  302. }
  303. .apexcharts-ycrosshairs-hidden {
  304. opacity: 0;
  305. }
  306. .apexcharts-selection-rect {
  307. cursor: move;
  308. }
  309. .svg_select_boundingRect, .svg_select_points_rot {
  310. pointer-events: none;
  311. opacity: 0;
  312. visibility: hidden;
  313. }
  314. .apexcharts-selection-rect + g .svg_select_boundingRect,
  315. .apexcharts-selection-rect + g .svg_select_points_rot {
  316. opacity: 0;
  317. visibility: hidden;
  318. }
  319. .apexcharts-selection-rect + g .svg_select_points_l,
  320. .apexcharts-selection-rect + g .svg_select_points_r {
  321. cursor: ew-resize;
  322. opacity: 1;
  323. visibility: visible;
  324. }
  325. .svg_select_points {
  326. fill: #efefef;
  327. stroke: #333;
  328. rx: 2;
  329. }
  330. .apexcharts-svg.apexcharts-zoomable.hovering-zoom {
  331. cursor: crosshair
  332. }
  333. .apexcharts-svg.apexcharts-zoomable.hovering-pan {
  334. cursor: move
  335. }
  336. .apexcharts-zoom-icon,
  337. .apexcharts-zoomin-icon,
  338. .apexcharts-zoomout-icon,
  339. .apexcharts-reset-icon,
  340. .apexcharts-pan-icon,
  341. .apexcharts-selection-icon,
  342. .apexcharts-menu-icon,
  343. .apexcharts-toolbar-custom-icon {
  344. cursor: pointer;
  345. width: 20px;
  346. height: 20px;
  347. line-height: 24px;
  348. color: #6E8192;
  349. text-align: center;
  350. }
  351. .apexcharts-zoom-icon svg,
  352. .apexcharts-zoomin-icon svg,
  353. .apexcharts-zoomout-icon svg,
  354. .apexcharts-reset-icon svg,
  355. .apexcharts-menu-icon svg {
  356. fill: #6E8192;
  357. }
  358. .apexcharts-selection-icon svg {
  359. fill: #444;
  360. transform: scale(0.76)
  361. }
  362. .apexcharts-theme-dark .apexcharts-zoom-icon svg,
  363. .apexcharts-theme-dark .apexcharts-zoomin-icon svg,
  364. .apexcharts-theme-dark .apexcharts-zoomout-icon svg,
  365. .apexcharts-theme-dark .apexcharts-reset-icon svg,
  366. .apexcharts-theme-dark .apexcharts-pan-icon svg,
  367. .apexcharts-theme-dark .apexcharts-selection-icon svg,
  368. .apexcharts-theme-dark .apexcharts-menu-icon svg,
  369. .apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg {
  370. fill: #f3f4f5;
  371. }
  372. .apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,
  373. .apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
  374. .apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {
  375. fill: #008FFB;
  376. }
  377. .apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,
  378. .apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,
  379. .apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,
  380. .apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,
  381. .apexcharts-theme-light .apexcharts-reset-icon:hover svg,
  382. .apexcharts-theme-light .apexcharts-menu-icon:hover svg {
  383. fill: #333;
  384. }
  385. .apexcharts-selection-icon,
  386. .apexcharts-menu-icon {
  387. position: relative;
  388. }
  389. .apexcharts-reset-icon {
  390. margin-left: 5px;
  391. }
  392. .apexcharts-zoom-icon,
  393. .apexcharts-reset-icon,
  394. .apexcharts-menu-icon {
  395. transform: scale(0.85);
  396. }
  397. .apexcharts-zoomin-icon,
  398. .apexcharts-zoomout-icon {
  399. transform: scale(0.7)
  400. }
  401. .apexcharts-zoomout-icon {
  402. margin-right: 3px;
  403. }
  404. .apexcharts-pan-icon {
  405. transform: scale(0.62);
  406. position: relative;
  407. left: 1px;
  408. top: 0px;
  409. }
  410. .apexcharts-pan-icon svg {
  411. fill: #fff;
  412. stroke: #6E8192;
  413. stroke-width: 2;
  414. }
  415. .apexcharts-pan-icon.apexcharts-selected svg {
  416. stroke: #008FFB;
  417. }
  418. .apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
  419. stroke: #333;
  420. }
  421. .apexcharts-toolbar {
  422. position: absolute;
  423. z-index: 11;
  424. max-width: 176px;
  425. text-align: right;
  426. border-radius: 3px;
  427. padding: 0px 6px 2px 6px;
  428. display: flex;
  429. justify-content: space-between;
  430. align-items: center;
  431. }
  432. .apexcharts-menu {
  433. background: #fff;
  434. position: absolute;
  435. top: 100%;
  436. border: 1px solid #ddd;
  437. border-radius: 3px;
  438. padding: 3px;
  439. right: 10px;
  440. opacity: 0;
  441. min-width: 110px;
  442. transition: 0.15s ease all;
  443. pointer-events: none;
  444. }
  445. .apexcharts-menu.apexcharts-menu-open {
  446. opacity: 1;
  447. pointer-events: all;
  448. transition: 0.15s ease all;
  449. }
  450. .apexcharts-menu-item {
  451. padding: 6px 7px;
  452. font-size: 12px;
  453. cursor: pointer;
  454. }
  455. .apexcharts-theme-light .apexcharts-menu-item:hover {
  456. background: #eee;
  457. }
  458. .apexcharts-theme-dark .apexcharts-menu {
  459. background: rgba(0, 0, 0, 0.7);
  460. color: #fff;
  461. }
  462. @media screen and (min-width: 768px) {
  463. .apexcharts-canvas:hover .apexcharts-toolbar {
  464. opacity: 1;
  465. }
  466. }
  467. .apexcharts-datalabel.apexcharts-element-hidden {
  468. opacity: 0;
  469. }
  470. .apexcharts-pie-label,
  471. .apexcharts-datalabels,
  472. .apexcharts-datalabel,
  473. .apexcharts-datalabel-label,
  474. .apexcharts-datalabel-value {
  475. cursor: default;
  476. pointer-events: none;
  477. }
  478. .apexcharts-pie-label-delay {
  479. opacity: 0;
  480. animation-name: opaque;
  481. animation-duration: 0.3s;
  482. animation-fill-mode: forwards;
  483. animation-timing-function: ease;
  484. }
  485. .apexcharts-canvas .apexcharts-element-hidden {
  486. opacity: 0;
  487. }
  488. .apexcharts-hide .apexcharts-series-points {
  489. opacity: 0;
  490. }
  491. .apexcharts-gridline,
  492. .apexcharts-annotation-rect,
  493. .apexcharts-tooltip .apexcharts-marker,
  494. .apexcharts-area-series .apexcharts-area,
  495. .apexcharts-line,
  496. .apexcharts-zoom-rect,
  497. .apexcharts-toolbar svg,
  498. .apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,
  499. .apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,
  500. .apexcharts-radar-series path,
  501. .apexcharts-radar-series polygon {
  502. pointer-events: none;
  503. }
  504. /* markers */
  505. .apexcharts-marker {
  506. transition: 0.15s ease all;
  507. }
  508. @keyframes opaque {
  509. 0% {
  510. opacity: 0;
  511. }
  512. 100% {
  513. opacity: 1;
  514. }
  515. }
  516. /* Resize generated styles */
  517. @keyframes resizeanim {
  518. from {
  519. opacity: 0;
  520. }
  521. to {
  522. opacity: 0;
  523. }
  524. }
  525. .resize-triggers {
  526. animation: 1ms resizeanim;
  527. visibility: hidden;
  528. opacity: 0;
  529. }
  530. .resize-triggers,
  531. .resize-triggers>div,
  532. .contract-trigger:before {
  533. content: " ";
  534. display: block;
  535. position: absolute;
  536. top: 0;
  537. left: 0;
  538. height: 100%;
  539. width: 100%;
  540. overflow: hidden;
  541. }
  542. .resize-triggers>div {
  543. background: #eee;
  544. overflow: auto;
  545. }
  546. .contract-trigger:before {
  547. width: 200%;
  548. height: 200%;
  549. }