����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.140.239.189 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/ideyshare.name.ng/app/assets/admin/vendors/echarts/src/chart/boxplot/ |
Upload File : |
define(function(require) { 'use strict'; var zrUtil = require('zrender/core/util'); var ChartView = require('../../view/Chart'); var graphic = require('../../util/graphic'); var whiskerBoxCommon = require('../helper/whiskerBoxCommon'); var BoxplotView = ChartView.extend({ type: 'boxplot', getStyleUpdater: function () { return updateStyle; } }); zrUtil.mixin(BoxplotView, whiskerBoxCommon.viewMixin, true); // Update common properties var normalStyleAccessPath = ['itemStyle', 'normal']; var emphasisStyleAccessPath = ['itemStyle', 'emphasis']; function updateStyle(itemGroup, data, idx) { var itemModel = data.getItemModel(idx); var normalItemStyleModel = itemModel.getModel(normalStyleAccessPath); var borderColor = data.getItemVisual(idx, 'color'); // Exclude borderColor. var itemStyle = normalItemStyleModel.getItemStyle(['borderColor']); var whiskerEl = itemGroup.childAt(itemGroup.whiskerIndex); whiskerEl.style.set(itemStyle); whiskerEl.style.stroke = borderColor; whiskerEl.dirty(); var bodyEl = itemGroup.childAt(itemGroup.bodyIndex); bodyEl.style.set(itemStyle); bodyEl.style.stroke = borderColor; bodyEl.dirty(); var hoverStyle = itemModel.getModel(emphasisStyleAccessPath).getItemStyle(); graphic.setHoverStyle(itemGroup, hoverStyle); } return BoxplotView; });