div>

Нет описания

axisPointer.js 1.7KB

    var echarts = require("../echarts"); var zrUtil = require("zrender/lib/core/util"); var axisPointerModelHelper = require("./axisPointer/modelHelper"); var axisTrigger = require("./axisPointer/axisTrigger"); require("./axisPointer/AxisPointerModel"); require("./axisPointer/AxisPointerView"); require("./axisPointer/CartesianAxisPointer"); // CartesianAxisPointer is not supposed to be required here. But consider // echarts.simple.js and online build tooltip, which only require gridSimple, // CartesianAxisPointer should be able to required somewhere. echarts.registerPreprocessor(function (option) { // Always has a global axisPointerModel for default setting. if (option) { (!option.axisPointer || option.axisPointer.length === 0) && (option.axisPointer = {}); var link = option.axisPointer.link; // Normalize to array to avoid object mergin. But if link // is not set, remain null/undefined, otherwise it will // override existent link setting. if (link && !zrUtil.isArray(link)) { option.axisPointer.link = [link]; } } }); // This process should proformed after coordinate systems created // and series data processed. So put it on statistic processing stage. echarts.registerProcessor(echarts.PRIORITY.PROCESSOR.STATISTIC, function (ecModel, api) { // Build axisPointerModel, mergin tooltip.axisPointer model for each axis. // allAxesInfo should be updated when setOption performed. ecModel.getComponent('axisPointer').coordSysAxesInfo = axisPointerModelHelper.collect(ecModel, api); }); // Broadcast to all views. echarts.registerAction({ type: 'updateAxisPointer', event: 'updateAxisPointer', update: ':updateAxisPointer' }, axisTrigger);
kodo - Gogs: Go Git Service

Nav apraksta

Kimi.Huang: 7dc0b7fc6b :art: Makemigrations 6 gadi atpakaļ
..
0001_initial.py 5fdb5b42fd Logfile Upload 8 gadi atpakaļ
0002_auto_20180530_1122.py 5fdb5b42fd Logfile Upload 8 gadi atpakaļ
0003_mchinfoencryptloginfo.py 15e0f2277f MchInfoEncryptLogInfo 8 gadi atpakaļ
0004_mchinfoencryptloginfo_distributor_pk.py 15e0f2277f MchInfoEncryptLogInfo 8 gadi atpakaļ
0005_mchinfodecryptloginfo.py 6e7c94e744 MchInfoDecryptLogInfo 7 gadi atpakaļ
0006_auto_20200113_1832.py 212f24c882 MarketCode 6 gadi atpakaļ
0007_auto_20200114_1229.py f17ee852fd decrypt2 6 gadi atpakaļ
0008_mchsearchmodelandcameraloginfo.py 9619c195e6 :art: Makemigrations 6 gadi atpakaļ
0009_mchsearchmodelandcameraloginfo_is_selected_model.py 9619c195e6 :art: Makemigrations 6 gadi atpakaļ
0010_mchinfoencryptloginfo_version.py 7dc0b7fc6b :art: Makemigrations 6 gadi atpakaļ
0011_auto_20200309_1735.py 7dc0b7fc6b :art: Makemigrations 6 gadi atpakaļ
__init__.py 5fdb5b42fd Logfile Upload 8 gadi atpakaļ