hqchart 1.1.13905 → 1.1.13909

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.
@@ -2434,7 +2434,8 @@ this.LastCalculateStatus={Width:0,XPointCount:0};//最后一次计算宽度的
2434
2434
  this.BeforeCloseIcon=CloneData(g_JSChartResource.Minute.Before.CloseIcon);this.IsShowCloseButton=true,//是否关闭集合竞价按钮
2435
2435
  this.BeforeOpenVerticalInfo=[];//盘前集合竞价X轴
2436
2436
  this.AfterCloseVerticalInfo=[];//收盘集合竞价X轴
2437
- this.NightDayConfig=CloneData(g_JSChartResource.Minute.NightDay);this.DrawFrame=function(){if(!this.IsMinSize){this.SplitXYCoordinate();this.DrawBeforeDataBG();this.YInsideOffset=0;if(this.BeforeDrawXYCallback)this.BeforeDrawXYCallback(this);this.DrawNightDayBG();//绘制夜盘 日盘背景
2437
+ this.NightDayConfig=CloneData(g_JSChartResource.Minute.NightDay);this.MinuteFrame_ReloadResource=this.ReloadResource;this.ReloadResource=function(resource){this.MinuteFrame_ReloadResource(resource);//集合竞价配色修改
2438
+ this.BeforeBGColor=g_JSChartResource.Minute.Before.BGColor;this.AfterBGColor=g_JSChartResource.Minute.After.BGColor;this.MultiDayBorderPen=g_JSChartResource.MultiDayBorderPen;};this.DrawFrame=function(){if(!this.IsMinSize){this.SplitXYCoordinate();this.DrawBeforeDataBG();this.YInsideOffset=0;if(this.BeforeDrawXYCallback)this.BeforeDrawXYCallback(this);this.DrawNightDayBG();//绘制夜盘 日盘背景
2438
2439
  this.DrawCustomBG();//绘制自定义背景色
2439
2440
  this.DrawTitleBG();this.DrawHorizontal();this.DrawVertical();}if(this.SizeChange==true||this.ReDrawToolbar==true){this.DrawToolbar();//大小变动才画工具条
2440
2441
  this.ReDrawToolbar=false;}};//画边框
@@ -4722,7 +4723,13 @@ this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor;//成交金额
4722
4723
  this.LanguageID=JSCHART_LANGUAGE_ID.LANGUAGE_CHINESE_ID;this.TitlePaint;this.UpColor=g_JSChartResource.UpTextColor;this.DownColor=g_JSChartResource.DownTextColor;this.UnchagneColor=g_JSChartResource.UnchagneTextColor;this.YClose;this.Mergin={Left:2,Top:3,Bottom:2,Right:2};this.LineHeight=15;//行高
4723
4724
  this.FixedWidth;//固定宽度
4724
4725
  this.Font=g_JSChartResource.PCTooltipPaint.TitleFont;this.HQChart;//设置参数接口
4725
- this.SetOption=function(option){if(option.BGColor)this.BGColor=option.BGColor;if(option.LanguageID>0)this.LanguageID=option.LanguageID;if(IFrameSplitOperator.IsNumber(option.FixedWidth))this.FixedWidth=option.FixedWidth;};this.IsEnableDraw=function(){if(!this.HQChart||!this.HQChart.TitlePaint||!this.HQChart.TitlePaint[0])return false;var pt=this.HQChart.LastPoint;if(!pt)return false;return this.HQChart.IsMouseOnClient(pt.X,pt.Y);};this.Draw=function(){if(!this.IsEnableDraw())return;this.TitlePaint=this.HQChart.TitlePaint[0];if(!this.TitlePaint)return;var pointInfo=this.TitlePaint.PointInfo;var drawData;//{ Type:0=连续交易 1=集合竞价, Data:数据 }
4726
+ this.SetOption=function(option){if(option.BGColor)this.BGColor=option.BGColor;if(option.LanguageID>0)this.LanguageID=option.LanguageID;if(IFrameSplitOperator.IsNumber(option.FixedWidth))this.FixedWidth=option.FixedWidth;};this.ReloadResource=function(resource){this.BorderColor=g_JSChartResource.PCTooltipPaint.BorderColor;//边框颜色
4727
+ this.BGColor=g_JSChartResource.PCTooltipPaint.BGColor;//背景色
4728
+ this.TitleColor=g_JSChartResource.PCTooltipPaint.TitleColor;//标题颜色
4729
+ this.DateTimeColor=g_JSChartResource.PCTooltipPaint.DateTimeColor;//日期时间颜色
4730
+ this.VolColor=g_JSChartResource.PCTooltipPaint.VolColor;//标题成交量
4731
+ this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor;//成交金额
4732
+ this.UpColor=g_JSChartResource.UpTextColor;this.DownColor=g_JSChartResource.DownTextColor;this.UnchagneColor=g_JSChartResource.UnchagneTextColor;this.Font=g_JSChartResource.PCTooltipPaint.TitleFont;};this.IsEnableDraw=function(){if(!this.HQChart||!this.HQChart.TitlePaint||!this.HQChart.TitlePaint[0])return false;var pt=this.HQChart.LastPoint;if(!pt)return false;return this.HQChart.IsMouseOnClient(pt.X,pt.Y);};this.Draw=function(){if(!this.IsEnableDraw())return;this.TitlePaint=this.HQChart.TitlePaint[0];if(!this.TitlePaint)return;var pointInfo=this.TitlePaint.PointInfo;var drawData;//{ Type:0=连续交易 1=集合竞价, Data:数据 }
4726
4733
  if(pointInfo&&(pointInfo.ClientPos==2||pointInfo.ClientPos==3||pointInfo.ClientPos>=200&&pointInfo.ClientPos<=299||pointInfo.ClientPos>=300&&pointInfo.ClientPos<=399)){var auctionData=this.TitlePaint.GetCurrentAuctionData();if(!auctionData)return;drawData={Type:1,Data:auctionData};}else{var minuteData=this.TitlePaint.GetCurrentKLineData();if(!minuteData)return;drawData={Type:0,Data:minuteData};}this.YClose=this.TitlePaint.YClose;var aryText=this.GetForamtTitle(drawData);if(!IFrameSplitOperator.IsNonEmptyArray(aryText))return;this.Canvas.font=this.Font;this.Canvas.textBaseline='top';this.LineHeight=GetFontHeight(this.Canvas,null,"擎");var border=this.ChartBorder.GetBorder();var height=this.LineHeight*aryText.length*2;var rtBorder={Left:1,Top:1,Right:border.Left};rtBorder.Bottom=rtBorder.Top+height;rtBorder.Width=rtBorder.Right-rtBorder.Left;rtBorder.Height=rtBorder.Bottom-rtBorder.Top;rtBorder.Height+=this.Mergin.Top+this.Mergin.Bottom;rtBorder.Bottom=rtBorder.Top+rtBorder.Height;if(IFrameSplitOperator.IsNumber(this.FixedWidth))rtBorder.Width=this.FixedWidth;this.Canvas.fillStyle=this.BGColor;this.Canvas.fillRect(rtBorder.Left,rtBorder.Top,rtBorder.Width,rtBorder.Height);this.Canvas.strokeStyle=this.BorderColor;this.Canvas.strokeRect(ToFixedPoint(rtBorder.Left),ToFixedPoint(rtBorder.Top),ToFixedRect(rtBorder.Width),ToFixedRect(rtBorder.Height));var right=rtBorder.Left+rtBorder.Width-this.Mergin.Right;var left=this.Mergin.Left+rtBorder.Left;var top=this.Mergin.Top+rtBorder.Top;var rtItem={Left:left,Top:top,Right:right};rtItem.Width=rtItem.Right-rtItem.Left;for(var i=0;i<aryText.length;++i){var item=aryText[i];this.DrawText(item,rtItem);}};this.DrawText=function(item,rtItem){this.Canvas.fillStyle=item.TitleColor;this.Canvas.textAlign='left';this.Canvas.fillText(item.Title,rtItem.Left,rtItem.Top);rtItem.Top+=this.LineHeight;rtItem.Bottom=rtItem.Top+this.LineHeight;this.Canvas.textAlign='right';this.Canvas.fillStyle=item.TextColor;this.Canvas.fillText(item.Text,rtItem.Right,rtItem.Top);rtItem.Top+=this.LineHeight;rtItem.Bottom=rtItem.Top+this.LineHeight;};//{ Title:, Text:, Color: }
4727
4734
  this.GetForamtTitle=function(drawData){if(!drawData||!drawData.Data)return null;var aryText=[];var isFutures=false;var upperSymbol;if(this.HQChart.Symbol)upperSymbol=this.HQChart.Symbol.toUpperCase();var defaultfloatPrecision=GetfloatPrecision(upperSymbol);//价格小数位数
4728
4735
  if(upperSymbol)isFutures=MARKET_SUFFIX_NAME.IsFutures(upperSymbol);//国内期货, 纽约期货交易所
@@ -13756,7 +13763,7 @@ hisData.Symbol=message.symbol;}var stockObj={HQDataType:HQ_DATA_TYPE.KLINE_ID,St
13756
13763
  this.ExecuteScript(item,data);}this.Status=0;}};this.OnExecuteFinish=function(data,indexInfo,jsExectute,jobInfo){var message={Data:data,IndexInfo:indexInfo,ID:JSCHART_WORKER_MESSAGE_ID.FINISH_EXECUTE_SCRIPT,JobInfo:jobInfo};postMessage(message);};this.OnExecuteError=function(error,indexInfo,jobData){var message={IndexInfo:indexInfo,ID:JSCHART_WORKER_MESSAGE_ID.ERROR_EXECUTE_SCRIPT,Error:error};postMessage(message);};}/********************************************************************************
13757
13764
  * 版本信息输出
13758
13765
  *
13759
- */var HQCHART_VERSION="1.1.13904";function PrintHQChartVersion(){var logo='\n\n*************************************************************************************************************************************************************************** \n* \n* :%@@- \n* :@@@@- \n* =@@@@ :#@@@ .:+#@@@#=: :=*@@@@@@#+-. *@@@@. \n* :@@@@@ .@@@@@ .#@@@@@@@@@@@- +@@@@@@@@@@@@@+ @@@@@ -%@@* \n* +@@@@% #@@@@# *@@@@@@@@@@@@@@%. =@@@@@@@@@@@@@@@- @@@@@ -@@@@+ \n* %@@@@* @@@@@+ .%@@@@@@@@@@@@@@@@%: #@@@@@@@@@@@@@@@% @@@@# *@@@@= \n* @@@@@= @@@@@- .%@@@@@@@*++*%@@@@@@% .%@@@@@@@%*+==+**= -@@@@+ #@@@@- \n* @@@@@. @@@@@. #@@@@@%= =@@@@@@* %@@@@@@#: *@@@@- :::. .-+*###+: ::: .+##+: -%%@@@@@%%%% \n* .@@@@@ .@@@@@. +@@@@@% .@@@@@@ *@@@@@@: %@@@@: +@@@@@%. :%@@@@@@@@@@: *@@@ :@@@@@* @@@@@@@@@@@@ \n* :@@@@@ :@@@@@ @@@@@% :@@@@@+ @@@@@@: %@@@@-@@@@@@@@@. @@@@@@@@@@@@@. :@@@%-@@@@@@.:@@@@@@@@@@@# \n* -@@@@% -@@@@@ =@@@@@. %@@@@% %@@@@@- %@@@@@@@@@@@@@@* %@@@@@@@@@@@@+ -@@@@@@@@@@# -@@@@@@@@@@@. \n* +@@@@%=========#@@@@% @@@@@# :@@@@@ .@@@@@% @@@@@@@@%@@@@@@@ -%+:. .#@@@@* +@@@@@@@%%@. .::+@@@@#:: \n* #@@@@@@@@@@@@@@@@@@@# .@@@@@ .@@@@@ :@@@@@. @@@@@@#. #@@@@@. -@@@@* #@@@@@@: *@@@@+ \n* %@@@@@@@@@@@@@@@@@@@+ :@@@@@ .@@@@@ -@@@@@ @@@@@+ @@@@@. :@@@@* @@@@@% #@@@@- \n* @@@@@@@@@@@@@@@@@@@@: :@@@@% :@@@@@ +@@@@% -@@@@+ @@@@@ -@@@@+ @@@@@. @@@@@. \n* .@@@@@@@@@@@@@@@@@@@@ :@@@@% -@@@@% *@@@@% #@@@@. @@@@@ .=*#%%%@@@@@= :@@@@# @@@@@. \n* -@@@@@:::::::::=@@@@@ :@@@@@ @@@@@* +@@@@% @@@@@ @@@@% -#@@@@@@@@@@@@: -@@@@* @@@@@ \n* =@@@@% =@@@@% .@@@@@ :@@@@@. -@@@@% @@@@@ .@@@@* +@@@@@@@@@@@@@@. =@@@@+ .@@@@@ \n* +@@@@# +@@@@# @@@@@# %@@@@% :@@@@@ .@@@@% =@@@@= -@@@@@*-:..%@@@@ +@@@@= :@@@@# \n* *@@@@* *@@@@* +@@@@@: #@@@@@+ .@@@@@@ :@@@@% *@@@@- @@@@@. @@@@% #@@@@: =@@@@+ \n* %@@@@= %@@@@+ @@@@@@- .%@@@@@# #@@@@@# :@@@@% #@@@@: @@@@% @@@@* %@@@@. #@@@@- \n* @@@@@- @@@@@= =@@@@@@#=...-*@@@@@@@: @@@@@@%=. :+**. :@@@@* %@@@@. .@@@@* *@@@@= @@@@@ %@@@@+ \n* .@@@@@: .@@@@@: *@@@@@@@@@@@@@@@@@@@# =@@@@@@@@%%%@@@@@@ +@@@@- @@@@@ .@@@@@: :%@@@@@- .@@@@% %@@@@@*+- \n* :@@@@@ :@@@@@ +@@@@@@@@@@@@@@@@@@@# =@@@@@@@@@@@@@@@@% %@@@@ @@@@@ @@@@@@@@@@@@@@@: -@@@@* *@@@@@@@@- \n* =@@@@@ -@@@@@ :@@@@@@@@@@@@@@@@@@@# :@@@@@@@@@@@@@@@% @@@@@ %@@@% #@@@@@@@@@#@@@@. +@@@@- .@@@@@@@@# \n* *@@@@# =@@@@% :#@@@@@@@#: :@@@@@= =@@@@@@@@@@@+. @@@@@ :@@@+ *@@@@@@@- %@@@ *@@@= =@@@@@@@* \n* =++++- -++++= .:::. .=*+: :-=+++=:. ****= .=+. .-++=: :+++ -+=: .-=+=:. \n* \n* \n* HQChart \n* Ver: '+HQCHART_VERSION+' \n* License: Apache License 2.0 \n* Source: https://github.com/jones2000/HQChart\n*\n************************************************************************************************************************************************************************** \n ';console.log(logo);}PrintHQChartVersion();//把给外界调用的方法暴露出来
13766
+ */var HQCHART_VERSION="1.1.13907";function PrintHQChartVersion(){var logo='\n\n*************************************************************************************************************************************************************************** \n* \n* :%@@- \n* :@@@@- \n* =@@@@ :#@@@ .:+#@@@#=: :=*@@@@@@#+-. *@@@@. \n* :@@@@@ .@@@@@ .#@@@@@@@@@@@- +@@@@@@@@@@@@@+ @@@@@ -%@@* \n* +@@@@% #@@@@# *@@@@@@@@@@@@@@%. =@@@@@@@@@@@@@@@- @@@@@ -@@@@+ \n* %@@@@* @@@@@+ .%@@@@@@@@@@@@@@@@%: #@@@@@@@@@@@@@@@% @@@@# *@@@@= \n* @@@@@= @@@@@- .%@@@@@@@*++*%@@@@@@% .%@@@@@@@%*+==+**= -@@@@+ #@@@@- \n* @@@@@. @@@@@. #@@@@@%= =@@@@@@* %@@@@@@#: *@@@@- :::. .-+*###+: ::: .+##+: -%%@@@@@%%%% \n* .@@@@@ .@@@@@. +@@@@@% .@@@@@@ *@@@@@@: %@@@@: +@@@@@%. :%@@@@@@@@@@: *@@@ :@@@@@* @@@@@@@@@@@@ \n* :@@@@@ :@@@@@ @@@@@% :@@@@@+ @@@@@@: %@@@@-@@@@@@@@@. @@@@@@@@@@@@@. :@@@%-@@@@@@.:@@@@@@@@@@@# \n* -@@@@% -@@@@@ =@@@@@. %@@@@% %@@@@@- %@@@@@@@@@@@@@@* %@@@@@@@@@@@@+ -@@@@@@@@@@# -@@@@@@@@@@@. \n* +@@@@%=========#@@@@% @@@@@# :@@@@@ .@@@@@% @@@@@@@@%@@@@@@@ -%+:. .#@@@@* +@@@@@@@%%@. .::+@@@@#:: \n* #@@@@@@@@@@@@@@@@@@@# .@@@@@ .@@@@@ :@@@@@. @@@@@@#. #@@@@@. -@@@@* #@@@@@@: *@@@@+ \n* %@@@@@@@@@@@@@@@@@@@+ :@@@@@ .@@@@@ -@@@@@ @@@@@+ @@@@@. :@@@@* @@@@@% #@@@@- \n* @@@@@@@@@@@@@@@@@@@@: :@@@@% :@@@@@ +@@@@% -@@@@+ @@@@@ -@@@@+ @@@@@. @@@@@. \n* .@@@@@@@@@@@@@@@@@@@@ :@@@@% -@@@@% *@@@@% #@@@@. @@@@@ .=*#%%%@@@@@= :@@@@# @@@@@. \n* -@@@@@:::::::::=@@@@@ :@@@@@ @@@@@* +@@@@% @@@@@ @@@@% -#@@@@@@@@@@@@: -@@@@* @@@@@ \n* =@@@@% =@@@@% .@@@@@ :@@@@@. -@@@@% @@@@@ .@@@@* +@@@@@@@@@@@@@@. =@@@@+ .@@@@@ \n* +@@@@# +@@@@# @@@@@# %@@@@% :@@@@@ .@@@@% =@@@@= -@@@@@*-:..%@@@@ +@@@@= :@@@@# \n* *@@@@* *@@@@* +@@@@@: #@@@@@+ .@@@@@@ :@@@@% *@@@@- @@@@@. @@@@% #@@@@: =@@@@+ \n* %@@@@= %@@@@+ @@@@@@- .%@@@@@# #@@@@@# :@@@@% #@@@@: @@@@% @@@@* %@@@@. #@@@@- \n* @@@@@- @@@@@= =@@@@@@#=...-*@@@@@@@: @@@@@@%=. :+**. :@@@@* %@@@@. .@@@@* *@@@@= @@@@@ %@@@@+ \n* .@@@@@: .@@@@@: *@@@@@@@@@@@@@@@@@@@# =@@@@@@@@%%%@@@@@@ +@@@@- @@@@@ .@@@@@: :%@@@@@- .@@@@% %@@@@@*+- \n* :@@@@@ :@@@@@ +@@@@@@@@@@@@@@@@@@@# =@@@@@@@@@@@@@@@@% %@@@@ @@@@@ @@@@@@@@@@@@@@@: -@@@@* *@@@@@@@@- \n* =@@@@@ -@@@@@ :@@@@@@@@@@@@@@@@@@@# :@@@@@@@@@@@@@@@% @@@@@ %@@@% #@@@@@@@@@#@@@@. +@@@@- .@@@@@@@@# \n* *@@@@# =@@@@% :#@@@@@@@#: :@@@@@= =@@@@@@@@@@@+. @@@@@ :@@@+ *@@@@@@@- %@@@ *@@@= =@@@@@@@* \n* =++++- -++++= .:::. .=*+: :-=+++=:. ****= .=+. .-++=: :+++ -+=: .-=+=:. \n* \n* \n* HQChart \n* Ver: '+HQCHART_VERSION+' \n* License: Apache License 2.0 \n* Source: https://github.com/jones2000/HQChart\n*\n************************************************************************************************************************************************************************** \n ';console.log(logo);}PrintHQChartVersion();//把给外界调用的方法暴露出来
13760
13767
  exports.default=(_jsChartInit$jsChartS={jsChartInit:JSChart.Init,jsChartStyle:JSChart.SetStyle,// IsIndexSymbol:IsIndexSymbol,
13761
13768
  // BaseIndex:BaseIndex,
13762
13769
  // ChartLine:ChartLine,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hqchart",
3
- "version": "1.1.13905",
3
+ "version": "1.1.13909",
4
4
  "description": "HQChart - H5, 微信小程序 沪深/港股/数字货币/期货/美股 K线图(kline),走势图,缩放,拖拽,十字光标,画图工具,截图,筹码图. 分析家语法,通达信语法,(麦语法),第3方数据对接",
5
5
  "main": "lib/main.js",
6
6
  "scripts": {
@@ -13495,6 +13495,20 @@ function MinuteFrame()
13495
13495
 
13496
13496
  this.NightDayConfig=CloneData(g_JSChartResource.Minute.NightDay);
13497
13497
 
13498
+
13499
+ this.MinuteFrame_ReloadResource=this.ReloadResource;
13500
+
13501
+
13502
+ this.ReloadResource=function(resource)
13503
+ {
13504
+ this.MinuteFrame_ReloadResource(resource);
13505
+
13506
+ //集合竞价配色修改
13507
+ this.BeforeBGColor=g_JSChartResource.Minute.Before.BGColor;
13508
+ this.AfterBGColor=g_JSChartResource.Minute.After.BGColor;
13509
+ this.MultiDayBorderPen=g_JSChartResource.MultiDayBorderPen;
13510
+ }
13511
+
13498
13512
  this.DrawFrame=function()
13499
13513
  {
13500
13514
  if (!this.IsMinSize)
@@ -42983,6 +42997,22 @@ function MinuteLeftTooltipPaint()
42983
42997
  if (IFrameSplitOperator.IsNumber(option.FixedWidth)) this.FixedWidth=option.FixedWidth;
42984
42998
  }
42985
42999
 
43000
+ this.ReloadResource=function(resource)
43001
+ {
43002
+ this.BorderColor=g_JSChartResource.PCTooltipPaint.BorderColor; //边框颜色
43003
+ this.BGColor=g_JSChartResource.PCTooltipPaint.BGColor; //背景色
43004
+ this.TitleColor=g_JSChartResource.PCTooltipPaint.TitleColor; //标题颜色
43005
+ this.DateTimeColor=g_JSChartResource.PCTooltipPaint.DateTimeColor; //日期时间颜色
43006
+ this.VolColor=g_JSChartResource.PCTooltipPaint.VolColor; //标题成交量
43007
+ this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor; //成交金额
43008
+
43009
+ this.UpColor=g_JSChartResource.UpTextColor;
43010
+ this.DownColor=g_JSChartResource.DownTextColor;
43011
+ this.UnchagneColor=g_JSChartResource.UnchagneTextColor;
43012
+
43013
+ this.Font=g_JSChartResource.PCTooltipPaint.TitleFont;
43014
+ }
43015
+
42986
43016
  this.IsEnableDraw=function()
42987
43017
  {
42988
43018
  if (!this.HQChart || !this.HQChart.TitlePaint || !this.HQChart.TitlePaint[0]) return false;
@@ -17420,6 +17420,20 @@ function MinuteFrame()
17420
17420
 
17421
17421
  this.NightDayConfig=CloneData(g_JSChartResource.Minute.NightDay);
17422
17422
 
17423
+
17424
+ this.MinuteFrame_ReloadResource=this.ReloadResource;
17425
+
17426
+
17427
+ this.ReloadResource=function(resource)
17428
+ {
17429
+ this.MinuteFrame_ReloadResource(resource);
17430
+
17431
+ //集合竞价配色修改
17432
+ this.BeforeBGColor=g_JSChartResource.Minute.Before.BGColor;
17433
+ this.AfterBGColor=g_JSChartResource.Minute.After.BGColor;
17434
+ this.MultiDayBorderPen=g_JSChartResource.MultiDayBorderPen;
17435
+ }
17436
+
17423
17437
  this.DrawFrame=function()
17424
17438
  {
17425
17439
  if (!this.IsMinSize)
@@ -46908,6 +46922,22 @@ function MinuteLeftTooltipPaint()
46908
46922
  if (IFrameSplitOperator.IsNumber(option.FixedWidth)) this.FixedWidth=option.FixedWidth;
46909
46923
  }
46910
46924
 
46925
+ this.ReloadResource=function(resource)
46926
+ {
46927
+ this.BorderColor=g_JSChartResource.PCTooltipPaint.BorderColor; //边框颜色
46928
+ this.BGColor=g_JSChartResource.PCTooltipPaint.BGColor; //背景色
46929
+ this.TitleColor=g_JSChartResource.PCTooltipPaint.TitleColor; //标题颜色
46930
+ this.DateTimeColor=g_JSChartResource.PCTooltipPaint.DateTimeColor; //日期时间颜色
46931
+ this.VolColor=g_JSChartResource.PCTooltipPaint.VolColor; //标题成交量
46932
+ this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor; //成交金额
46933
+
46934
+ this.UpColor=g_JSChartResource.UpTextColor;
46935
+ this.DownColor=g_JSChartResource.DownTextColor;
46936
+ this.UnchagneColor=g_JSChartResource.UnchagneTextColor;
46937
+
46938
+ this.Font=g_JSChartResource.PCTooltipPaint.TitleFont;
46939
+ }
46940
+
46911
46941
  this.IsEnableDraw=function()
46912
46942
  {
46913
46943
  if (!this.HQChart || !this.HQChart.TitlePaint || !this.HQChart.TitlePaint[0]) return false;
@@ -138477,7 +138507,7 @@ function ScrollBarBGChart()
138477
138507
 
138478
138508
 
138479
138509
 
138480
- var HQCHART_VERSION="1.1.13904";
138510
+ var HQCHART_VERSION="1.1.13907";
138481
138511
 
138482
138512
  function PrintHQChartVersion()
138483
138513
  {
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var HQCHART_VERSION="1.1.13904";
8
+ var HQCHART_VERSION="1.1.13907";
9
9
 
10
10
  function PrintHQChartVersion()
11
11
  {
@@ -17464,6 +17464,20 @@ function MinuteFrame()
17464
17464
 
17465
17465
  this.NightDayConfig=CloneData(g_JSChartResource.Minute.NightDay);
17466
17466
 
17467
+
17468
+ this.MinuteFrame_ReloadResource=this.ReloadResource;
17469
+
17470
+
17471
+ this.ReloadResource=function(resource)
17472
+ {
17473
+ this.MinuteFrame_ReloadResource(resource);
17474
+
17475
+ //集合竞价配色修改
17476
+ this.BeforeBGColor=g_JSChartResource.Minute.Before.BGColor;
17477
+ this.AfterBGColor=g_JSChartResource.Minute.After.BGColor;
17478
+ this.MultiDayBorderPen=g_JSChartResource.MultiDayBorderPen;
17479
+ }
17480
+
17467
17481
  this.DrawFrame=function()
17468
17482
  {
17469
17483
  if (!this.IsMinSize)
@@ -46952,6 +46966,22 @@ function MinuteLeftTooltipPaint()
46952
46966
  if (IFrameSplitOperator.IsNumber(option.FixedWidth)) this.FixedWidth=option.FixedWidth;
46953
46967
  }
46954
46968
 
46969
+ this.ReloadResource=function(resource)
46970
+ {
46971
+ this.BorderColor=g_JSChartResource.PCTooltipPaint.BorderColor; //边框颜色
46972
+ this.BGColor=g_JSChartResource.PCTooltipPaint.BGColor; //背景色
46973
+ this.TitleColor=g_JSChartResource.PCTooltipPaint.TitleColor; //标题颜色
46974
+ this.DateTimeColor=g_JSChartResource.PCTooltipPaint.DateTimeColor; //日期时间颜色
46975
+ this.VolColor=g_JSChartResource.PCTooltipPaint.VolColor; //标题成交量
46976
+ this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor; //成交金额
46977
+
46978
+ this.UpColor=g_JSChartResource.UpTextColor;
46979
+ this.DownColor=g_JSChartResource.DownTextColor;
46980
+ this.UnchagneColor=g_JSChartResource.UnchagneTextColor;
46981
+
46982
+ this.Font=g_JSChartResource.PCTooltipPaint.TitleFont;
46983
+ }
46984
+
46955
46985
  this.IsEnableDraw=function()
46956
46986
  {
46957
46987
  if (!this.HQChart || !this.HQChart.TitlePaint || !this.HQChart.TitlePaint[0]) return false;
@@ -143033,7 +143063,7 @@ function HQChartScriptWorker()
143033
143063
 
143034
143064
 
143035
143065
 
143036
- var HQCHART_VERSION="1.1.13904";
143066
+ var HQCHART_VERSION="1.1.13907";
143037
143067
 
143038
143068
  function PrintHQChartVersion()
143039
143069
  {