ulogger-server/js/lib/chartist-plugin-axistitle.min.js.map

1 line
7.5 KiB
Plaintext
Raw Normal View History

2019-05-15 11:32:36 +02:00
{"version":3,"sources":["chartist-plugin-axistitle.js"],"names":["root","factory","define","amd","Chartist","returnExportsGlobal","exports","module","require","this","window","document","axisDefaults","axisTitle","axisClass","offset","x","y","textAnchor","flipTitle","defaultOptions","axisX","axisY","getTitle","title","Function","getClasses","classes","plugins","ctAxisTitle","options","extend","chart","on","data","Error","xPos","yPos","chartPadding","normalizePadding","axisLength","left","top","position","Svg","addClass","text","attr","text-anchor","svg","append","transform"],"mappings":"CAAC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,QAAQ,YAAa,SAAUE,GAC7B,MAAQJ,GAAKK,oBAAsBJ,EAAQG,KAEjB,gBAAZE,SAIhBC,OAAOD,QAAUL,EAAQO,QAAQ,aAEjCR,EAAK,gCAAkCC,EAAQG,WAEjDK,KAAM,SAAUL,GAiIhB,MAzHC,UAAUM,EAAQC,EAAUP,GACzB,YAEA,IAAIQ,IACAC,UAAW,GACXC,UAAW,gBACXC,QACIC,EAAG,EACHC,EAAG,GAEPC,WAAY,SACZC,WAAW,GAGXC,GACAC,MAAOT,EACPU,MAAOV,GAGPW,EAAW,SAAUC,GACrB,MAAIA,aAAiBC,UACVD,IAEJA,GAGPE,EAAa,SAAUC,GACvB,MAAIA,aAAmBF,UACZE,IAEJA,EAGXvB,GAASwB,QAAUxB,EAASwB,YAC5BxB,EAASwB,QAAQC,YAAc,SAASC,GAIpC,MAFAA,GAAU1B,EAAS2B,UAAWX,EAAgBU,GAEvC,SAAqBE,GAExBA,EAAMC,GAAG,UAAW,SAASC,GAEzB,IAAKJ,EAAQT,MAAMR,YAAciB,EAAQR,MAAMT,UAC3C,KAAM,IAAIsB,OACN,gEAED,KAAKD,EAAKb,QAAUa,EAAKZ,MAC5B,KAAM,IAAIa,OACN,4EAIR,IAAIC,GACAC,EACAb,EACAc,EAAelC,EAASmC,iBA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AelB,EAAQR,MAAMJ,aAEjCgB,EAAKe,IAAIC,OAAO1B,GAAO,SAKzCd,OAAQC,SAAUP,GAEbA,EAASwB,QAAQC","file":"chartist-plugin-axistitle.min.js","sourcesContent":["(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define([\"chartist\"], function (Chartist) {\n return (root.returnExportsGlobal = factory(Chartist));\n });\n } else if (typeof exports === 'object') {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like enviroments that support module.exports,\n // like Node.\n module.exports = factory(require(\"chartist\"));\n } else {\n root['Chartist.plugins.ctAxisTitle'] = factory(Chartist);\n }\n}(this, function (Chartist) {\n\n /**\n * Chartist.js plugin to display a title for 1 or 2 axes.\n * version 0.0.4\n * author: alex stanbury\n */\n /* global Chartist */\n (function (window, document, Chartist) {\n 'use strict';\n\n var axisDefaults = {\n axisTitle: '',\n axisClass: 'ct-axis-title',\n offset: {\n x: 0,\n y: 0\n },\n textAnchor: 'middle',\n flipTitle: false\n };\n\n var defaultOptions = {\n axisX: axisDefaults,\n axisY: axisDefaults\n };\n\n var getTitle = function (title) {\n if (title instanceof Function) {\n return title();\n }\n return title;\n };\n\n var getClasses = function (classes) {\n if (classes instanceof Function) {\n return classes();\n }\n return classes;\n };\n\n Chartist.plugins = Chartist.plugins || {};\n Chartist.plugins.c