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
1 line
1.9 KiB
JavaScript
1 line
1.9 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["study-pane-views"],{psYU:function(e,t,i){"use strict";var n,r,s,o,a,d,l,h;i.r(t),i.d(t,"VertLinePaneView",function(){return h}),n=i("Eyy1"),r=i("aO4+"),s=i("k9/m"),o=i("VdBB"),a=i("Zy3/"),d=i("a7Ha"),l=i("pJOz"),h=function(){function e(e,t,i){this._data=[],this._invalidated=!0,this._provider=e,this._model=t,this._hitTestResult=void 0!==i?new o.HitTestResult(o.HitTestResult.CUSTOM,i):new o.HitTestResult(o.HitTestResult.REGULAR)}return e.prototype.update=function(){this._invalidated=!0},e.prototype.renderer=function(){var e,t,i,n,r;for(this._invalidated&&(this._updateViewInternal(),this._invalidated=!1),e=new a.CompositeRenderer,t=0,i=this._data;t<i.length;t++)n=i[t],(r=new l.TrendLineRenderer).setData(n),r.setHitTest(this._hitTestResult),e.append(r);return e},e.prototype._updateViewInternal=function(){var e,t,i,o,a,l,h,p=this;this._data=[],e=this._provider.priceScale(),t=this._model.timeScale(),!e||e.isEmpty()||t.isEmpty()||0!==(i=this._provider.graphics().vertlines()).size&&null!==(o=this._model.timeScale().visibleBarsStrictRange())&&null!==(a=this._provider.firstValue())&&(l=o.firstBar(),h=o.lastBar(),i.forEach(function(i,o){var u,c,v,_,w,f,m,T,R,g,y,E,x,B=p._provider.properties().graphics.vertlines[o];if(B.visible.value())for(u=0,c=i;u<c.length;u++)for(_=(v=c[u]).indexes,w=0,f=v.items;w<f.length;w++)(T=_[(m=f[w]).index])===s.REMOVE_INDEX_MAGIC_NUMBER||T<l||h<T||(R=t.indexToCoordinate(T)+1,g=m.extendBottom?e.height():e.priceToCoordinate(Object(n.ensureDefined)(m.startPrice),a),y=m.extendTop?0:e.priceToCoordinate(Object(n.ensureDefined)(m.endPrice),a),E=new r.Point(R,g),x=new r.Point(R,y),p._data.push({points:[E,x],extendleft:m.extendBottom,extendright:m.extendTop,leftend:d.LineEnd.Normal,rightend:d.LineEnd.Normal,width:t.width(),height:e.height(),color:B.color.value(),linewidth:B.width.value(),linestyle:B.style.value()}))}))},e}()}}]); |