setVisibleRange additional argument - right margin % #4512 Indicators are slided when zooming chart #4456 save_load_adapter after removing chart #4454 Overriding timezone definitions #4449 Error while applying study template #4407 Wrong range of overlay after switching timeframe #4372 Intraday Data is Requesting from the server since 1970 #4366 Display price in thousands, millions, billions #4360 setBodyFont of position line tool doesn't work correctly #4353 Realtime updates shifts indicator's data for realtime bars count back #4283 Adaptive indicators dialogs #4247 Click instead of mouseDown for positionLine onClose. #4245 Add applyRightMargin flag to setVisibleRange #4233 Open volume on new pane if volume_force_overlay is enabled #4198 Keep the first visible point when a new bar comes #4188 getVisibleRange should return 00:00 for DWM #4187 21 more indicators #4170 Main series API #4169 Can not set Text property of the Note Shape #4144 Unable to hide legend #4126 setVisibleRange or getVisibleRange adds one more bar to the left #4110 Cannot set tooltip for order line #4079 Dialog is closed immediately if it is invoked from mouse_down event #4077 setVisibleRange doesn't work for multiple charts at once #4068 how to disable mp3 files being loaded? #4052 Increase spacing between bars to display short time periods #4043 Event Marker Placement always uses high #4042 Number cannot be passed as symbol into widget constructor #4039 custom_css_url not working in unstable branch #4017 ConfirmDialog does not close after YES is clicked #3981 Side DOM chart does not render in certain conditions #3975 `getAllShapes` does not return drawings loaded from state #3966 Text inside order/position lines is too small #3962 Removing the last saved chart #3954 get current chart timezone #3943 Text shape throws error setValue #3930 Wrong Symbol and Price values in context menu for secondary instrument. #3926 text override in Horizontal Line does not work #3918 Sticky magnet mode #3902 Add thin bars #3900 Event that study has been removed from the chart #3899 High-Low bars #3898 Multiple Y-axis #3897 Issue with Renko with volume and vwap indicators #3893 Layout rename doesn't send request to server #3878 Cannot create copy of copy of a chart layout #3872 Chart scrolls when tap on a trend line Safari/iphone7 #3871 Chart border overlap scale values #3826 IDatafeedChartApi.subscribeDepth parameters #3821 Error in console when restore defaults #3755 Timeframe is not precise #3722 Wrong year Ticker displayed on X axis if resolution < 2H #3678 New chart layouts #3629 Drawings disappear at certain resolutions #3594 Remove jQuery from loading custom indicator #3563 Align symbol labels #3513 createOrderLine().onMove broken in 1.13 #3480 When changing theme on the fly - chart type changing too #3459 Pivot Points Standard - path to some style params #3441 createMultipointShape overrides with dot don't work #3419 Add inverting price scale #3376 Transparent chart background color #3288 Previous timescale tooltips stay when switching currency #3165 disableSelection still shown the selections on hover #2864 Override symbol from saved_data #2493 Forecast balloon too short #2289 Context menu submenus cover up other options #2007 Add setVisiblePriceRange method #1408 Modify panes height/order #1232 Add custom Interval #1191
2 lines
4.9 KiB
JavaScript
2 lines
4.9 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["symbol-info-dialog-impl"],{"1Z/g":function(e,t,n){"use strict";(function(e,i){function r(e){return!function(e){return e&&e.type&&"economic"===e.type}(e)&&!function(e,t){return e&&e.listed_exchange&&t.indexOf(e.listed_exchange)>=0}(e,["QUANDL","BSE_EOD","NSE_EOD","LSE_EOD"])}function o(e){return e&&e.type&&"futures"===e.type&&e.front_contract}function l(e){m||(m=document.createElement("div"),document.body.appendChild(m)),h.render(g.createElement(S,e),m)}function a(e){var t,n=d;for(t=0;t<n.length;t++)if(n[t].id===e)return n[t].title;return e}function c(e){var t,n=new b(e);return(t=n.entries(),_.reduce(function(e,n){var i,r=t.filter(function(e){return e.dayOfWeek()===n}),o=w[n]+" ";return 0===r.length?(e.push(o+window.t("Closed")),e):(i=r.reduce(function(e,t){var n=t.sessionStartDayOfWeek(),i=Math.floor((t.alignedStart()+t.length())/N.minutesPerDay),r=function(e,t){for(var n=e+t;e>N.SATURDAY;)e-=N.SATURDAY;return n}(n,i),o=n!==t.dayOfWeek(),l=o&&r!==t.dayOfWeek(),a=o?w[n]:"",c=l?w[r]:"",u=p(t.alignedStart())+a+"-"+p(t.alignedStart()+t.length())+c;return e.push(u),e},[]),e.push(o+i.join(", ")),e)},[])).join("<br>")}function u(e){return e||"-"}function s(e,t){var n,i,r,o=0;for(n=0;n<t.length;n++)(i=t[n].propName)in e&&(r=e[i],"minmove2"===i&&e.minmove2>0&&!e.fractional&&e.pricescale?(t[n].value=new y(e.pricescale/r).format(r/e.pricescale),t[n].title=$.t("Pip Size")):t[n].value=(t[n].formatter||u)(r),o++);return function(e,t){var n,i;for(n=0;n<t.length;n++)void 0===(i=t[n]).visibility||i.visibility(e)||(t.splice(n,1),n--)}(e,t),o}function p(e){var t,n;return e>N.minutesPerDay&&(e-=N.minutesPerDay),n=D((e-(t=e%60))/60,2)+":"+D(t,2),E.IS_RTL?E.startWithLTR(n):n}var m,f=n("PT1i").linking,d=n("+6ja").availableTimezones,y=n("kcTO").PriceFormatter,v=n("0waE"),g=n("q1tI"),h=n("i8i4"),S=n("ZzxF").SymbolInfoDialog,b=n("CzJ+").ExchangeSession,N=n("jCNj"),D=n("kcTO").numberToStringWithLeadingZero,E=n("Ialn"),T=n("IWXC").getQuoteSessionInstance,_=[N.MONDAY,N.TUESDAY,N.WEDNESDAY,N.THURSDAY,N.FRIDAY,N.SATURDAY,N.SUNDAY],w=_.reduce(function(t,n){return t[n<7?n+1:1]=e.weekdaysMin(n),t},{});t.showSymbolInfoDialog=function(e,t){var n,u,p,d,y,g;l({isOpened:!1}),null==e&&(e=f.symbol.value()),null!=e&&(e+="",n=t&&t.symbolInfo,u=[{title:$.t("Symbol Name"),propName:i.enabled("charting_library_base")?"name":"pro_name"},{title:$.t("Symbol Description"),propName:"description"},{title:$.t("Symbol Type"),propName:"type",formatter:function(e){return"bitcoin"===e||"crypto"===e?"crypto":e}},{title:$.t("Current Contract"),propName:"front_contract",visibility:o},{title:$.t("Point Value"),propName:"pointvalue"},{title:$.t("Exchange"),propName:"exchange"},{title:$.t("Listed Exchange"),propName:"listed_exchange"},{title:$.t("Currency"),propName:"currency_code",formatter:function(e){return e||"USD"},defValue:"USD"},{title:$.t("Price Scale"),propName:"pricescale"},{title:$.t("Min Move"),propName:"minmov"},{title:$.t("Min Move 2"),propName:"minmove2"},{title:$.t("Sector"),propName:"sector"},{
|
|
title:$.t("Industry"),propName:"industry"},{title:$.t("Timezone"),propName:"timezone",formatter:a,visibility:r},{title:$.t("Session"),propName:"session",formatter:c,visibility:r,setHtml:!0}],p=0,n&&(p=s(n,u)),p<u.length&&(d="symbolinfodialog."+v.guid(),(y=T("full")).subscribe(d,e,function(t,n){s(n.values,u),y.unsubscribe(d,e),l(g)})),l(g={isOpened:!0,onClose:function(){l({isOpened:!1}),m=null},fields:u}))}}).call(this,n("ldgD"),n("Kxc7"))},ZzxF:function(e,t,n){"use strict";var i,r,o,l,a,c,u,s;n.r(t),n.d(t,"SymbolInfoDialog",function(){return s}),i=n("mrSG"),n("YFKU"),r=n("q1tI"),o=n("WXjp"),l=n("AVTG"),a=n("g9Yu"),c=n("TSYQ"),u=n("ycI/"),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t.prototype.render=function(){return r.createElement(o.a,{className:a.popupDialog,isOpened:this.props.isOpened,onClickOutside:this.props.onClose},r.createElement(l.b,{onClose:this.props.onClose},window.t("Symbol Info")),r.createElement(l.a,null,r.createElement(u.a,{keyCode:27,handler:this.props.onClose}),r.createElement("div",{className:a.content},this._renderFields())))},t.prototype._renderFields=function(){return this.props.fields?this.props.fields.map(function(e){return r.createElement("div",{key:e.propName,className:a.row},r.createElement("div",{className:c(a.column,a.columnTitle)},r.createElement("span",{className:a.title},e.title)),r.createElement("div",{className:c(a.column,a.columnValue)},r.createElement("span",{className:a.value},function(e){var t=e.value||e.defValue||"-";return e.setHtml?r.createElement("span",{dangerouslySetInnerHTML:{__html:t}}):t}(e))))}):[]},t}(r.PureComponent)},g9Yu:function(e,t,n){e.exports={popupDialog:"popupDialog-2VK9ttEi-",content:"content-BtJ6qB4V-",row:"row-3iYHykfo-",column:"column-2FlX4ngi-",title:"title-22tx3Djt-",value:"value-2xvVEs1a-",columnTitle:"columnTitle-3ypCTDKd-",columnValue:"columnValue-Xr4j0qyI-"}}}]); |