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.
|
@@ -5249,7 +5249,7 @@ function JSChart(divElement, bOffscreen, bCacheCanvas)
|
|
|
5249
5249
|
if (item.BottomSpace>=0) chart.Frame.SubFrame[i].Frame.ChartBorder.BottomSpace=item.BottomSpace*pixelRatio;
|
|
5250
5250
|
|
|
5251
5251
|
//是否显示关闭集合竞价按钮
|
|
5252
|
-
if (IFrameSplitOperator.
|
|
5252
|
+
if (IFrameSplitOperator.IsBool(item.CloseBeforeButton)) chart.Frame.SubFrame[i].Frame.IsShowCloseButton=item.CloseBeforeButton;
|
|
5253
5253
|
|
|
5254
5254
|
if (item.ClientBGColor) subFrame.ClientBGColor=item.ClientBGColor;
|
|
5255
5255
|
if (!IFrameSplitOperator.IsUndefined(item.HorizontalReserved)) subFrame.HorizontalReserved=item.HorizontalReserved;
|
|
@@ -14360,6 +14360,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
14360
14360
|
frame.YSplitOperator.ChartBorder=frame.ChartBorder;
|
|
14361
14361
|
frame.YSplitOperator.SplitCount=subFrame.Frame.YSplitOperator.SplitCount;
|
|
14362
14362
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); };
|
|
14363
|
+
frame.YSplitOperator.HQChart=this;
|
|
14363
14364
|
|
|
14364
14365
|
overlayFrame.Frame=frame;
|
|
14365
14366
|
|
|
@@ -15293,6 +15294,27 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
15293
15294
|
chart.Canvas=this.Canvas;
|
|
15294
15295
|
chart.ChartBorder=frame.ChartBorder;
|
|
15295
15296
|
chart.ChartFrame=frame;
|
|
15297
|
+
chart.HQChart=this;
|
|
15298
|
+
|
|
15299
|
+
this.ChartPaintEx.push(chart);
|
|
15300
|
+
|
|
15301
|
+
return true;
|
|
15302
|
+
}
|
|
15303
|
+
|
|
15304
|
+
this.CreateChartPaintExtendV2=function(className, option, windowIndex)
|
|
15305
|
+
{
|
|
15306
|
+
if (windowIndex<0) return false;
|
|
15307
|
+
var subFrame=this.Frame.SubFrame[windowIndex];
|
|
15308
|
+
if (!subFrame || !subFrame.Frame) return false;
|
|
15309
|
+
|
|
15310
|
+
var chart=g_ChartPaintFactory.Create(className, option);
|
|
15311
|
+
if (!chart) return false;
|
|
15312
|
+
|
|
15313
|
+
var frame=subFrame.Frame;
|
|
15314
|
+
chart.Canvas=this.Canvas;
|
|
15315
|
+
chart.ChartBorder=frame.ChartBorder;
|
|
15316
|
+
chart.ChartFrame=frame;
|
|
15317
|
+
chart.HQChart=this;
|
|
15296
15318
|
|
|
15297
15319
|
this.ChartPaintEx.push(chart);
|
|
15298
15320
|
|
|
@@ -15835,6 +15857,12 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
15835
15857
|
|
|
15836
15858
|
return true;
|
|
15837
15859
|
}
|
|
15860
|
+
|
|
15861
|
+
//是否是额外的集合竞价部分
|
|
15862
|
+
this.IsCallAuctionFrame=function(frameID)
|
|
15863
|
+
{
|
|
15864
|
+
return false;
|
|
15865
|
+
}
|
|
15838
15866
|
}
|
|
15839
15867
|
|
|
15840
15868
|
function GetDevicePixelRatio()
|
|
@@ -29863,6 +29891,7 @@ function ChartPaintFactory()
|
|
|
29863
29891
|
["ChartMinuteVolumBar",{ Create:function(option) { return new ChartMinuteVolumBar(); } }], //分时成交量柱子
|
|
29864
29892
|
["ChartMinutePriceLine",{ Create:function(option) { return new ChartMinutePriceLine();} }],
|
|
29865
29893
|
["ChartMinuteBuySellBar", { Create:function(option){ return new ChartMinuteBuySellBar(); }}],
|
|
29894
|
+
["ChartMinuteBarCallAuction", { Create:function(option){ return new ChartMinuteBarCallAuction(); }}]
|
|
29866
29895
|
]);
|
|
29867
29896
|
|
|
29868
29897
|
this.Create=function(name, option)
|
|
@@ -30791,6 +30820,7 @@ function ChartKLine()
|
|
|
30791
30820
|
this.IsThinAKBar=true; //美国线 柱子是否是线段 (false=柱子)
|
|
30792
30821
|
this.OneLimitBarType=0; //一字板颜色类型 4个价格全部都在同一个价位上 0=使用平盘颜色 1=跟昨收比较
|
|
30793
30822
|
this.UnchangeBarType=0; //0=使用unchange color 1=和昨收比较
|
|
30823
|
+
this.EnableColorBar=false; //K线柱子是否支持自定义颜色
|
|
30794
30824
|
|
|
30795
30825
|
this.HighLowBarColor=g_JSChartResource.HighLowBarColor;
|
|
30796
30826
|
this.HighLowTextConfig=
|
|
@@ -31723,7 +31753,7 @@ function ChartKLine()
|
|
|
31723
31753
|
|
|
31724
31754
|
this.DrawKBar_Custom(data, dataWidth, barColor, drawType, kLineOption, x, y, left, right, yLow, yHigh, yOpen, yClose, border, isHScreen);
|
|
31725
31755
|
}
|
|
31726
|
-
else if (this.DrawType==9 && data.ColorData)
|
|
31756
|
+
else if ((this.DrawType==9 || this.EnableColorBar) && data.ColorData)
|
|
31727
31757
|
{
|
|
31728
31758
|
this.DrawColorKBar(data, data.ColorData, dataWidth, x, y, left, right, yLow, yHigh, yOpen, yClose, isHScreen);
|
|
31729
31759
|
}
|
|
@@ -38731,6 +38761,8 @@ function ChartMinuteVolumBar()
|
|
|
38731
38761
|
var isHScreen=(this.ChartFrame.IsHScreen===true);
|
|
38732
38762
|
var yPrice=this.YClose; //上一分钟的价格
|
|
38733
38763
|
var yBottom=this.ChartFrame.GetYFromData(0);
|
|
38764
|
+
var yBottom=border.BottomEx;
|
|
38765
|
+
if (isHScreen) yBottom=border.LeftEx;
|
|
38734
38766
|
var unit=this.GetVolUnit();
|
|
38735
38767
|
if (callAutionData.Ver==1.0)
|
|
38736
38768
|
{
|
|
@@ -38921,6 +38953,28 @@ function ChartMinuteVolumBar()
|
|
|
38921
38953
|
|
|
38922
38954
|
}
|
|
38923
38955
|
|
|
38956
|
+
//只画集合竞价柱子
|
|
38957
|
+
function ChartMinuteBarCallAuction()
|
|
38958
|
+
{
|
|
38959
|
+
this.newMethod=ChartMinuteVolumBar; //派生
|
|
38960
|
+
this.newMethod();
|
|
38961
|
+
delete this.newMethod;
|
|
38962
|
+
|
|
38963
|
+
this.ClassName="ChartMinuteBarCallAuction";
|
|
38964
|
+
|
|
38965
|
+
this.Draw=function()
|
|
38966
|
+
{
|
|
38967
|
+
if (!this.IsShow || this.ChartFrame.IsMinSize || !this.IsVisible) return;
|
|
38968
|
+
if (this.IsShowIndexTitleOnly()) return;
|
|
38969
|
+
|
|
38970
|
+
this.DrawBeforeOpen();
|
|
38971
|
+
this.DrawMultiDayBeforeOpen();
|
|
38972
|
+
|
|
38973
|
+
this.DrawAfterClose();
|
|
38974
|
+
this.DrawMultiDayAfterClose();
|
|
38975
|
+
}
|
|
38976
|
+
}
|
|
38977
|
+
|
|
38924
38978
|
function ChartErrorMessage()
|
|
38925
38979
|
{
|
|
38926
38980
|
this.newMethod=IChartPainting; //派生
|
|
@@ -44276,6 +44330,8 @@ function ChartOverlayMinutePriceLine()
|
|
|
44276
44330
|
}
|
|
44277
44331
|
|
|
44278
44332
|
|
|
44333
|
+
|
|
44334
|
+
|
|
44279
44335
|
//分钟持仓线
|
|
44280
44336
|
function ChartMinutePositionLine()
|
|
44281
44337
|
{
|
|
@@ -58403,7 +58459,8 @@ function FrameSplitY()
|
|
|
58403
58459
|
|
|
58404
58460
|
this.CallAcutionSplitY=function(count,splitData)
|
|
58405
58461
|
{
|
|
58406
|
-
if (this.
|
|
58462
|
+
if (!this.IsCallAuctionFrame()) return;
|
|
58463
|
+
|
|
58407
58464
|
var aryCallAcution=this.GetCallAcutionSplitY(count,splitData);
|
|
58408
58465
|
if (!aryCallAcution) return;
|
|
58409
58466
|
|
|
@@ -58431,9 +58488,18 @@ function FrameSplitY()
|
|
|
58431
58488
|
}
|
|
58432
58489
|
}
|
|
58433
58490
|
|
|
58491
|
+
this.IsCallAuctionFrame=function()
|
|
58492
|
+
{
|
|
58493
|
+
if (this.Frame.Identify==1) return true;
|
|
58494
|
+
|
|
58495
|
+
if (!this.HQChart || !this.HQChart.IsCallAuctionFrame) return false;
|
|
58496
|
+
|
|
58497
|
+
return this.HQChart.IsCallAuctionFrame(this.Frame.Identify);
|
|
58498
|
+
}
|
|
58499
|
+
|
|
58434
58500
|
this.GetCallAcutionSplitY=function(count,splitData)
|
|
58435
58501
|
{
|
|
58436
|
-
if (this.
|
|
58502
|
+
if (!this.IsCallAuctionFrame()) return null;
|
|
58437
58503
|
|
|
58438
58504
|
var isBeforeData=(this.IsBeforeData==true && this.BeforeOpenData && (this.BeforeOpenData.Ver==2.0 || this.BeforeOpenData.Ver==3.0));
|
|
58439
58505
|
var isAfterData=(this.IsAfterData==true && this.AfterCloseData && (this.AfterCloseData.Ver==2.0 || this.AfterCloseData.Ver==3.0));
|
|
@@ -58448,7 +58514,7 @@ function FrameSplitY()
|
|
|
58448
58514
|
for(var i=0;i<count;++i)
|
|
58449
58515
|
{
|
|
58450
58516
|
var item=new CoordinateInfo();
|
|
58451
|
-
var yValue=intervalY*i;
|
|
58517
|
+
var yValue=intervalY*i+splitData.Min;
|
|
58452
58518
|
item.Value=yValue;
|
|
58453
58519
|
item.LineType=8;
|
|
58454
58520
|
if (isBeforeData )
|
|
@@ -58498,7 +58564,7 @@ function FrameSplitY()
|
|
|
58498
58564
|
for(var i=0;i<count;++i)
|
|
58499
58565
|
{
|
|
58500
58566
|
var item=new CoordinateInfo();
|
|
58501
|
-
var yValue=intervalY*i;
|
|
58567
|
+
var yValue=intervalY*i+splitData.Min;
|
|
58502
58568
|
item.Value=yValue;
|
|
58503
58569
|
item.LineType=9;
|
|
58504
58570
|
var isVaild=false;
|
|
@@ -60510,6 +60576,28 @@ function ChartCorssCursor()
|
|
|
60510
60576
|
|
|
60511
60577
|
this.CalculateComplexTextSize(complexText, textSize);
|
|
60512
60578
|
|
|
60579
|
+
//计算右侧文本输出顶部位置
|
|
60580
|
+
function _Temp_CalculateRightTextBGTop(rtBG, complexText, defaultTextHeight)
|
|
60581
|
+
{
|
|
60582
|
+
if (complexText.ShowType==1)
|
|
60583
|
+
{
|
|
60584
|
+
var yValue=defaultTextHeight/2;
|
|
60585
|
+
if (IFrameSplitOperator.IsNonEmptyArray(textSize.Text) && textSize.Text[0])
|
|
60586
|
+
{
|
|
60587
|
+
var itemSize=textSize.Text[0];
|
|
60588
|
+
if (IFrameSplitOperator.IsNumber(itemSize.Height)) yValue=itemSize.Height/2;
|
|
60589
|
+
}
|
|
60590
|
+
|
|
60591
|
+
rtBG.Top=rtBG.YCenter-yValue;
|
|
60592
|
+
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60593
|
+
}
|
|
60594
|
+
else
|
|
60595
|
+
{
|
|
60596
|
+
rtBG.Top=rtBG.YCenter-rtBG.Height/2;
|
|
60597
|
+
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60598
|
+
}
|
|
60599
|
+
}
|
|
60600
|
+
|
|
60513
60601
|
if (this.Frame.ChartBorder.Right>=30 && this.ShowTextMode.Right==1)
|
|
60514
60602
|
{
|
|
60515
60603
|
var isOverlayIndex=false; //是否有叠加子坐标
|
|
@@ -60540,17 +60628,8 @@ function ChartCorssCursor()
|
|
|
60540
60628
|
{
|
|
60541
60629
|
var rtBG={ Right:right+overlayIndexInterval, Width:textSize.Width, YCenter:y, Height:textSize.Height };
|
|
60542
60630
|
rtBG.Left=rtBG.Right-rtBG.Width;
|
|
60543
|
-
|
|
60544
|
-
|
|
60545
|
-
rtBG.Top=rtBG.YCenter-this.TextHeight/2;
|
|
60546
|
-
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60547
|
-
}
|
|
60548
|
-
else
|
|
60549
|
-
{
|
|
60550
|
-
rtBG.Top=rtBG.YCenter-rtBG.Height/2;
|
|
60551
|
-
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60552
|
-
}
|
|
60553
|
-
|
|
60631
|
+
_Temp_CalculateRightTextBGTop(rtBG,complexText,this.TextHeight);
|
|
60632
|
+
|
|
60554
60633
|
if (rtBG.Right>chartRight)
|
|
60555
60634
|
{
|
|
60556
60635
|
rtBG.Right=chartRight;
|
|
@@ -60569,16 +60648,7 @@ function ChartCorssCursor()
|
|
|
60569
60648
|
{
|
|
60570
60649
|
var rtBG={ Left:right+1, Width:textSize.Width, YCenter:y, Height:textSize.Height };
|
|
60571
60650
|
rtBG.Right=rtBG.Left+rtBG.Width;
|
|
60572
|
-
|
|
60573
|
-
{
|
|
60574
|
-
rtBG.Top=rtBG.YCenter-this.TextHeight/2;
|
|
60575
|
-
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60576
|
-
}
|
|
60577
|
-
else
|
|
60578
|
-
{
|
|
60579
|
-
rtBG.Top=rtBG.YCenter-rtBG.Height/2;
|
|
60580
|
-
rtBG.Bottom=rtBG.Top+rtBG.Height;
|
|
60581
|
-
}
|
|
60651
|
+
_Temp_CalculateRightTextBGTop(rtBG,complexText,this.TextHeight);
|
|
60582
60652
|
|
|
60583
60653
|
if (rtBG.Right>chartRight)
|
|
60584
60654
|
{
|
|
@@ -60596,11 +60666,9 @@ function ChartCorssCursor()
|
|
|
60596
60666
|
{
|
|
60597
60667
|
var rtBG={ Right:right, Width:textSize.Width, YCenter:y, Height:textSize.Height };
|
|
60598
60668
|
rtBG.Left=rtBG.Right-rtBG.Width;
|
|
60599
|
-
rtBG.
|
|
60600
|
-
|
|
60601
|
-
|
|
60669
|
+
_Temp_CalculateRightTextBGTop(rtBG,complexText,this.TextHeight);
|
|
60670
|
+
|
|
60602
60671
|
this.Canvas.fillStyle=this.TextBGColor;
|
|
60603
|
-
var showLeft=right-textSize.Width;
|
|
60604
60672
|
this.DrawTextBGRect(rtBG.Left,rtBG.Top,rtBG.Width,rtBG.Height);
|
|
60605
60673
|
this.DrawComplexRightText(rtBG,complexText,textSize);
|
|
60606
60674
|
|
|
@@ -61840,6 +61908,7 @@ function HQPriceStringFormat()
|
|
|
61840
61908
|
this.RComplexText; //{ Space:2 间距, Text:[ {Color:, Text: }] } 支持单行多颜色
|
|
61841
61909
|
this.Point;
|
|
61842
61910
|
this.ClientPos=-1;
|
|
61911
|
+
this.HQChart;
|
|
61843
61912
|
|
|
61844
61913
|
this.ExtendChartPaint;
|
|
61845
61914
|
this.RExtendText=[];
|
|
@@ -61992,6 +62061,32 @@ function HQPriceStringFormat()
|
|
|
61992
62061
|
if (this.DataFormatType==1) this.Text=IFrameSplitOperator.FormatValueThousandsString(this.Value,defaultfloatPrecision);
|
|
61993
62062
|
else this.Text=IFrameSplitOperator.FormatValueString(this.Value,defaultfloatPrecision,this.LanguageID);
|
|
61994
62063
|
if (IFrameSplitOperator.IsNumber(this.RValue)) this.RText=IFrameSplitOperator.FormatValueString(this.RValue,defaultfloatPrecision,this.LanguageID);
|
|
62064
|
+
|
|
62065
|
+
var bCallAuction=false;
|
|
62066
|
+
if (this.HQChart && this.HQChart.IsCallAuctionFrame)
|
|
62067
|
+
bCallAuction=this.HQChart.IsCallAuctionFrame(this.FrameID);
|
|
62068
|
+
|
|
62069
|
+
if (bCallAuction)
|
|
62070
|
+
{
|
|
62071
|
+
if (this.ClientPos==2)
|
|
62072
|
+
{
|
|
62073
|
+
this.GetBeforeOpen();
|
|
62074
|
+
}
|
|
62075
|
+
else if (this.ClientPos==3)
|
|
62076
|
+
{
|
|
62077
|
+
if (this.ShareAfterVol==0 || this.ShareAfterVol==2)
|
|
62078
|
+
this.GetAfterClose();
|
|
62079
|
+
}
|
|
62080
|
+
else if (this.ClientPos>=200 && this.ClientPos<=299)
|
|
62081
|
+
{
|
|
62082
|
+
this.GetMultiDayBeforeOpen();
|
|
62083
|
+
}
|
|
62084
|
+
else if (this.ClientPos>=300 && this.ClientPos<=399 )
|
|
62085
|
+
{
|
|
62086
|
+
if (this.ShareAfterVol==0 || this.ShareAfterVol==2)
|
|
62087
|
+
this.GetMultiDayAfterClose();
|
|
62088
|
+
}
|
|
62089
|
+
}
|
|
61995
62090
|
}
|
|
61996
62091
|
|
|
61997
62092
|
if (this.GetEventCallback)
|
|
@@ -65130,8 +65225,11 @@ function DynamicChartTitlePainting()
|
|
|
65130
65225
|
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) ))
|
|
65131
65226
|
{
|
|
65132
65227
|
var result={ PreventDefault:false }
|
|
65133
|
-
|
|
65134
|
-
if (
|
|
65228
|
+
var yRight=right;
|
|
65229
|
+
if (this.Frame.ToolbarCacheSize && this.Frame.ToolbarCacheSize.RToolbar) yRight=this.Frame.ToolbarCacheSize.RToolbar.Left-2; //右侧按钮宽度要去掉
|
|
65230
|
+
this.DrawMainCallAuction({ Left:left, Right:yRight, Bottom:bottom }, rtText, result);
|
|
65231
|
+
if (result.PreventDefault===false) this.DrawMainIndexTitle({ Left:left, Right:yRight, Bottom:bottom }, isShowLastData, rtText);
|
|
65232
|
+
if (IFrameSplitOperator.IsNumber(rtText.Bottom)) bottom=rtText.Bottom;
|
|
65135
65233
|
}
|
|
65136
65234
|
else
|
|
65137
65235
|
{
|
|
@@ -83392,6 +83490,7 @@ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
|
|
|
83392
83490
|
this.ChartCorssCursor.StringFormatY.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
83393
83491
|
this.ChartCorssCursor.StringFormatY.LanguageID=this.LanguageID;
|
|
83394
83492
|
this.ChartCorssCursor.StringFormatY.ExtendChartPaint=this.ExtendChartPaint;
|
|
83493
|
+
this.ChartCorssCursor.StringFormatY.HQChart=this;
|
|
83395
83494
|
this.ChartCorssCursor.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
83396
83495
|
this.ChartCorssCursor.OnChangeStatusCallback=(data, obj)=>{ this.OnChangeCorssCursorStatus(data,obj); }
|
|
83397
83496
|
|
|
@@ -93259,6 +93358,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
93259
93358
|
this.ChartCorssCursor.StringFormatY.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
93260
93359
|
this.ChartCorssCursor.StringFormatY.LanguageID=this.LanguageID;
|
|
93261
93360
|
this.ChartCorssCursor.StringFormatY.ShareAfterVol=this.ShareAfterVol;
|
|
93361
|
+
this.ChartCorssCursor.StringFormatY.HQChart=this;
|
|
93262
93362
|
this.ChartCorssCursor.CallAcutionXOperator=new CallAcutionXOperator();
|
|
93263
93363
|
this.ChartCorssCursor.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
93264
93364
|
this.ChartCorssCursor.OnChangeStatusCallback=(data, obj)=>{ this.OnChangeCorssCursorStatus(data,obj); }
|
|
@@ -93376,6 +93476,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
93376
93476
|
frame.YSplitOperator.LanguageID=this.LanguageID;
|
|
93377
93477
|
frame.YSplitOperator.FrameSplitData=this.FrameSplitData.get('double');
|
|
93378
93478
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
93479
|
+
frame.YSplitOperator.HQChart=this;
|
|
93379
93480
|
if (i==1) frame.YSplitOperator.ShareAfterVol=this.ShareAfterVol;
|
|
93380
93481
|
}
|
|
93381
93482
|
|
|
@@ -93451,6 +93552,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
93451
93552
|
frame.YSplitOperator.FrameSplitData=this.FrameSplitData.get('double');
|
|
93452
93553
|
frame.YSplitOperator.Frame=frame;
|
|
93453
93554
|
frame.YSplitOperator.ChartBorder=border;
|
|
93555
|
+
frame.YSplitOperator.HQChart=this;
|
|
93454
93556
|
frame.XSplitOperator=new FrameSplitMinuteX();
|
|
93455
93557
|
frame.XSplitOperator.Frame=frame;
|
|
93456
93558
|
frame.XSplitOperator.ChartBorder=border;
|
|
@@ -95847,6 +95949,20 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
95847
95949
|
this.ChartPaint[2].MultiDayBeforeOpenData=multiBeforeOpenData;
|
|
95848
95950
|
this.ChartPaint[2].MultiDayAfterCloseData=multiAfterCloseData;
|
|
95849
95951
|
|
|
95952
|
+
for(var i=0;i<this.ChartPaintEx.length;++i)
|
|
95953
|
+
{
|
|
95954
|
+
var item=this.ChartPaintEx[i];
|
|
95955
|
+
if (item.ClassName=="ChartMinuteBarCallAuction")
|
|
95956
|
+
{
|
|
95957
|
+
item.YClose=yClose;
|
|
95958
|
+
item.Symbol=this.Symbol;
|
|
95959
|
+
item.BeforeOpenData=this.BeforeOpenData;
|
|
95960
|
+
item.AfterCloseData=this.AfterCloseData;
|
|
95961
|
+
item.MultiDayBeforeOpenData=multiBeforeOpenData;
|
|
95962
|
+
item.MultiDayAfterCloseData=multiAfterCloseData;
|
|
95963
|
+
}
|
|
95964
|
+
}
|
|
95965
|
+
|
|
95850
95966
|
for(var i in this.Frame.SubFrame)
|
|
95851
95967
|
{
|
|
95852
95968
|
var item=this.Frame.SubFrame[i];
|
|
@@ -95959,6 +96075,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
95959
96075
|
frame.YSplitOperator.FrameSplitData=this.FrameSplitData.get('double');
|
|
95960
96076
|
frame.YSplitOperator.Frame=frame;
|
|
95961
96077
|
frame.YSplitOperator.ChartBorder=frame.ChartBorder;
|
|
96078
|
+
frame.YSplitOperator.HQChart=this;
|
|
95962
96079
|
frame.YSplitOperator.SplitCount=subFrame.Frame.YSplitOperator.SplitCount;
|
|
95963
96080
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); };
|
|
95964
96081
|
frame.YSplitOperator.OverlayIdentify=overlayFrame.Identify;
|
|
@@ -96961,6 +97078,25 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
96961
97078
|
|
|
96962
97079
|
return data;
|
|
96963
97080
|
}
|
|
97081
|
+
|
|
97082
|
+
this.IsCallAuctionFrame=function(frameID)
|
|
97083
|
+
{
|
|
97084
|
+
if (!IFrameSplitOperator.IsNonEmptyArray(this.ChartPaintEx)) return false;
|
|
97085
|
+
if (!IFrameSplitOperator.IsNonEmptyArray(this.Frame.SubFrame)) return false;
|
|
97086
|
+
if (frameID<0 || frameID>=this.Frame.SubFrame.length) return false;
|
|
97087
|
+
var subItem=this.Frame.SubFrame[frameID];
|
|
97088
|
+
if (!subItem || !subItem.Frame) return false;
|
|
97089
|
+
|
|
97090
|
+
var subFrame=subItem.Frame;
|
|
97091
|
+
for(var i=0;i<this.ChartPaintEx.length;++i)
|
|
97092
|
+
{
|
|
97093
|
+
var item=this.ChartPaintEx[i];
|
|
97094
|
+
if (item.ChartFrame && item.ChartFrame.Guid==subFrame.Guid)
|
|
97095
|
+
return true;
|
|
97096
|
+
}
|
|
97097
|
+
|
|
97098
|
+
return false;
|
|
97099
|
+
}
|
|
96964
97100
|
}
|
|
96965
97101
|
|
|
96966
97102
|
//盘前数据
|
|
@@ -98784,6 +98920,7 @@ function KLineChartHScreenContainer(uielement)
|
|
|
98784
98920
|
this.ChartCorssCursor.StringFormatY=g_DivTooltipDataForamt.Create("CorssCursor_YStringFormat");
|
|
98785
98921
|
this.ChartCorssCursor.StringFormatY.LanguageID=this.LanguageID;
|
|
98786
98922
|
this.ChartCorssCursor.StringFormatY.ExtendChartPaint=this.ExtendChartPaint;
|
|
98923
|
+
this.ChartCorssCursor.StringFormatY.HQChart=this;
|
|
98787
98924
|
this.ChartCorssCursor.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
98788
98925
|
|
|
98789
98926
|
//创建等待提示
|
|
@@ -98965,6 +99102,7 @@ function MinuteChartHScreenContainer(uielement)
|
|
|
98965
99102
|
this.ChartCorssCursor.StringFormatX.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
98966
99103
|
this.ChartCorssCursor.StringFormatY=g_DivTooltipDataForamt.Create("CorssCursor_YStringFormat");
|
|
98967
99104
|
this.ChartCorssCursor.StringFormatY.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
99105
|
+
this.ChartCorssCursor.StringFormatY.HQChart=this;
|
|
98968
99106
|
this.ChartCorssCursor.CallAcutionXOperator=new CallAcutionXOperator();
|
|
98969
99107
|
this.ChartCorssCursor.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
98970
99108
|
|
|
@@ -99042,6 +99180,7 @@ function MinuteChartHScreenContainer(uielement)
|
|
|
99042
99180
|
frame.YSplitOperator.LanguageID=this.LanguageID;
|
|
99043
99181
|
frame.YSplitOperator.FrameSplitData=this.FrameSplitData.get('double');
|
|
99044
99182
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
99183
|
+
frame.YSplitOperator.HQChart=this;
|
|
99045
99184
|
}
|
|
99046
99185
|
|
|
99047
99186
|
frame.YSplitOperator.Frame=frame;
|
|
@@ -158809,7 +158948,7 @@ function HQChartScriptWorker()
|
|
|
158809
158948
|
|
|
158810
158949
|
|
|
158811
158950
|
|
|
158812
|
-
var HQCHART_VERSION="1.1.
|
|
158951
|
+
var HQCHART_VERSION="1.1.14733";
|
|
158813
158952
|
|
|
158814
158953
|
function PrintHQChartVersion()
|
|
158815
158954
|
{
|