hqchart 1.1.14648 → 1.1.14653

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.
@@ -2056,7 +2056,8 @@ if(this.ClassName=="KLineChartContainer"&&this.EnableXDrag.Bottom&&this.Frame.Pt
2056
2056
  //mouseStatus={ Cursor:"pointer", Name:"FrameButtom"};
2057
2057
  JSConsole.Chart.Log("[JSChartContainer::OnMouseMove] frame bottom ");}if(this.Frame.PtInHorizontalLabel&&this.Frame.PtInHorizontalLabel(x,y)){mouseStatus={Cursor:"pointer",Name:"HorizontalLabel"};JSConsole.Chart.Log("[JSChartContainer::OnMouseMove] frame Horizontal Label ");}if(this.SelectedChart.EnableMoveOn&&this.PtInChart&&!this.CurrentChartDrawPicture){var chartInfo=this.PtInChart(x,y);if(chartInfo&&chartInfo.Identify){mouseStatus={Cursor:"pointer",Name:"PtInChart"};this.SelectedChart.MoveOn.Identify=chartInfo.Identify;this.SelectedChart.MoveOn.Identify=null;JSConsole.Chart.Log("[JSChartContainer::OnMouseMove] Point in chart ",chartInfo);}else{this.SelectedChart.MoveOn.Identify=null;}}else{this.SelectedChart.MoveOn.Identify=null;}//区间选择
2058
2058
  var paint=this.GetRectSelectPaint();if(paint&&paint.GetPointCount()>0){var item=paint.PtInPaint(x,y);if(item){if(item.Type==4)mouseStatus={Cursor:"pointer",Name:"DragRectSelect"};//子区域选中
2059
- else mouseStatus={Cursor:"ew-resize",Name:"DragRectSelect"};JSConsole.Chart.Log("[JSChartContainer::OnMouseMove] drag rect select ",item);}}var sendData={MouseStatus:null,X:x,Y:y,FrameID:frameID,e:e};if(this.TryMouseMove_CustomChartDrag(sendData)){if(sendData.MouseStatus)mouseStatus=sendData.MouseStatus;}var bDrawPicture=false;//是否正在画图
2059
+ else mouseStatus={Cursor:"ew-resize",Name:"DragRectSelect"};JSConsole.Chart.Log("[JSChartContainer::OnMouseMove] drag rect select ",item);}}var sendData={MouseStatus:null,X:x,Y:y,FrameID:frameID,e:e};if(this.TryMouseMove_CustomChartDrag(sendData)){if(sendData.MouseStatus){if(sendData.MouseStatus.Level==1)//高等级 覆盖状态
2060
+ {mouseStatus=sendData.MouseStatus;}else{if(!mouseStatus)mouseStatus=sendData.MouseStatus;}}}var bDrawPicture=false;//是否正在画图
2060
2061
  if(this.CurrentChartDrawPicture){var index=this.Frame.PtInChartFrame(x,y);if(this.CurrentChartDrawPicture.Status!=20){var bDrawValid=false;//是否在有效绘图区域里面
2061
2062
  if(IFrameSplitOperator.IsNumber(this.CurrentChartDrawPicture.LimitFrameID)){if(index>=0&&index==this.CurrentChartDrawPicture.LimitFrameID)bDrawValid=true;}else{if(index>=0)bDrawValid=true;}mouseStatus={Cursor:bDrawValid?"crosshair":"not-allowed",Name:"CurrentChartDrawPicture"};}if(this.CurrentChartDrawPicture.SetLastPoint)this.CurrentChartDrawPicture.SetLastPoint({X:x,Y:y});bDrawPicture=true;}else{var drawPictrueData={};drawPictrueData.X=x;drawPictrueData.Y=y;if(this.GetChartDrawPictureByPoint(drawPictrueData)&&drawPictrueData.ChartDrawPicture){if(this.EnableEraseChartDrawPicture){this.SetCursor({Cursor:"grabbing"});}else{if(drawPictrueData.ChartDrawPicture.EnableMove==true){if(drawPictrueData.PointIndex===100){if(drawPictrueData.Cursor)this.SetCursor(drawPictrueData);//this.UIElement.style.cursor=drawPictrueData.Cursor;
2062
2063
  else this.SetCursor({Cursor:"move"});//this.UIElement.style.cursor="move";
@@ -2064,7 +2065,7 @@ else this.SetCursor({Cursor:"move"});//this.UIElement.style.cursor="move";
2064
2065
  else this.SetCursor({Cursor:"pointer"});//this.UIElement.style.cursor="pointer";
2065
2066
  }bDrawPicture=true;}}this.MoveOnChartDrawPicture=drawPictrueData.ChartDrawPicture;}else{if(!this.MouseDrag)this.SetCursor({Cursor:"default"});//this.UIElement.style.cursor="default";
2066
2067
  }}var clientPos=this.PtInClient(x,y);var option={ParentFunction:'OnMouseMove',Point:{X:x,Y:y},IsPhone:isPhone===true,ClientPos:clientPos};if(e&&(e.type=="mouseout"||e.type=="mouseleave")||button)option.Corss=false;//鼠标移开,在按钮上,不显示十字光标
2067
- if(this.SetCorssCursorIndex)this.SetCorssCursorIndex(option);if(this.DrawDynamicInfoOption.Enable){this.DrawDynamicInfoOption.Timer=setTimeout(function(){_this11.DrawDynamicInfo(option);},this.DrawDynamicInfoOption.DelayTime);}else{this.DrawDynamicInfo(option);}this.SetCursor(mouseStatus);if(this.IsShowTooltip&&bDrawPicture==false){var toolTip=this.GetChartTooltipData(x,y);if(toolTip&&toolTip.Data){if(isPhone===true){var touche=e.touches[0];var xTooltip=touche.clientX-this.UIElement.getBoundingClientRect().left;var yTooltip=touche.clientY-this.UIElement.getBoundingClientRect().top;}else{var xTooltip=e.clientX-this.UIElement.getBoundingClientRect().left;var yTooltip=e.clientY-this.UIElement.getBoundingClientRect().top;}this.ShowTooltip(xTooltip,yTooltip,toolTip);}else{this.HideTooltip();}}};//设置鼠标形状 {Cursor:鼠标形状 }
2068
+ if(this.SetCorssCursorIndex)this.SetCorssCursorIndex(option);if(this.DrawDynamicInfoOption.Enable){this.DrawDynamicInfoOption.Timer=setTimeout(function(){_this11.DrawDynamicInfo(option);},this.DrawDynamicInfoOption.DelayTime);}else{this.DrawDynamicInfo(option);}if(this.IsShowTooltip&&bDrawPicture==false){var toolTip=this.GetChartTooltipData(x,y);if(toolTip&&toolTip.Data){if(isPhone===true){var touche=e.touches[0];var xTooltip=touche.clientX-this.UIElement.getBoundingClientRect().left;var yTooltip=touche.clientY-this.UIElement.getBoundingClientRect().top;}else{var xTooltip=e.clientX-this.UIElement.getBoundingClientRect().left;var yTooltip=e.clientY-this.UIElement.getBoundingClientRect().top;}mouseStatus={Cursor:"default",Name:"Tooltip"};this.ShowTooltip(xTooltip,yTooltip,toolTip);}else{this.HideTooltip();}}this.SetCursor(mouseStatus);};//设置鼠标形状 {Cursor:鼠标形状 }
2068
2069
  this.SetCursor=function(obj){if(!obj||!obj.Cursor)return;if(obj.Cursor=="default")this.UIElement.style.cursor=this.DefaultCursor;else this.UIElement.style.cursor=obj.Cursor;};this.OnHotKeyDown=function(keyID,e)//热键触发
2069
2070
  {var item=this.FindHotKey(keyID,e);if(!item)return false;this.ExecuteMenuCommand(item.CMD,item.Args);return true;};this.FindHotKey=function(keyID,e){if(!IFrameSplitOperator.IsNonEmptyArray(this.AryHotKey))return null;for(var i=0;i<this.AryHotKey.length;++i){var item=this.AryHotKey[i];if(keyID==item.KeyID){//SecondKeyID 1=shiftKey 2=ctrlKey 3=altKey
2070
2071
  if(item.SecondKeyID==1&&e.shiftKey||item.SecondKeyID==2&&e.ctrlKey||item.SecondKeyID==3&&e.altKey)return item;}}return null;};this.IsHotKey=function(keyID,e){var item=this.FindHotKey(keyID,e);if(!item)return false;return true;};this.OnKeyDown=function(e){var _this12=this;if(this.ChartSplashPaint&&this.ChartSplashPaint.IsEnableSplash==true)return;var keyID=e.keyCode?e.keyCode:e.which;//回调事件
@@ -14736,7 +14737,7 @@ hisData.Symbol=message.symbol;}var stockObj={HQDataType:HQ_DATA_TYPE.KLINE_ID,St
14736
14737
  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);};}/********************************************************************************
14737
14738
  * 版本信息输出
14738
14739
  *
14739
- */var HQCHART_VERSION="1.1.14647";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();//把给外界调用的方法暴露出来
14740
+ */var HQCHART_VERSION="1.1.14652";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();//把给外界调用的方法暴露出来
14740
14741
  exports.default=(_jsChartInit$jsChartS={jsChartInit:JSChart.Init,jsChartStyle:JSChart.SetStyle,// IsIndexSymbol:IsIndexSymbol,
14741
14742
  // BaseIndex:BaseIndex,
14742
14743
  // ChartLine:ChartLine,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hqchart",
3
- "version": "1.1.14648",
3
+ "version": "1.1.14653",
4
4
  "description": "HQChart - H5, 微信小程序 沪深/港股/数字货币/期货/美股 K线图(kline),走势图,缩放,拖拽,十字光标,画图工具,截图,筹码图. 分析家语法,通达信语法,(麦语法),第3方数据对接",
5
5
  "main": "lib/main.js",
6
6
  "scripts": {
@@ -58789,6 +58789,8 @@ HQData.APIIndex_DRAWSVG=function(data, callback)
58789
58789
  },
58790
58790
  };
58791
58791
 
58792
+ if (count%20==1) drawItem.Value="Top";
58793
+
58792
58794
  SVGData.Draw.Data.push(drawItem);
58793
58795
  }
58794
58796
 
@@ -7114,8 +7114,18 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
7114
7114
  var sendData={ MouseStatus:null, X:x, Y:y, FrameID:frameID, e:e };
7115
7115
  if (this.TryMouseMove_CustomChartDrag(sendData))
7116
7116
  {
7117
- if (sendData.MouseStatus)
7118
- mouseStatus=sendData.MouseStatus;
7117
+ if (sendData.MouseStatus)
7118
+ {
7119
+ if (sendData.MouseStatus.Level==1) //高等级 覆盖状态
7120
+ {
7121
+ mouseStatus=sendData.MouseStatus;
7122
+ }
7123
+ else
7124
+ {
7125
+ if (!mouseStatus) mouseStatus=sendData.MouseStatus;
7126
+ }
7127
+ }
7128
+
7119
7129
  }
7120
7130
 
7121
7131
  var bDrawPicture=false; //是否正在画图
@@ -7197,8 +7207,6 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
7197
7207
  {
7198
7208
  this.DrawDynamicInfo(option);
7199
7209
  }
7200
-
7201
- this.SetCursor(mouseStatus);
7202
7210
 
7203
7211
  if (this.IsShowTooltip && bDrawPicture==false)
7204
7212
  {
@@ -7217,6 +7225,8 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
7217
7225
  var xTooltip = e.clientX-this.UIElement.getBoundingClientRect().left;
7218
7226
  var yTooltip = e.clientY-this.UIElement.getBoundingClientRect().top;
7219
7227
  }
7228
+ mouseStatus={ Cursor:"default", Name:"Tooltip"};
7229
+
7220
7230
  this.ShowTooltip(xTooltip,yTooltip,toolTip);
7221
7231
  }
7222
7232
  else
@@ -7224,6 +7234,8 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
7224
7234
  this.HideTooltip();
7225
7235
  }
7226
7236
  }
7237
+
7238
+ this.SetCursor(mouseStatus);
7227
7239
  }
7228
7240
 
7229
7241
  //设置鼠标形状 {Cursor:鼠标形状 }
@@ -3275,6 +3275,8 @@ HQData.APIIndex_DRAWSVG=function(data, callback)
3275
3275
  },
3276
3276
  };
3277
3277
 
3278
+ if (count%20==1) drawItem.Value="Top";
3279
+
3278
3280
  SVGData.Draw.Data.push(drawItem);
3279
3281
  }
3280
3282
 
@@ -11210,8 +11210,18 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
11210
11210
  var sendData={ MouseStatus:null, X:x, Y:y, FrameID:frameID, e:e };
11211
11211
  if (this.TryMouseMove_CustomChartDrag(sendData))
11212
11212
  {
11213
- if (sendData.MouseStatus)
11214
- mouseStatus=sendData.MouseStatus;
11213
+ if (sendData.MouseStatus)
11214
+ {
11215
+ if (sendData.MouseStatus.Level==1) //高等级 覆盖状态
11216
+ {
11217
+ mouseStatus=sendData.MouseStatus;
11218
+ }
11219
+ else
11220
+ {
11221
+ if (!mouseStatus) mouseStatus=sendData.MouseStatus;
11222
+ }
11223
+ }
11224
+
11215
11225
  }
11216
11226
 
11217
11227
  var bDrawPicture=false; //是否正在画图
@@ -11293,8 +11303,6 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
11293
11303
  {
11294
11304
  this.DrawDynamicInfo(option);
11295
11305
  }
11296
-
11297
- this.SetCursor(mouseStatus);
11298
11306
 
11299
11307
  if (this.IsShowTooltip && bDrawPicture==false)
11300
11308
  {
@@ -11313,6 +11321,8 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
11313
11321
  var xTooltip = e.clientX-this.UIElement.getBoundingClientRect().left;
11314
11322
  var yTooltip = e.clientY-this.UIElement.getBoundingClientRect().top;
11315
11323
  }
11324
+ mouseStatus={ Cursor:"default", Name:"Tooltip"};
11325
+
11316
11326
  this.ShowTooltip(xTooltip,yTooltip,toolTip);
11317
11327
  }
11318
11328
  else
@@ -11320,6 +11330,8 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
11320
11330
  this.HideTooltip();
11321
11331
  }
11322
11332
  }
11333
+
11334
+ this.SetCursor(mouseStatus);
11323
11335
  }
11324
11336
 
11325
11337
  //设置鼠标形状 {Cursor:鼠标形状 }
@@ -146788,7 +146800,7 @@ function ScrollBarBGChart()
146788
146800
 
146789
146801
 
146790
146802
 
146791
- var HQCHART_VERSION="1.1.14647";
146803
+ var HQCHART_VERSION="1.1.14652";
146792
146804
 
146793
146805
  function PrintHQChartVersion()
146794
146806
  {
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var HQCHART_VERSION="1.1.14647";
8
+ var HQCHART_VERSION="1.1.14652";
9
9
 
10
10
  function PrintHQChartVersion()
11
11
  {
@@ -58807,6 +58807,8 @@ HQData.APIIndex_DRAWSVG=function(data, callback)
58807
58807
  },
58808
58808
  };
58809
58809
 
58810
+ if (count%20==1) drawItem.Value="Top";
58811
+
58810
58812
  SVGData.Draw.Data.push(drawItem);
58811
58813
  }
58812
58814
 
@@ -11254,8 +11254,18 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
11254
11254
  var sendData={ MouseStatus:null, X:x, Y:y, FrameID:frameID, e:e };
11255
11255
  if (this.TryMouseMove_CustomChartDrag(sendData))
11256
11256
  {
11257
- if (sendData.MouseStatus)
11258
- mouseStatus=sendData.MouseStatus;
11257
+ if (sendData.MouseStatus)
11258
+ {
11259
+ if (sendData.MouseStatus.Level==1) //高等级 覆盖状态
11260
+ {
11261
+ mouseStatus=sendData.MouseStatus;
11262
+ }
11263
+ else
11264
+ {
11265
+ if (!mouseStatus) mouseStatus=sendData.MouseStatus;
11266
+ }
11267
+ }
11268
+
11259
11269
  }
11260
11270
 
11261
11271
  var bDrawPicture=false; //是否正在画图
@@ -11337,8 +11347,6 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
11337
11347
  {
11338
11348
  this.DrawDynamicInfo(option);
11339
11349
  }
11340
-
11341
- this.SetCursor(mouseStatus);
11342
11350
 
11343
11351
  if (this.IsShowTooltip && bDrawPicture==false)
11344
11352
  {
@@ -11357,6 +11365,8 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
11357
11365
  var xTooltip = e.clientX-this.UIElement.getBoundingClientRect().left;
11358
11366
  var yTooltip = e.clientY-this.UIElement.getBoundingClientRect().top;
11359
11367
  }
11368
+ mouseStatus={ Cursor:"default", Name:"Tooltip"};
11369
+
11360
11370
  this.ShowTooltip(xTooltip,yTooltip,toolTip);
11361
11371
  }
11362
11372
  else
@@ -11364,6 +11374,8 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
11364
11374
  this.HideTooltip();
11365
11375
  }
11366
11376
  }
11377
+
11378
+ this.SetCursor(mouseStatus);
11367
11379
  }
11368
11380
 
11369
11381
  //设置鼠标形状 {Cursor:鼠标形状 }
@@ -157510,7 +157522,7 @@ function HQChartScriptWorker()
157510
157522
 
157511
157523
 
157512
157524
 
157513
- var HQCHART_VERSION="1.1.14647";
157525
+ var HQCHART_VERSION="1.1.14652";
157514
157526
 
157515
157527
  function PrintHQChartVersion()
157516
157528
  {