%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.146 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/ppaobm/vendor/bower-asset/highcharts/es-modules/indicators/ |
Upload File : |
/* * * * License: www.highcharts.com/license * * */ 'use strict'; import H from '../parts/Globals.js'; import multipleLinesMixin from '../mixins/multipe-lines.js'; import requiredIndicatorMixin from '../mixins/indicator-required.js'; var AROON = H.seriesTypes.aroon, requiredIndicator = requiredIndicatorMixin; /** * The Aroon Oscillator series type. * * @private * @class * @name Highcharts.seriesTypes.aroonoscillator * * @augments Highcharts.Series */ H.seriesType( 'aroonoscillator', 'aroon', /** * Aroon Oscillator. This series requires the `linkedTo` option to be set * and should be loaded after the `stock/indicators/indicators.js` and * `stock/indicators/aroon.js`. * * @sample {highstock} stock/indicators/aroon-oscillator * Aroon Oscillator * * @extends plotOptions.aroon * @since 7.0.0 * @product highstock * @excluding allAreas, aroonDown, colorAxis, compare, compareBase, * joinBy, keys, navigatorOptions, pointInterval, * pointIntervalUnit, pointPlacement, pointRange, pointStart, * showInNavigator, stacking * @optionparent plotOptions.aroonoscillator */ { /** * Paramters used in calculation of aroon oscillator series points. * * @excluding periods, index */ params: { /** * Period for Aroon Oscillator * * @since 7.0.0 * @product highstock */ period: 25 }, tooltip: { pointFormat: '<span style="color:{point.color}">\u25CF</span><b> {series.name}</b>: {point.y}' } }, /** * @lends Highcharts.Series# */ H.merge(multipleLinesMixin, { nameBase: 'Aroon Oscillator', pointArrayMap: ['y'], pointValKey: 'y', linesApiNames: [], init: function () { var args = arguments, ctx = this; requiredIndicator.isParentLoaded( AROON, 'aroon', ctx.type, function (indicator) { indicator.prototype.init.apply(ctx, args); } ); }, getValues: function (series, params) { var ARO = [], // 0- date, 1- Aroon Oscillator xData = [], yData = [], aroon, aroonUp, aroonDown, oscillator, i; aroon = AROON.prototype.getValues.call(this, series, params); for (i = 0; i < aroon.yData.length; i++) { aroonUp = aroon.yData[i][0]; aroonDown = aroon.yData[i][1]; oscillator = aroonUp - aroonDown; ARO.push([aroon.xData[i], oscillator]); xData.push(aroon.xData[i]); yData.push(oscillator); } return { values: ARO, xData: xData, yData: yData }; } }) ); /** * An `Aroon Oscillator` series. If the [type](#series.aroonoscillator.type) * option is not specified, it is inherited from [chart.type](#chart.type). * * @extends series,plotOptions.aroonoscillator * @since 7.0.0 * @product highstock * @excluding allAreas, aroonDown, colorAxis, compare, compareBase, dataParser, * dataURL, joinBy, keys, navigatorOptions, pointInterval, * pointIntervalUnit, pointPlacement, pointRange, pointStart, * showInNavigator, stacking * @apioption series.aroonoscillator */