hqchart 1.1.15187 → 1.1.15191

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.
@@ -7833,7 +7833,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
7833
7833
  if (!indexScript) return;
7834
7834
 
7835
7835
  data.IndexScript=indexScript;
7836
- data.Title=`[${indexScript.Name}]参数修改 窗口[${data.WindowIndex+1}]`;
7836
+ data.Title=`[${indexScript.Name || "--"}]参数修改 窗口[${data.WindowIndex+1}]`;
7837
7837
  }
7838
7838
  else if (data.Type==2)
7839
7839
  {
@@ -7842,7 +7842,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
7842
7842
  var indexScript=overlayIndex.OverlayItem.Script;
7843
7843
 
7844
7844
  data.IndexScript=indexScript;
7845
- data.Title=`[${indexScript.Name}]参数修改 叠加窗口[${data.WindowIndex+1}]`;
7845
+ data.Title=`[${indexScript.Name || "--"}]参数修改 叠加窗口[${data.WindowIndex+1}]`;
7846
7846
  }
7847
7847
 
7848
7848
  this.DialogModifyIndexParam.SetIndexData(data);
@@ -82006,12 +82006,7 @@ function JSChartResource()
82006
82006
  }
82007
82007
  }
82008
82008
 
82009
- this.DivFrameToolbar=
82010
- {
82011
- Icon:{ Color:"rgb(0,0,0)", HoverColor:"rgb(30,144,255)" },
82012
- Tooltip:{ BGColor:"rgb(255,255,255)", TextColor:"rgb(71,71,71)", BorderColor:"rgb(0,0,0)" },
82013
- }
82014
-
82009
+
82015
82010
  //画图工具
82016
82011
  this.DrawPicture=
82017
82012
  {
@@ -83957,28 +83952,6 @@ function JSChartResource()
83957
83952
 
83958
83953
  if (style.SmallFloatTooltipV2) this.SetSmallFloatTooltipV2(style.SmallFloatTooltipV2);
83959
83954
 
83960
- if (style.DivFrameToolbar) this.SetDivFrameToolbar(style.DivFrameToolbar);
83961
- }
83962
-
83963
- this.SetDivFrameToolbar=function(style)
83964
- {
83965
- var dest=this.DivFrameToolbar;
83966
- if (style.Icon)
83967
- {
83968
- var item=style.Icon;
83969
- var subDest=dest.Icon;
83970
- if (item.Color) subDest.Color=item.Color;
83971
- if (item.HoverColor) subDest.HoverColor=item.HoverColor;
83972
- }
83973
-
83974
- if (style.Tooltip)
83975
- {
83976
- var item=style.Tooltip;
83977
- var subDest=dest.Tooltip;
83978
- if (item.TextColor) subDest.TextColor=item.TextColor;
83979
- if (item.BorderColor) subDest.BorderColor=item.BorderColor;
83980
- if (item.BGColor) subDest.BGColor=item.BGColor;
83981
- }
83982
83955
  }
83983
83956
 
83984
83957
  this.SetSmallFloatTooltipV2=function(style)
@@ -109583,12 +109556,6 @@ function JSDivFrameToolbar()
109583
109556
  this.Left=-1;
109584
109557
  this.Top=-1;
109585
109558
 
109586
- this.IconConfig=
109587
- {
109588
- Color:g_JSChartResource.DivFrameToolbar.Icon.Color,
109589
- HoverColor:g_JSChartResource.DivFrameToolbar.Icon.HoverColor
109590
- }
109591
-
109592
109559
  this.AryButton=[]; //按钮数组
109593
109560
 
109594
109561
  //创建按钮
@@ -109730,20 +109697,10 @@ function JSDivFrameToolbar()
109730
109697
  this.UpdateStyle=function()
109731
109698
  {
109732
109699
  if (!this.DivToolbar) return;
109733
-
109734
- for(var i=0;i<this.AryButton.length; i++)
109735
- {
109736
- var item=this.AryButton[i]
109737
- if (!item.Span) continue;
109738
- item.Span.style["color"]=this.IconConfig.Color;
109739
- }
109740
109700
  }
109741
109701
 
109742
109702
  this.ReloadResource=function(option)
109743
109703
  {
109744
- this.IconConfig.Color=g_JSChartResource.DivFrameToolbar.Icon.Color,
109745
- this.IconConfig.HoverColor=g_JSChartResource.DivFrameToolbar.Icon.HoverColor;
109746
-
109747
109704
  this.UpdateStyle();
109748
109705
  }
109749
109706
 
@@ -109780,15 +109737,12 @@ function JSDivFrameToolbar()
109780
109737
  {
109781
109738
  if (!item.Span) return;
109782
109739
 
109783
- item.Span.style["color"]=this.IconConfig.HoverColor;
109784
-
109785
109740
  this.ShowTooltip(e, item);
109786
109741
  }
109787
109742
 
109788
109743
  this.OnLeaveButton=function(e, item)
109789
109744
  {
109790
109745
  if (!item.Span) return;
109791
- item.Span.style["color"]=this.IconConfig.Color;
109792
109746
 
109793
109747
  this.HideTooltip();
109794
109748
  }
@@ -109932,10 +109886,6 @@ function JSToolbarTooltip()
109932
109886
  this.Left=-1;
109933
109887
  this.Top=-1;
109934
109888
 
109935
- this.BGColor=g_JSChartResource.DivFrameToolbar.Tooltip.BGColor;
109936
- this.TextColor=g_JSChartResource.DivFrameToolbar.Tooltip.TextColor;
109937
- this.BorderColor=g_JSChartResource.DivFrameToolbar.Tooltip.BorderColor;
109938
-
109939
109889
  this.Create=function()
109940
109890
  {
109941
109891
  var divDom=document.createElement("div");
@@ -109949,20 +109899,12 @@ function JSToolbarTooltip()
109949
109899
 
109950
109900
  this.ReloadResource=function(option)
109951
109901
  {
109952
- this.BGColor=g_JSChartResource.DivFrameToolbar.Tooltip.BGColor;
109953
- this.TextColor=g_JSChartResource.DivFrameToolbar.Tooltip.TextColor;
109954
- this.BorderColor=g_JSChartResource.DivFrameToolbar.Tooltip.BorderColor;
109955
-
109956
109902
  this.UpdateStyle();
109957
109903
  }
109958
109904
 
109959
109905
  this.UpdateStyle=function()
109960
109906
  {
109961
109907
  if (!this.DivTooltip) return;
109962
-
109963
- this.DivTooltip.style["background-color"]=this.BGColor;
109964
- this.DivTooltip.style["color"]=this.TextColor;
109965
- this.DivTooltip.style["border"]="1px solid " + this.BorderColor;
109966
109908
  }
109967
109909
 
109968
109910
  this.Show=function(top, left, tooltipData)
@@ -137470,12 +137412,6 @@ function GetBlackStyle()
137470
137412
  }
137471
137413
  },
137472
137414
 
137473
- DivFrameToolbar:
137474
- {
137475
- Icon:{ Color:"rgb(156,156,156)", HoverColor:"rgb(255,255,255)" },
137476
- Tooltip:{ BGColor:"rgb(32,32,32)", TextColor:"rgb(204,204,204)", BorderColor:"rgb(69,69,69)" },
137477
- },
137478
-
137479
137415
  DrawPicture: //画图工具
137480
137416
  {
137481
137417
  LineColor:
@@ -166188,7 +166124,7 @@ function HQChartScriptWorker()
166188
166124
 
166189
166125
 
166190
166126
 
166191
- var HQCHART_VERSION="1.1.15186";
166127
+ var HQCHART_VERSION="1.1.15190";
166192
166128
 
166193
166129
  function PrintHQChartVersion()
166194
166130
  {