hqchart 1.1.14722 → 1.1.14734
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5205,7 +5205,7 @@ function JSChart(divElement, bOffscreen, bCacheCanvas)
|
|
|
5205
5205
|
if (item.BottomSpace>=0) chart.Frame.SubFrame[i].Frame.ChartBorder.BottomSpace=item.BottomSpace*pixelRatio;
|
|
5206
5206
|
|
|
5207
5207
|
//是否显示关闭集合竞价按钮
|
|
5208
|
-
if (IFrameSplitOperator.
|
|
5208
|
+
if (IFrameSplitOperator.IsBool(item.CloseBeforeButton)) chart.Frame.SubFrame[i].Frame.IsShowCloseButton=item.CloseBeforeButton;
|
|
5209
5209
|
|
|
5210
5210
|
if (item.ClientBGColor) subFrame.ClientBGColor=item.ClientBGColor;
|
|
5211
5211
|
if (!IFrameSplitOperator.IsUndefined(item.HorizontalReserved)) subFrame.HorizontalReserved=item.HorizontalReserved;
|
|
@@ -14316,6 +14316,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
14316
14316
|
frame.YSplitOperator.ChartBorder=frame.ChartBorder;
|
|
14317
14317
|
frame.YSplitOperator.SplitCount=subFrame.Frame.YSplitOperator.SplitCount;
|
|
14318
14318
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); };
|
|
14319
|
+
frame.YSplitOperator.HQChart=this;
|
|
14319
14320
|
|
|
14320
14321
|
overlayFrame.Frame=frame;
|
|
14321
14322
|
|
|
@@ -15249,6 +15250,27 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
15249
15250
|
chart.Canvas=this.Canvas;
|
|
15250
15251
|
chart.ChartBorder=frame.ChartBorder;
|
|
15251
15252
|
chart.ChartFrame=frame;
|
|
15253
|
+
chart.HQChart=this;
|
|
15254
|
+
|
|
15255
|
+
this.ChartPaintEx.push(chart);
|
|
15256
|
+
|
|
15257
|
+
return true;
|
|
15258
|
+
}
|
|
15259
|
+
|
|
15260
|
+
this.CreateChartPaintExtendV2=function(className, option, windowIndex)
|
|
15261
|
+
{
|
|
15262
|
+
if (windowIndex<0) return false;
|
|
15263
|
+
var subFrame=this.Frame.SubFrame[windowIndex];
|
|
15264
|
+
if (!subFrame || !subFrame.Frame) return false;
|
|
15265
|
+
|
|
15266
|
+
var chart=g_ChartPaintFactory.Create(className, option);
|
|
15267
|
+
if (!chart) return false;
|
|
15268
|
+
|
|
15269
|
+
var frame=subFrame.Frame;
|
|
15270
|
+
chart.Canvas=this.Canvas;
|
|
15271
|
+
chart.ChartBorder=frame.ChartBorder;
|
|
15272
|
+
chart.ChartFrame=frame;
|
|
15273
|
+
chart.HQChart=this;
|
|
15252
15274
|
|
|
15253
15275
|
this.ChartPaintEx.push(chart);
|
|
15254
15276
|
|
|
@@ -15791,6 +15813,12 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
15791
15813
|
|
|
15792
15814
|
return true;
|
|
15793
15815
|
}
|
|
15816
|
+
|
|
15817
|
+
//是否是额外的集合竞价部分
|
|
15818
|
+
this.IsCallAuctionFrame=function(frameID)
|
|
15819
|
+
{
|
|
15820
|
+
return false;
|
|
15821
|
+
}
|
|
15794
15822
|
}
|
|
15795
15823
|
|
|
15796
15824
|
function GetDevicePixelRatio()
|
|
@@ -29819,6 +29847,7 @@ function ChartPaintFactory()
|
|
|
29819
29847
|
["ChartMinuteVolumBar",{ Create:function(option) { return new ChartMinuteVolumBar(); } }], //分时成交量柱子
|
|
29820
29848
|
["ChartMinutePriceLine",{ Create:function(option) { return new ChartMinutePriceLine();} }],
|
|
29821
29849
|
["ChartMinuteBuySellBar", { Create:function(option){ return new ChartMinuteBuySellBar(); }}],
|
|
29850
|
+
["ChartMinuteBarCallAuction", { Create:function(option){ return new ChartMinuteBarCallAuction(); }}]
|
|
29822
29851
|
]);
|
|
29823
29852
|
|
|
29824
29853
|
this.Create=function(name, option)
|
|
@@ -30747,6 +30776,7 @@ function ChartKLine()
|
|
|
30747
30776
|
this.IsThinAKBar=true; //美国线 柱子是否是线段 (false=柱子)
|
|
30748
30777
|
this.OneLimitBarType=0; //一字板颜色类型 4个价格全部都在同一个价位上 0=使用平盘颜色 1=跟昨收比较
|
|
30749
30778
|
this.UnchangeBarType=0; //0=使用unchange color 1=和昨收比较
|
|
30779
|
+
this.EnableColorBar=false; //K线柱子是否支持自定义颜色
|
|
30750
30780
|
|
|
30751
30781
|
this.HighLowBarColor=g_JSChartResource.HighLowBarColor;
|
|
30752
30782
|
this.HighLowTextConfig=
|
|
@@ -31679,7 +31709,7 @@ function ChartKLine()
|
|
|
31679
31709
|
|
|
31680
31710
|
this.DrawKBar_Custom(data, dataWidth, barColor, drawType, kLineOption, x, y, left, right, yLow, yHigh, yOpen, yClose, border, isHScreen);
|
|
31681
31711
|
}
|
|
31682
|
-
else if (this.DrawType==9 && data.ColorData)
|
|
31712
|
+
else if ((this.DrawType==9 || this.EnableColorBar) && data.ColorData)
|
|
31683
31713
|
{
|
|
31684
31714
|
this.DrawColorKBar(data, data.ColorData, dataWidth, x, y, left, right, yLow, yHigh, yOpen, yClose, isHScreen);
|
|
31685
31715
|
}
|
|
@@ -38687,6 +38717,8 @@ function ChartMinuteVolumBar()
|
|
|
38687
38717
|
var isHScreen=(this.ChartFrame.IsHScreen===true);
|
|
38688
38718
|
var yPrice=this.YClose; //上一分钟的价格
|
|
38689
38719
|
var yBottom=this.ChartFrame.GetYFromData(0);
|
|
38720
|
+
var yBottom=border.BottomEx;
|
|
38721
|
+
if (isHScreen) yBottom=border.LeftEx;
|
|
38690
38722
|
var unit=this.GetVolUnit();
|
|
38691
38723
|
if (callAutionData.Ver==1.0)
|
|
38692
38724
|
{
|
|
@@ -38877,6 +38909,28 @@ function ChartMinuteVolumBar()
|
|
|
38877
38909
|
|
|
38878
38910
|
}
|
|
38879
38911
|
|
|
38912
|
+
//只画集合竞价柱子
|
|
38913
|
+
function ChartMinuteBarCallAuction()
|
|
38914
|
+
{
|
|
38915
|
+
this.newMethod=ChartMinuteVolumBar; //派生
|
|
38916
|
+
this.newMethod();
|
|
38917
|
+
delete this.newMethod;
|
|
38918
|
+
|
|
38919
|
+
this.ClassName="ChartMinuteBarCallAuction";
|
|
38920
|
+
|
|
38921
|
+
this.Draw=function()
|
|
38922
|
+
{
|
|
38923
|
+
if (!this.IsShow || this.ChartFrame.IsMinSize || !this.IsVisible) return;
|
|
38924
|
+
if (this.IsShowIndexTitleOnly()) return;
|
|
38925
|
+
|
|
38926
|
+
this.DrawBeforeOpen();
|
|
38927
|
+
this.DrawMultiDayBeforeOpen();
|
|
38928
|
+
|
|
38929
|
+
this.DrawAfterClose();
|
|
38930
|
+
this.DrawMultiDayAfterClose();
|
|
38931
|
+
}
|
|
38932
|
+
}
|
|
38933
|
+
|
|
38880
38934
|
function ChartErrorMessage()
|
|
38881
38935
|
{
|
|
38882
38936
|
this.newMethod=IChartPainting; //派生
|
|
@@ -44232,6 +44286,8 @@ function ChartOverlayMinutePriceLine()
|
|
|
44232
44286
|
}
|
|
44233
44287
|
|
|
44234
44288
|
|
|
44289
|
+
|
|
44290
|
+
|
|
44235
44291
|
//分钟持仓线
|
|
44236
44292
|
function ChartMinutePositionLine()
|
|
44237
44293
|
{
|
|
@@ -58359,7 +58415,8 @@ function FrameSplitY()
|
|
|
58359
58415
|
|
|
58360
58416
|
this.CallAcutionSplitY=function(count,splitData)
|
|
58361
58417
|
{
|
|
58362
|
-
if (this.
|
|
58418
|
+
if (!this.IsCallAuctionFrame()) return;
|
|
58419
|
+
|
|
58363
58420
|
var aryCallAcution=this.GetCallAcutionSplitY(count,splitData);
|
|
58364
58421
|
if (!aryCallAcution) return;
|
|
58365
58422
|
|
|
@@ -58387,9 +58444,18 @@ function FrameSplitY()
|
|
|
58387
58444
|
}
|
|
58388
58445
|
}
|
|
58389
58446
|
|
|
58447
|
+
this.IsCallAuctionFrame=function()
|
|
58448
|
+
{
|
|
58449
|
+
if (this.Frame.Identify==1) return true;
|
|
58450
|
+
|
|
58451
|
+
if (!this.HQChart || !this.HQChart.IsCallAuctionFrame) return false;
|
|
58452
|
+
|
|
58453
|
+
return this.HQChart.IsCallAuctionFrame(this.Frame.Identify);
|
|
58454
|
+
}
|
|
58455
|
+
|
|
58390
58456
|
this.GetCallAcutionSplitY=function(count,splitData)
|
|
58391
58457
|
{
|
|
58392
|
-
if (this.
|
|
58458
|
+
if (!this.IsCallAuctionFrame()) return null;
|
|
58393
58459
|
|
|
58394
58460
|
var isBeforeData=(this.IsBeforeData==true && this.BeforeOpenData && (this.BeforeOpenData.Ver==2.0 || this.BeforeOpenData.Ver==3.0));
|
|
58395
58461
|
var isAfterData=(this.IsAfterData==true && this.AfterCloseData && (this.AfterCloseData.Ver==2.0 || this.AfterCloseData.Ver==3.0));
|
|
@@ -58404,7 +58470,7 @@ function FrameSplitY()
|
|
|
58404
58470
|
for(var i=0;i<count;++i)
|
|
58405
58471
|
{
|
|
58406
58472
|
var item=new CoordinateInfo();
|
|
58407
|
-
var yValue=intervalY*i;
|
|
58473
|
+
var yValue=intervalY*i+splitData.Min;
|
|
58408
58474
|
item.Value=yValue;
|
|
58409
58475
|
item.LineType=8;
|
|
58410
58476
|
if (isBeforeData )
|
|
@@ -58454,7 +58520,7 @@ function FrameSplitY()
|
|
|
58454
58520
|
for(var i=0;i<count;++i)
|
|
58455
58521
|
{
|
|
58456
58522
|
var item=new CoordinateInfo();
|
|
58457
|
-
var yValue=intervalY*i;
|
|
58523
|
+
var yValue=intervalY*i+splitData.Min;
|
|
58458
58524
|
item.Value=yValue;
|
|
58459
58525
|
item.LineType=9;
|
|
58460
58526
|
var isVaild=false;
|
|
@@ -60466,6 +60532,28 @@ function ChartCorssCursor()
|
|
|
60466
60532
|
|
|
60467
60533
|
this.CalculateComplexTextSize(complexText, textSize);
|
|
60468
60534
|
|
|
60535
|
+
//计算右侧文本输出顶部位置
|
|
60536
|
+
function _Temp_CalculateRightTextBGTop(rtBG, complexText, defaultTextHeight)
|
|
60537
|
+
{
|
|
60538
|
+
if (complexText.ShowType==1)
|
|
60539
|
+
{
|
|
60540
|
+
var yValue=defaultTextHeight/2;
|
|
60541
|
+
if (IFrameSplitOperator.IsNonEmptyArray(textSize.Text) && textSize.Text[0])
|
|
60542
|
+
{
|
|
60543
|
+
var itemSize=textSize.Text[0];
|
|
60544
|
+
if (IFrameSplitOperator.IsNumber(itemSize.Height)) yValue=itemSize.Height/2;
|
|
60545
|
+
}
|
|
60546
|
+
|
|
60547
|
+
rtBG.Top=rtBG.YCenter-yValue;
|
|
60548
|
+
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60549
|
+
}
|
|
60550
|
+
else
|
|
60551
|
+
{
|
|
60552
|
+
rtBG.Top=rtBG.YCenter-rtBG.Height/2;
|
|
60553
|
+
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60554
|
+
}
|
|
60555
|
+
}
|
|
60556
|
+
|
|
60469
60557
|
if (this.Frame.ChartBorder.Right>=30 && this.ShowTextMode.Right==1)
|
|
60470
60558
|
{
|
|
60471
60559
|
var isOverlayIndex=false; //是否有叠加子坐标
|
|
@@ -60496,17 +60584,8 @@ function ChartCorssCursor()
|
|
|
60496
60584
|
{
|
|
60497
60585
|
var rtBG={ Right:right+overlayIndexInterval, Width:textSize.Width, YCenter:y, Height:textSize.Height };
|
|
60498
60586
|
rtBG.Left=rtBG.Right-rtBG.Width;
|
|
60499
|
-
|
|
60500
|
-
|
|
60501
|
-
rtBG.Top=rtBG.YCenter-this.TextHeight/2;
|
|
60502
|
-
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60503
|
-
}
|
|
60504
|
-
else
|
|
60505
|
-
{
|
|
60506
|
-
rtBG.Top=rtBG.YCenter-rtBG.Height/2;
|
|
60507
|
-
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60508
|
-
}
|
|
60509
|
-
|
|
60587
|
+
_Temp_CalculateRightTextBGTop(rtBG,complexText,this.TextHeight);
|
|
60588
|
+
|
|
60510
60589
|
if (rtBG.Right>chartRight)
|
|
60511
60590
|
{
|
|
60512
60591
|
rtBG.Right=chartRight;
|
|
@@ -60525,16 +60604,7 @@ function ChartCorssCursor()
|
|
|
60525
60604
|
{
|
|
60526
60605
|
var rtBG={ Left:right+1, Width:textSize.Width, YCenter:y, Height:textSize.Height };
|
|
60527
60606
|
rtBG.Right=rtBG.Left+rtBG.Width;
|
|
60528
|
-
|
|
60529
|
-
{
|
|
60530
|
-
rtBG.Top=rtBG.YCenter-this.TextHeight/2;
|
|
60531
|
-
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60532
|
-
}
|
|
60533
|
-
else
|
|
60534
|
-
{
|
|
60535
|
-
rtBG.Top=rtBG.YCenter-rtBG.Height/2;
|
|
60536
|
-
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60537
|
-
}
|
|
60607
|
+
_Temp_CalculateRightTextBGTop(rtBG,complexText,this.TextHeight);
|
|
60538
60608
|
|
|
60539
60609
|
if (rtBG.Right>chartRight)
|
|
60540
60610
|
{
|
|
@@ -60552,11 +60622,9 @@ function ChartCorssCursor()
|
|
|
60552
60622
|
{
|
|
60553
60623
|
var rtBG={ Right:right, Width:textSize.Width, YCenter:y, Height:textSize.Height };
|
|
60554
60624
|
rtBG.Left=rtBG.Right-rtBG.Width;
|
|
60555
|
-
rtBG.
|
|
60556
|
-
|
|
60557
|
-
|
|
60625
|
+
_Temp_CalculateRightTextBGTop(rtBG,complexText,this.TextHeight);
|
|
60626
|
+
|
|
60558
60627
|
this.Canvas.fillStyle=this.TextBGColor;
|
|
60559
|
-
var showLeft=right-textSize.Width;
|
|
60560
60628
|
this.DrawTextBGRect(rtBG.Left,rtBG.Top,rtBG.Width,rtBG.Height);
|
|
60561
60629
|
this.DrawComplexRightText(rtBG,complexText,textSize);
|
|
60562
60630
|
|
|
@@ -61796,6 +61864,7 @@ function HQPriceStringFormat()
|
|
|
61796
61864
|
this.RComplexText; //{ Space:2 间距, Text:[ {Color:, Text: }] } 支持单行多颜色
|
|
61797
61865
|
this.Point;
|
|
61798
61866
|
this.ClientPos=-1;
|
|
61867
|
+
this.HQChart;
|
|
61799
61868
|
|
|
61800
61869
|
this.ExtendChartPaint;
|
|
61801
61870
|
this.RExtendText=[];
|
|
@@ -61948,6 +62017,32 @@ function HQPriceStringFormat()
|
|
|
61948
62017
|
if (this.DataFormatType==1) this.Text=IFrameSplitOperator.FormatValueThousandsString(this.Value,defaultfloatPrecision);
|
|
61949
62018
|
else this.Text=IFrameSplitOperator.FormatValueString(this.Value,defaultfloatPrecision,this.LanguageID);
|
|
61950
62019
|
if (IFrameSplitOperator.IsNumber(this.RValue)) this.RText=IFrameSplitOperator.FormatValueString(this.RValue,defaultfloatPrecision,this.LanguageID);
|
|
62020
|
+
|
|
62021
|
+
var bCallAuction=false;
|
|
62022
|
+
if (this.HQChart && this.HQChart.IsCallAuctionFrame)
|
|
62023
|
+
bCallAuction=this.HQChart.IsCallAuctionFrame(this.FrameID);
|
|
62024
|
+
|
|
62025
|
+
if (bCallAuction)
|
|
62026
|
+
{
|
|
62027
|
+
if (this.ClientPos==2)
|
|
62028
|
+
{
|
|
62029
|
+
this.GetBeforeOpen();
|
|
62030
|
+
}
|
|
62031
|
+
else if (this.ClientPos==3)
|
|
62032
|
+
{
|
|
62033
|
+
if (this.ShareAfterVol==0 || this.ShareAfterVol==2)
|
|
62034
|
+
this.GetAfterClose();
|
|
62035
|
+
}
|
|
62036
|
+
else if (this.ClientPos>=200 && this.ClientPos<=299)
|
|
62037
|
+
{
|
|
62038
|
+
this.GetMultiDayBeforeOpen();
|
|
62039
|
+
}
|
|
62040
|
+
else if (this.ClientPos>=300 && this.ClientPos<=399 )
|
|
62041
|
+
{
|
|
62042
|
+
if (this.ShareAfterVol==0 || this.ShareAfterVol==2)
|
|
62043
|
+
this.GetMultiDayAfterClose();
|
|
62044
|
+
}
|
|
62045
|
+
}
|
|
61951
62046
|
}
|
|
61952
62047
|
|
|
61953
62048
|
if (this.GetEventCallback)
|
|
@@ -65086,8 +65181,11 @@ function DynamicChartTitlePainting()
|
|
|
65086
65181
|
if (this.IsMinuteFrame && this.PointInfo && ( this.PointInfo.ClientPos==2 || this.PointInfo.ClientPos==3 || (this.PointInfo.ClientPos>=200&& this.PointInfo.ClientPos<=299) || (this.PointInfo.ClientPos>=300&& this.PointInfo.ClientPos<=399) ))
|
|
65087
65182
|
{
|
|
65088
65183
|
var result={ PreventDefault:false }
|
|
65089
|
-
|
|
65090
|
-
if (
|
|
65184
|
+
var yRight=right;
|
|
65185
|
+
if (this.Frame.ToolbarCacheSize && this.Frame.ToolbarCacheSize.RToolbar) yRight=this.Frame.ToolbarCacheSize.RToolbar.Left-2; //右侧按钮宽度要去掉
|
|
65186
|
+
this.DrawMainCallAuction({ Left:left, Right:yRight, Bottom:bottom }, rtText, result);
|
|
65187
|
+
if (result.PreventDefault===false) this.DrawMainIndexTitle({ Left:left, Right:yRight, Bottom:bottom }, isShowLastData, rtText);
|
|
65188
|
+
if (IFrameSplitOperator.IsNumber(rtText.Bottom)) bottom=rtText.Bottom;
|
|
65091
65189
|
}
|
|
65092
65190
|
else
|
|
65093
65191
|
{
|
|
@@ -83348,6 +83446,7 @@ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
|
|
|
83348
83446
|
this.ChartCorssCursor.StringFormatY.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
83349
83447
|
this.ChartCorssCursor.StringFormatY.LanguageID=this.LanguageID;
|
|
83350
83448
|
this.ChartCorssCursor.StringFormatY.ExtendChartPaint=this.ExtendChartPaint;
|
|
83449
|
+
this.ChartCorssCursor.StringFormatY.HQChart=this;
|
|
83351
83450
|
this.ChartCorssCursor.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
83352
83451
|
this.ChartCorssCursor.OnChangeStatusCallback=(data, obj)=>{ this.OnChangeCorssCursorStatus(data,obj); }
|
|
83353
83452
|
|
|
@@ -93215,6 +93314,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
93215
93314
|
this.ChartCorssCursor.StringFormatY.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
93216
93315
|
this.ChartCorssCursor.StringFormatY.LanguageID=this.LanguageID;
|
|
93217
93316
|
this.ChartCorssCursor.StringFormatY.ShareAfterVol=this.ShareAfterVol;
|
|
93317
|
+
this.ChartCorssCursor.StringFormatY.HQChart=this;
|
|
93218
93318
|
this.ChartCorssCursor.CallAcutionXOperator=new CallAcutionXOperator();
|
|
93219
93319
|
this.ChartCorssCursor.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
93220
93320
|
this.ChartCorssCursor.OnChangeStatusCallback=(data, obj)=>{ this.OnChangeCorssCursorStatus(data,obj); }
|
|
@@ -93332,6 +93432,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
93332
93432
|
frame.YSplitOperator.LanguageID=this.LanguageID;
|
|
93333
93433
|
frame.YSplitOperator.FrameSplitData=this.FrameSplitData.get('double');
|
|
93334
93434
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
93435
|
+
frame.YSplitOperator.HQChart=this;
|
|
93335
93436
|
if (i==1) frame.YSplitOperator.ShareAfterVol=this.ShareAfterVol;
|
|
93336
93437
|
}
|
|
93337
93438
|
|
|
@@ -93407,6 +93508,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
93407
93508
|
frame.YSplitOperator.FrameSplitData=this.FrameSplitData.get('double');
|
|
93408
93509
|
frame.YSplitOperator.Frame=frame;
|
|
93409
93510
|
frame.YSplitOperator.ChartBorder=border;
|
|
93511
|
+
frame.YSplitOperator.HQChart=this;
|
|
93410
93512
|
frame.XSplitOperator=new FrameSplitMinuteX();
|
|
93411
93513
|
frame.XSplitOperator.Frame=frame;
|
|
93412
93514
|
frame.XSplitOperator.ChartBorder=border;
|
|
@@ -95803,6 +95905,20 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
95803
95905
|
this.ChartPaint[2].MultiDayBeforeOpenData=multiBeforeOpenData;
|
|
95804
95906
|
this.ChartPaint[2].MultiDayAfterCloseData=multiAfterCloseData;
|
|
95805
95907
|
|
|
95908
|
+
for(var i=0;i<this.ChartPaintEx.length;++i)
|
|
95909
|
+
{
|
|
95910
|
+
var item=this.ChartPaintEx[i];
|
|
95911
|
+
if (item.ClassName=="ChartMinuteBarCallAuction")
|
|
95912
|
+
{
|
|
95913
|
+
item.YClose=yClose;
|
|
95914
|
+
item.Symbol=this.Symbol;
|
|
95915
|
+
item.BeforeOpenData=this.BeforeOpenData;
|
|
95916
|
+
item.AfterCloseData=this.AfterCloseData;
|
|
95917
|
+
item.MultiDayBeforeOpenData=multiBeforeOpenData;
|
|
95918
|
+
item.MultiDayAfterCloseData=multiAfterCloseData;
|
|
95919
|
+
}
|
|
95920
|
+
}
|
|
95921
|
+
|
|
95806
95922
|
for(var i in this.Frame.SubFrame)
|
|
95807
95923
|
{
|
|
95808
95924
|
var item=this.Frame.SubFrame[i];
|
|
@@ -95915,6 +96031,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
95915
96031
|
frame.YSplitOperator.FrameSplitData=this.FrameSplitData.get('double');
|
|
95916
96032
|
frame.YSplitOperator.Frame=frame;
|
|
95917
96033
|
frame.YSplitOperator.ChartBorder=frame.ChartBorder;
|
|
96034
|
+
frame.YSplitOperator.HQChart=this;
|
|
95918
96035
|
frame.YSplitOperator.SplitCount=subFrame.Frame.YSplitOperator.SplitCount;
|
|
95919
96036
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); };
|
|
95920
96037
|
frame.YSplitOperator.OverlayIdentify=overlayFrame.Identify;
|
|
@@ -96917,6 +97034,25 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
96917
97034
|
|
|
96918
97035
|
return data;
|
|
96919
97036
|
}
|
|
97037
|
+
|
|
97038
|
+
this.IsCallAuctionFrame=function(frameID)
|
|
97039
|
+
{
|
|
97040
|
+
if (!IFrameSplitOperator.IsNonEmptyArray(this.ChartPaintEx)) return false;
|
|
97041
|
+
if (!IFrameSplitOperator.IsNonEmptyArray(this.Frame.SubFrame)) return false;
|
|
97042
|
+
if (frameID<0 || frameID>=this.Frame.SubFrame.length) return false;
|
|
97043
|
+
var subItem=this.Frame.SubFrame[frameID];
|
|
97044
|
+
if (!subItem || !subItem.Frame) return false;
|
|
97045
|
+
|
|
97046
|
+
var subFrame=subItem.Frame;
|
|
97047
|
+
for(var i=0;i<this.ChartPaintEx.length;++i)
|
|
97048
|
+
{
|
|
97049
|
+
var item=this.ChartPaintEx[i];
|
|
97050
|
+
if (item.ChartFrame && item.ChartFrame.Guid==subFrame.Guid)
|
|
97051
|
+
return true;
|
|
97052
|
+
}
|
|
97053
|
+
|
|
97054
|
+
return false;
|
|
97055
|
+
}
|
|
96920
97056
|
}
|
|
96921
97057
|
|
|
96922
97058
|
//盘前数据
|
|
@@ -98740,6 +98876,7 @@ function KLineChartHScreenContainer(uielement)
|
|
|
98740
98876
|
this.ChartCorssCursor.StringFormatY=g_DivTooltipDataForamt.Create("CorssCursor_YStringFormat");
|
|
98741
98877
|
this.ChartCorssCursor.StringFormatY.LanguageID=this.LanguageID;
|
|
98742
98878
|
this.ChartCorssCursor.StringFormatY.ExtendChartPaint=this.ExtendChartPaint;
|
|
98879
|
+
this.ChartCorssCursor.StringFormatY.HQChart=this;
|
|
98743
98880
|
this.ChartCorssCursor.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
98744
98881
|
|
|
98745
98882
|
//创建等待提示
|
|
@@ -98921,6 +99058,7 @@ function MinuteChartHScreenContainer(uielement)
|
|
|
98921
99058
|
this.ChartCorssCursor.StringFormatX.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
98922
99059
|
this.ChartCorssCursor.StringFormatY=g_DivTooltipDataForamt.Create("CorssCursor_YStringFormat");
|
|
98923
99060
|
this.ChartCorssCursor.StringFormatY.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
99061
|
+
this.ChartCorssCursor.StringFormatY.HQChart=this;
|
|
98924
99062
|
this.ChartCorssCursor.CallAcutionXOperator=new CallAcutionXOperator();
|
|
98925
99063
|
this.ChartCorssCursor.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
98926
99064
|
|
|
@@ -98998,6 +99136,7 @@ function MinuteChartHScreenContainer(uielement)
|
|
|
98998
99136
|
frame.YSplitOperator.LanguageID=this.LanguageID;
|
|
98999
99137
|
frame.YSplitOperator.FrameSplitData=this.FrameSplitData.get('double');
|
|
99000
99138
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
99139
|
+
frame.YSplitOperator.HQChart=this;
|
|
99001
99140
|
}
|
|
99002
99141
|
|
|
99003
99142
|
frame.YSplitOperator.Frame=frame;
|
|
@@ -147994,7 +148133,7 @@ function ScrollBarBGChart()
|
|
|
147994
148133
|
|
|
147995
148134
|
|
|
147996
148135
|
|
|
147997
|
-
var HQCHART_VERSION="1.1.
|
|
148136
|
+
var HQCHART_VERSION="1.1.14733";
|
|
147998
148137
|
|
|
147999
148138
|
function PrintHQChartVersion()
|
|
148000
148139
|
{
|