Files
ai/charting_library/static/bundles/study-pane-views.d406bf2e4fc2b39d5015.js
Jenkins 9d8b63e068 VERSION 1.14 @ 2019-04-04 08:32:01.655131
x axis retains previous scale after restoring layout #3828
getVisiblePriceRange() not working in 1.14 (unstable) #3774
uppercase_instrument_names doesn't work for compare/overlay #3746
API method to trigger the Zoom Out #3739
Provide event that study properties was changed #3736
Fixed security issue in master #3699
widget.save have old data #3623
JS error on switching chart types #3602
Add a way to prevent scrolling beyond the beginning of bars #3597
Chart customization - overrides #3572
Theme override colors from saved_data #3557
Error while applying Pivot Points Indicator #3521
Month timeframe combining months #3510
initialSettings from settings adapter does not work #3479
Add Indexed to 100 mode for price scale #3391
RTL #3335
Add warning about incorrect usage disable_resolution_rebuild and has_empty_bars #3329
Unable to load DOME and Bottom Widget when open_account_manager disabled #3312
Randomly clickable area on chart that redirects user to tradingview.com #3299
Apply to all #3298
Save container element while charting library's life #3297
Gap appearing in chart layout #3246
User's colors not working when theme is enabled #3232
Chart is outside of visible range when in auto scale and load study template or load chart #3229
Please make getVisibleRange return the range in UTC #3173
Remove TradingView.onready from API #3162
Add API to export data from the chart #3152
Market status is not updated properly #3122
Placeholders disappear in "Compare or Add Symbol" popup when the cursor is set into the fields #2966
getVisibleRange to return 0, any way of getting the last bar in active chart ? #2757
"onListAdded" event is not fired when user click on "Save Watchlist As" #2654
Error report : Parabolic SAR #2205
TERMINAL: make a flag to disable support of stop orders #2181
Add Change % in the OHLC label Charting Library #2120
Request more bars for indicators #1362
Drawing tool does not work on Samsung Edge and  Note 5 #984
2019-04-04 11:32:07 +03:00

1 line
1.7 KiB
JavaScript

webpackJsonp([24],{703:function(e,t,i){"use strict";var n,r,s,d,a,o,l,h;Object.defineProperty(t,"__esModule",{value:!0}),i.d(t,"VertLinePaneView",function(){return h}),n=i(7),i.n(n),r=i(6),i.n(r),s=i(17),d=i(9),a=i(69),o=i(103),l=i(185),i.n(l),h=function(){function e(e,t){this._data=[],this._invalidated=!0,this._study=e,this._model=t}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,r.setData(n),r.setHitTest(new d.HitTestResult(d.HitTestResult.REGULAR)),e.append(r);return e},e.prototype._updateViewInternal=function(){var e,t,i,d,a,l,h,u=this;this._data=[],e=this._study.priceScale(),t=this._model.timeScale(),!e||e.isEmpty()||t.isEmpty()||(i=this._study.graphics().vertlines(),0!==i.size&&null!==(d=this._model.timeScale().visibleBars())&&null!=(a=this._study.firstValue())&&(l=d.firstBar(),h=d.lastBar(),i.forEach(function(i,d){var p,c,_,f,v,m,w,y,g,E,x,T,R,b=u._study.properties().graphics.vertlines[d];if(b.visible.value())for(p=0,c=i;p<c.length;p++)for(_=c[p],f=_.indexes,v=0,m=_.items;v<m.length;v++)w=m[v],(y=f[w.index])===s.REMOVE_INDEX_MAGIC_NUMBER||y<l||h<y||(g=t.indexToCoordinate(y)+1,E=w.extendBottom?e.height():e.priceToCoordinate(Object(n.ensureDefined)(w.startPrice),a),x=w.extendTop?0:e.priceToCoordinate(Object(n.ensureDefined)(w.endPrice),a),T=new r.Point(g,E),R=new r.Point(g,x),u._data.push({points:[T,R],extendleft:w.extendBottom,extendright:w.extendTop,leftend:o.LineEnd.Normal,rightend:o.LineEnd.Normal,width:t.width(),height:e.height(),color:b.color.value(),linewidth:b.width.value(),linestyle:b.style.value()}))})))},e}()}});