From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/webapp/admin/new/js/third-party/highcharts/modules/heatmap.src.js | 106 ++++++++++++++++++++++++++-------------------------- 1 files changed, 53 insertions(+), 53 deletions(-) diff --git a/fanli/src/main/webapp/admin/new/js/third-party/highcharts/modules/heatmap.src.js b/fanli/src/main/webapp/admin/new/js/third-party/highcharts/modules/heatmap.src.js index b7e356a..59006c5 100644 --- a/fanli/src/main/webapp/admin/new/js/third-party/highcharts/modules/heatmap.src.js +++ b/fanli/src/main/webapp/admin/new/js/third-party/highcharts/modules/heatmap.src.js @@ -1,53 +1,53 @@ -(function (Highcharts) { - var seriesTypes = Highcharts.seriesTypes, - each = Highcharts.each; - - seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, { - colorKey: 'z', - useMapGeometry: false, - pointArrayMap: ['y', 'z'], - translate: function () { - var series = this, - options = series.options, - dataMin = Number.MAX_VALUE, - dataMax = Number.MIN_VALUE; - - series.generatePoints(); - - each(series.data, function (point) { - var x = point.x, - y = point.y, - value = point.z, - xPad = (options.colsize || 1) / 2, - yPad = (options.rowsize || 1) / 2; - - point.path = [ - 'M', x - xPad, y - yPad, - 'L', x + xPad, y - yPad, - 'L', x + xPad, y + yPad, - 'L', x - xPad, y + yPad, - 'Z' - ]; - - point.shapeType = 'path'; - point.shapeArgs = { - d: series.translatePath(point.path) - }; - - if (typeof value === 'number') { - if (value > dataMax) { - dataMax = value; - } else if (value < dataMin) { - dataMin = value; - } - } - }); - - series.translateColors(dataMin, dataMax); - }, - - getBox: function () {} - - }); - -}(Highcharts)); +(function (Highcharts) { + var seriesTypes = Highcharts.seriesTypes, + each = Highcharts.each; + + seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, { + colorKey: 'z', + useMapGeometry: false, + pointArrayMap: ['y', 'z'], + translate: function () { + var series = this, + options = series.options, + dataMin = Number.MAX_VALUE, + dataMax = Number.MIN_VALUE; + + series.generatePoints(); + + each(series.data, function (point) { + var x = point.x, + y = point.y, + value = point.z, + xPad = (options.colsize || 1) / 2, + yPad = (options.rowsize || 1) / 2; + + point.path = [ + 'M', x - xPad, y - yPad, + 'L', x + xPad, y - yPad, + 'L', x + xPad, y + yPad, + 'L', x - xPad, y + yPad, + 'Z' + ]; + + point.shapeType = 'path'; + point.shapeArgs = { + d: series.translatePath(point.path) + }; + + if (typeof value === 'number') { + if (value > dataMax) { + dataMax = value; + } else if (value < dataMin) { + dataMin = value; + } + } + }); + + series.translateColors(dataMin, dataMax); + }, + + getBox: function () {} + + }); + +}(Highcharts)); -- Gitblit v1.8.0