Volume Color is reversed in v1.13 dev #3227 XSS in indicatorsFile parameter #3210 Unknown 1 minute resolution in resolutions widget #3207 What does supports_group_request do? #3183 Improved documentation for intraday_multipliers #3176 Please run a spell checker over the Wiki #3172 Disable "This chart layout has more than 1000 drawings" popup #3158 Problem with drawings in `60S` resolution #3147 Pivot Points are same across Hourly and Daily Timeframe #3144 Add useful default for minSize in getMarks #3139 JS API from/to vs. startDate/endDate inconsistency #3136 Minor wiki error: three -> four #3134 Defaults for chart style and interval favorites does not work #3036 Add support to disable modify order #3015 Cannot read property 'contains' of null if chart container is not visible #2999 Spread/Ratio indicators #2875 Initial bars load glitch #2665 Bars are shifted when the exchange time is negative #2652 Question for previous close price line #2643 SymbolInfo ticker is mandatory, despite what docs say #2581 12/31/2017 is missing when TZ time is negative #2571 TERMINAL: notifications log tab in the bottom panel #2538 The problem with translating the timeframes into Russian. #2494 Adaptive top panel #2491 Session and Cookie #2484 Maximum call stack size exceeded #2477 1.12 custom save_load_adapter UI event exceptions #2448 How to change color to the up fractals of the Williams Fractals? #2425 Timescale marks are not displayed correctly in version 1.11 #2423 Display "Delayed" status on the chart #2369 Add default quantity for symbols #2322 Add Market Depth in TradingTerminal #2316 TERMINAL: Change "Don't show order confirmations" from a broker #2261 Scale Ratio #2240 getBars not called after symbol change #2062 side_toolbar_in_fullscreen_mode doesn't work #2036 Adding link in market details widget #2021 Cannot read property 'favorite' of undefined (indicators) #1998 Add Pivot Points #1747 Multiple watchlists #1697 MACD EMA based #1300 Add Themes #1277 Change study default scale #1170 Show dialog when insert Correlation Coefficient #1169 How to get current status of log scale? #1050 Missing onVisibleRangeChange event #813 Synchronous XMLHttpRequest on the main thread is deprecated #773 "Hide All Drawing Tools" button doesn't hide the price of "Horizontal Line" #477
2 lines
3.3 KiB
JavaScript
2 lines
3.3 KiB
JavaScript
webpackJsonp([13],{1194:function(t,e,n){"use strict";function r(t,e,n,r){return l.__awaiter(this,void 0,void 0,function(){var a;return l.__generator(this,function(o){return a=new s.SaveRenameDialog({fields:[new h.InputField({name:w,label:t+":",error:e,maxLength:64})],title:n}),void 0!==r&&a.setField(w,r),[2,a.show().then(function(t){return t[w]})]})})}function a(t){return l.__awaiter(this,void 0,void 0,function(){return l.__generator(this,function(e){return[2,r(f.labelRename,f.error,f.titleRename,t)]})})}function o(t){return l.__awaiter(this,void 0,void 0,function(){return l.__generator(this,function(e){return[2,r(f.labelRename,f.error,f.titleCopy,f.valueCopy.format(t))]})})}function i(t){return l.__awaiter(this,void 0,void 0,function(){return l.__generator(this,function(e){return[2,r(f.labelRename,f.error,f.titleNew,t)]})})}function u(t){"/chart/"===location.pathname&&(location.href="/chart/"+t)}function c(){return l.__awaiter(this,void 0,void 0,function(){return l.__generator(this,function(t){return[2,new Promise(function(t){v.enabled("saved_charts_count_restriction")&&!window.user.is_pro?_.getCharts(function(e){t(e.length<5)}):t(!0)})]})})}var l,s,h,_,v,d,f,w,m;Object.defineProperty(e,"__esModule",{value:!0}),l=n(0),s=n(396),h=n(395),_=n(92),v=n(5),d=n(40),f={labelName:window.t("Chart layout name"),labelRename:window.t("Enter a new chart layout name"),error:window.t("Please enter chart layout name"),titleNew:window.t("Save New Chart Layout"),titleRename:window.t("Rename Chart Layout"),titleCopy:window.t("Copy Chart Layout"),valueCopy:window.t("{0} copy",{context:"ex: AAPL chart copy"})},w="chart-title",m=function(){function t(t,e){this._chartWidgetCollection=t,this._chartSaver=e}return t.prototype.tryCloneChart=function(){var t=this;!function(){l.__awaiter(t,void 0,void 0,function(){var t,e,n;return l.__generator(this,function(r){switch(r.label){case 0:return t=this._chartWidgetCollection,[4,c()];case 1:return e=r.sent(),e?[4,o(t.metaInfo.name.value())]:[3,3];case 2:return n=r.sent(),this._saveCurrentChartAsNewWithTitle(n),[3,3];case 3:return[2]}})})}()},t.prototype.tryRenameChart=function(){var t=this;!function(){l.__awaiter(t,void 0,void 0,function(){var t,e,n;return l.__generator(this,function(r){switch(r.label){case 0:return t=this._chartWidgetCollection,e=t.metaInfo.name.value(),[4,a(e)];case 1:return n=r.sent(),t.metaInfo.name.setValue(n),this._doSave(),[2]}})})}()},t.prototype.trySaveNewChart=function(){var t=this;!function(){l.__awaiter(t,void 0,void 0,function(){var t,e,n,r;return l.__generator(this,function(a){switch(a.label){case 0:return t=this._chartWidgetCollection,e=t.metaInfo.name.value(),[4,c()];case 1:return n=a.sent(),n?[4,i(e)]:[3,3];case 2:return r=a.sent(),t.metaInfo.name.setValue(r),this._doSave(),[3,3];case 3:return[2]}})})}()},t.prototype.trySaveExistentChart=function(){this._doSave()},t.prototype._saveCurrentChartAsNewWithTitle=function(t){var e=this._chartWidgetCollection;v.enabled("saveload_storage_customization")?(e.metaInfo.uid.deleteValue(),e.metaInfo.id.deleteValue(),
|
|
e.metaInfo.name.setValue(t),this._doSave()):window.open("/chart/?clone="+e.metaInfo.uid.value()+"&name="+encodeURIComponent(t),"_blank")},t.prototype._doSave=function(){var t=this._chartWidgetCollection;this._chartSaver.saveChartSilently(function(){d.trackEvent("GUI","Save Chart Layout"),u(t.metaInfo.uid.value())})},t}(),e.SaveAsService=m}}); |