hqchart 1.1.15184 → 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.
@@ -3693,7 +3693,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
3693
3693
  if (!indexScript) return;
3694
3694
 
3695
3695
  data.IndexScript=indexScript;
3696
- data.Title=`[${indexScript.Name}]参数修改 窗口[${data.WindowIndex+1}]`;
3696
+ data.Title=`[${indexScript.Name || "--"}]参数修改 窗口[${data.WindowIndex+1}]`;
3697
3697
  }
3698
3698
  else if (data.Type==2)
3699
3699
  {
@@ -3702,7 +3702,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
3702
3702
  var indexScript=overlayIndex.OverlayItem.Script;
3703
3703
 
3704
3704
  data.IndexScript=indexScript;
3705
- data.Title=`[${indexScript.Name}]参数修改 叠加窗口[${data.WindowIndex+1}]`;
3705
+ data.Title=`[${indexScript.Name || "--"}]参数修改 叠加窗口[${data.WindowIndex+1}]`;
3706
3706
  }
3707
3707
 
3708
3708
  this.DialogModifyIndexParam.SetIndexData(data);
@@ -10812,8 +10812,18 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10812
10812
  {
10813
10813
  var paint=this.GetRectSelectPaint();
10814
10814
  if (!paint) return false;
10815
- if (bEnforce) paint.PreventClose=false;
10816
- return paint.ClearPoint();
10815
+ if (bEnforce)
10816
+ {
10817
+ var oldPreventClose=paint.PreventClose; //备份下
10818
+ paint.PreventClose=false;
10819
+ var result=paint.ClearPoint();
10820
+ paint.PreventClose=oldPreventClose; //还原
10821
+ return result;
10822
+ }
10823
+ else
10824
+ {
10825
+ return paint.ClearPoint();
10826
+ }
10817
10827
  }
10818
10828
 
10819
10829
  //删除指定窗口的所有叠加指标
@@ -51261,6 +51271,7 @@ function RectSelectPaint()
51261
51271
  if (option.LineColor) this.LineColor=option.LineColor;
51262
51272
  if (option.AreaColor) this.AreaColor=option.AreaColor;
51263
51273
  if (IFrameSplitOperator.IsBool(option.SpaceReselected)) this.SpaceReselected=option.SpaceReselected;
51274
+ if (IFrameSplitOperator.IsBool(option.PreventClose)) this.PreventClose=option.PreventClose;
51264
51275
 
51265
51276
  if (option.ShowRangeText)
51266
51277
  {
@@ -77855,12 +77866,7 @@ function JSChartResource()
77855
77866
  }
77856
77867
  }
77857
77868
 
77858
- this.DivFrameToolbar=
77859
- {
77860
- Icon:{ Color:"rgb(0,0,0)", HoverColor:"rgb(30,144,255)" },
77861
- Tooltip:{ BGColor:"rgb(255,255,255)", TextColor:"rgb(71,71,71)", BorderColor:"rgb(0,0,0)" },
77862
- }
77863
-
77869
+
77864
77870
  //画图工具
77865
77871
  this.DrawPicture=
77866
77872
  {
@@ -79806,28 +79812,6 @@ function JSChartResource()
79806
79812
 
79807
79813
  if (style.SmallFloatTooltipV2) this.SetSmallFloatTooltipV2(style.SmallFloatTooltipV2);
79808
79814
 
79809
- if (style.DivFrameToolbar) this.SetDivFrameToolbar(style.DivFrameToolbar);
79810
- }
79811
-
79812
- this.SetDivFrameToolbar=function(style)
79813
- {
79814
- var dest=this.DivFrameToolbar;
79815
- if (style.Icon)
79816
- {
79817
- var item=style.Icon;
79818
- var subDest=dest.Icon;
79819
- if (item.Color) subDest.Color=item.Color;
79820
- if (item.HoverColor) subDest.HoverColor=item.HoverColor;
79821
- }
79822
-
79823
- if (style.Tooltip)
79824
- {
79825
- var item=style.Tooltip;
79826
- var subDest=dest.Tooltip;
79827
- if (item.TextColor) subDest.TextColor=item.TextColor;
79828
- if (item.BorderColor) subDest.BorderColor=item.BorderColor;
79829
- if (item.BGColor) subDest.BGColor=item.BGColor;
79830
- }
79831
79815
  }
79832
79816
 
79833
79817
  this.SetSmallFloatTooltipV2=function(style)
@@ -105432,12 +105416,6 @@ function JSDivFrameToolbar()
105432
105416
  this.Left=-1;
105433
105417
  this.Top=-1;
105434
105418
 
105435
- this.IconConfig=
105436
- {
105437
- Color:g_JSChartResource.DivFrameToolbar.Icon.Color,
105438
- HoverColor:g_JSChartResource.DivFrameToolbar.Icon.HoverColor
105439
- }
105440
-
105441
105419
  this.AryButton=[]; //按钮数组
105442
105420
 
105443
105421
  //创建按钮
@@ -105579,20 +105557,10 @@ function JSDivFrameToolbar()
105579
105557
  this.UpdateStyle=function()
105580
105558
  {
105581
105559
  if (!this.DivToolbar) return;
105582
-
105583
- for(var i=0;i<this.AryButton.length; i++)
105584
- {
105585
- var item=this.AryButton[i]
105586
- if (!item.Span) continue;
105587
- item.Span.style["color"]=this.IconConfig.Color;
105588
- }
105589
105560
  }
105590
105561
 
105591
105562
  this.ReloadResource=function(option)
105592
105563
  {
105593
- this.IconConfig.Color=g_JSChartResource.DivFrameToolbar.Icon.Color,
105594
- this.IconConfig.HoverColor=g_JSChartResource.DivFrameToolbar.Icon.HoverColor;
105595
-
105596
105564
  this.UpdateStyle();
105597
105565
  }
105598
105566
 
@@ -105629,15 +105597,12 @@ function JSDivFrameToolbar()
105629
105597
  {
105630
105598
  if (!item.Span) return;
105631
105599
 
105632
- item.Span.style["color"]=this.IconConfig.HoverColor;
105633
-
105634
105600
  this.ShowTooltip(e, item);
105635
105601
  }
105636
105602
 
105637
105603
  this.OnLeaveButton=function(e, item)
105638
105604
  {
105639
105605
  if (!item.Span) return;
105640
- item.Span.style["color"]=this.IconConfig.Color;
105641
105606
 
105642
105607
  this.HideTooltip();
105643
105608
  }
@@ -105781,10 +105746,6 @@ function JSToolbarTooltip()
105781
105746
  this.Left=-1;
105782
105747
  this.Top=-1;
105783
105748
 
105784
- this.BGColor=g_JSChartResource.DivFrameToolbar.Tooltip.BGColor;
105785
- this.TextColor=g_JSChartResource.DivFrameToolbar.Tooltip.TextColor;
105786
- this.BorderColor=g_JSChartResource.DivFrameToolbar.Tooltip.BorderColor;
105787
-
105788
105749
  this.Create=function()
105789
105750
  {
105790
105751
  var divDom=document.createElement("div");
@@ -105798,20 +105759,12 @@ function JSToolbarTooltip()
105798
105759
 
105799
105760
  this.ReloadResource=function(option)
105800
105761
  {
105801
- this.BGColor=g_JSChartResource.DivFrameToolbar.Tooltip.BGColor;
105802
- this.TextColor=g_JSChartResource.DivFrameToolbar.Tooltip.TextColor;
105803
- this.BorderColor=g_JSChartResource.DivFrameToolbar.Tooltip.BorderColor;
105804
-
105805
105762
  this.UpdateStyle();
105806
105763
  }
105807
105764
 
105808
105765
  this.UpdateStyle=function()
105809
105766
  {
105810
105767
  if (!this.DivTooltip) return;
105811
-
105812
- this.DivTooltip.style["background-color"]=this.BGColor;
105813
- this.DivTooltip.style["color"]=this.TextColor;
105814
- this.DivTooltip.style["border"]="1px solid " + this.BorderColor;
105815
105768
  }
105816
105769
 
105817
105770
  this.Show=function(top, left, tooltipData)
@@ -48,105 +48,6 @@ input,canvas{outline:0px;}
48
48
  border-radius:4px;
49
49
  }
50
50
 
51
- /*右键菜单*/
52
- .context-menu-wrapper {
53
- position: absolute;
54
- z-index: 500;
55
- overflow: auto;
56
- border: 1px solid;
57
- border-color: #b5b7b9;
58
- background-color: #fff;
59
- white-space: nowrap;
60
- }
61
-
62
- html.theme-dark .context-menu-wrapper {
63
- background-color: #1c2030;
64
- border-color: #363c4e;
65
- }
66
-
67
- .context-menu-wrapper .backlight {
68
- background-color: #f2f3f5;
69
- }
70
-
71
- html.theme-dark .context-menu-wrapper .backlight {
72
- background-color: #2f3241;
73
- }
74
-
75
- tr.context-menu.disabled {
76
- color: #9d9d9d;
77
- }
78
-
79
- /*
80
- tr.context-menu.spinner > td {
81
- background: url("/static/images/loading-small.0c15c93a2cb0.gif") 50% no-repeat;
82
- cursor: default;
83
- }
84
- */
85
-
86
- .submenu.center {
87
- background-color: #fff;
88
- }
89
-
90
- .context-menu {
91
- font-family: Tahoma,Arial,sans-serif;
92
- font-size: 11px;
93
- white-space: nowrap;
94
- }
95
-
96
- tr.context-menu {
97
- cursor: pointer;
98
- height: 29px;
99
- }
100
-
101
- tr.context-menu:hover {
102
- background: #f2f3f5;
103
- }
104
-
105
- html.theme-dark tr.context-menu-hover {
106
- background: #2f3241;
107
- }
108
-
109
- td.context-menu {
110
- opacity: 1;
111
- cursor: pointer;
112
- padding-left: 4px;
113
- }
114
-
115
- .context-menu-item-separated {
116
- border-bottom: 1px solid #cecece;
117
- }
118
-
119
- .context-menu .text {
120
- min-width: 100px;
121
- }
122
-
123
- .context-menu .spacer {
124
- width: 18px;
125
- text-align: center;
126
- }
127
-
128
- .context-menu .icon {
129
- height: 27px;
130
- width: 18px;
131
- }
132
-
133
- .context-menu .shortcut {
134
- text-align: right;
135
- color: #aaa;
136
- padding: 0 2px 0 10px;
137
- }
138
-
139
- .submenu-arrow {
140
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAKElEQVR4AWOgExgFo6Cvr+8/1Q0EYaoaCMNUNBCBB68LqRvLIxiMAgAKDyqRblYs2AAAAABJRU5ErkJggg==);
141
- background-repeat: no-repeat;
142
- background-position: 50%;
143
- width: 20px;
144
- }
145
-
146
- .border td {
147
- border-bottom:1px solid #b5b7b9;
148
- }
149
- /*右键菜单结束*/
150
51
 
151
52
  /*工具条*/
152
53
  .tools {
@@ -271,154 +172,6 @@ td.context-menu {
271
172
  }
272
173
  /*拖拽切换结束*/
273
174
 
274
- /*画图工具*/
275
- .drawing {
276
- height: 36px;
277
- float:left;
278
- border:1px solid #ECEFF2;
279
- }
280
-
281
- .drawing .lable {
282
- background:#ECEFF2;
283
- height: 36px;
284
- line-height:36px;
285
- float:left;
286
- margin-right:1px;
287
- padding:0px 5px;
288
- }
289
- .drawing .item{
290
- float:left;
291
- margin: 1px 1px 1px 0px;
292
- padding: 0 5px;
293
- cursor: pointer;
294
- border: 1px solid #ECEFF2;
295
- height: 32px;
296
- line-height: 32px;
297
- }
298
-
299
- .drawing .item.active{
300
- background:#1592e6;
301
- color:#fff;
302
- border-color:#1592e6;
303
- }
304
- .drawtools {border: 1px solid #ccc; background: #fff;}
305
- .drawtools .icon-image {text-align: center; padding: 5px 0 5px 10px; height: 24px; position: relative;}
306
- .drawtools .icon-image>i:nth-of-type(1) {font-size: 24px;}
307
- .drawtools .icon-image.active>i:nth-of-type(1) {color: #0182d4;}
308
- .drawtools .icon-image .menuTwo {position: absolute; top: 0; right: 46px; border: 1px solid #ccc; background-color: #fff; display: none; text-align: right;}
309
- .drawtools .icon-image .menuTwo .menuTwoItem {height: 24px; line-height: 24px; width: 125px; font-size: 12px; padding: 5px 0; display: block; padding-right: 10px;}
310
- .drawtools .icon-image .menuTwo .menuTwoItem::after {content: ""; display: block; width: 0; height: 0; clear: both; overflow: hidden;}
311
- .drawtools .icon-image .menuTwo .menuTwoItem>i {float:right; margin-left: 5px; font-size: 24px;}
312
- .drawtools .icon-image .menuTwo .menuTwoItem:hover {background-color: #ebf7fc;}
313
- .drawtools .icon-image .menuTwo .menuTwoItem.current {background-color: #37a6ef;}
314
- .drawtools .icon-image .contentArrow {font-size: 12px; position: absolute; top: 12px; left: 0; transition: transform 0.2s; display: none;}
315
- .drawtools .icon-image .contentArrow.trans {transform: rotate(180deg);}
316
- .drawtools .icon-image:last-child { border-top: 1px solid #ccc;}
317
-
318
- .chartpicture-text-setting {width: 400px; background-color: #fff; border: 1px solid; border-color: #b5b7b9; box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15)}
319
- .titleWrap {height: 53px; line-height: 53px; width: 100%; border-bottom: 1px solid; border-color: #dadde0; position: relative;}
320
- .titleWrap .titleName {height: 53px; line-height: 53px; display: inline-block; padding: 0 2px; font-size: 14px; color: #4f5966; margin-left: 14px; position: relative;}
321
- .titleWrap .titleName::after { content: ' '; position: absolute; display: block; left: 0; bottom: -1px; width: 100%; height: 3px; background-color: #5cb888;}
322
- .titleWrap .closeBtn {font-size: 12px; color: #777; position: absolute; top: 0; right: 0; padding-right: 14px; padding-left: 14px; cursor: pointer;}
323
- .contentWrap { padding: 15px 27px;}
324
- .contentWrap .styleOptions {height: 27px; margin-bottom: 7px;}
325
- .contentWrap .styleOptions .colorPicker {width: 25px; height: 25px; cursor: pointer; display: inline-block; border: 1px solid; border-color: #1e90ff; background-color: #1e90ff; margin-right: 5px; position: relative;}
326
- .contentWrap .colorPicker #fontColor {position: absolute; top: 0; left: 0; opacity: 0; width: 100%; height: 100%; display: block;}
327
- .contentWrap .likeSelect {height: 25px; width: 50px; background-color: #f1f3f6; line-height: 25px; cursor: pointer; display: inline-block; vertical-align: top; font-size: 14px; padding: 0 20px 0 10px; border: 1px solid; border-color: #dadde0; margin-right: 5px; position: relative;}
328
- .contentWrap .fontSelect {font-size: 12px;}
329
- .contentWrap .likeSelect .choicedText {display: inline-block; width: 78px; height: 100%; overflow: hidden;}
330
- /* .contentWrap .likeSelect select {position: absolute; width: 100%; height: 100%; left: 0; top: 0; z-index: 999; opacity: 0.5;}
331
- .contentWrap .likeSelect option {height: 30px; line-height: 30px;} */
332
- .contentWrap .likeSelect i { font-size: 15px; position: absolute; top: 0; right: 6px;}
333
- .contentWrap .likeSelect .selectList {position: absolute; top: 27px; left: 0; background-color: #fff; border: 1px solid #dadde0; display: none;}
334
- .contentWrap .selectList p {padding: 0 15px; height: 30px; line-height: 30px; cursor: pointer; white-space: nowrap;}
335
- .contentWrap .selectList p:hover {background-color: #f1f3f6;}
336
- .contentWrap .selectList p.active {background-color: #f1f3f6; border-left: 3px solid #5cb888;}
337
- .contentWrap .likeBtn {border: 1px solid; border-color: #dadde0; text-align: center; cursor: pointer; vertical-align: top; font-size: 16px; margin-right: 5px; color: #4a4a4a; display: inline-block; width: 25px; height: 25px; line-height: 25px; background-color: #f1f3f6;}
338
- .contentWrap .strongFont {font-weight: bold;}
339
- .contentWrap .italicsFont {font-style: italic;}
340
- .contentWrap .tArea {border: 1px solid #b5b7b9; background-color: #fff; resize: none; color: #4a4a4a; font-size: 12px; line-height: 18px; box-sizing:border-box; padding: 8px 5px; width: 100%; height: 200px;}
341
- .contentWrap .likeSelect:hover,.contentWrap .likeBtn:hover {border-color: #b5b7b9;}
342
- .contentWrap .likeSelect.hot,.contentWrap .likeBtn.hot {background-color: #fff;}
343
- .btnsContainer {text-align: right; padding: 0 13px 27px 13px;}
344
- .btnsContainer .btn {width: 72px; height: 24px; line-height: 24px; cursor: pointer; padding-top: 4px; text-align: center; font-size: 14px; color: #fff; margin-right: 10px; display: inline-block;}
345
- .btnsContainer .okBtn {background-color: #3bb3e4;}
346
- .btnsContainer .okBtn:hover {background-color: #38acdb;}
347
- .btnsContainer .cancelBtn {background-color: #9ca0a6; margin-right: 0;}
348
- .btnsContainer .cancelBtn:hover{background-color: #898c91;}
349
-
350
- /*画图工具结束*/
351
-
352
- /*区间统计*/
353
- .jchart-select-statistics-box {
354
- position: fixed;
355
- width:100%;
356
- height:100%;
357
- left:0;
358
- top:0;
359
- background-color: rgba(0,0,0,0.01);
360
- display:none;
361
- z-index: 999;
362
- }
363
- .interval .top {
364
- padding-left: 10px;
365
- box-sizing: border-box;
366
- height:40px;
367
- line-height:40px;
368
- text-align:left;
369
- border-bottom: solid 1px #e1ecf2;
370
- font-size: 14px;
371
- color: #757d81;
372
- }
373
- .interval .top .closeBtn {
374
- float:right;
375
- margin-right:15px;
376
- cursor:pointer;
377
- font-weight: 600;
378
- }
379
- .interval table{
380
- width:100%;
381
- height:170px;
382
- }
383
-
384
- .changColorR{
385
- border-right-color: #1295d9 !important;
386
- }
387
- .changColorL{
388
- border-left-color: #1295d9 !important;
389
- }
390
- .interval table .dateChange1 {
391
- /*padding :0px 3px;*/
392
- display: inline-block;
393
- cursor:pointer;
394
- width: 0;
395
- height: 0;
396
- border: 6px solid transparent;
397
- border-right: 6px solid #c8d2db;
398
- }
399
- .interval table .dateChange2 {
400
- /*padding :0px 3px;*/
401
- display: inline-block;
402
- cursor:pointer;
403
- width: 0;
404
- height: 0;
405
- border: 6px solid transparent;
406
- border-left: 6px solid #c8d2db;
407
- }
408
- .interval table tr td:nth-child(2),.interval table tr td:nth-child(4),.interval table tr td:nth-child(6){
409
- font-weight: bold;
410
- }
411
- .interval table td{
412
- padding-left:10px;
413
- border-bottom:1px solid #ECEFF2;
414
- }
415
- .interval table td.name {
416
- text-align:right;
417
- }
418
- .interval table td:last-child {
419
- padding-right:10px;
420
- }
421
- /*区间统计结束*/
422
175
 
423
176
  /*形态匹配*/
424
177
  .kLineMatch {
@@ -627,116 +380,7 @@ td.context-menu {
627
380
  margin-right: 10px;
628
381
  }
629
382
 
630
- /*参数设置面板*/
631
- .jchart-changeindex-box{
632
- position: fixed;
633
- display: none;
634
- width:100%;
635
- height:100%;
636
- left:0;
637
- top:0;
638
- z-index: 999;
639
- background-color: rgba(0,0,0,0.01);
640
- }
641
-
642
- .jchart-modifyindex-box{
643
- position: fixed;
644
- display: none;
645
- width:100%;
646
- height:100%;
647
- left:0;
648
- top:0;
649
- z-index: 999;
650
- background-color: rgba(0,0,0,0.01);
651
- }
652
-
653
- .jchart-kline-minute-box{
654
- position: absolute;
655
- display: none;
656
- width:500px;
657
- height:550px!important;
658
- padding: 0 5px 20px 10px;
659
- background-color: rgba(255,255,255,0.95);
660
- border: solid 1px rgba(200, 210, 219, 0.92);
661
- box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.23);
662
- z-index: 999;
663
- }
664
-
665
- .parameter{
666
- position: absolute;
667
- top:50%;
668
- left: 50%;
669
- transform: translateX(-50%) translateY(-50%);
670
- padding: 3px;
671
- box-sizing: border-box;
672
- width: 520px;
673
- height: 421px;
674
- background-color: rgba(255, 255, 255, 0.96);
675
- box-shadow: 0px 4px 17px 0px rgba(0, 0, 0, 0.55);
676
- border-radius: 2px;
677
- z-index: 999;
678
- }
679
- .parameter-header{
680
- position: relative;
681
- width:100%;
682
- height: 42px;
683
- line-height: 42px;
684
- border-bottom: 1px solid #c8d2db;
685
- }
686
- .parameter-header span{
687
- font-family: 微软雅黑;
688
- font-size: 14px;
689
- margin-left: 10px;
690
- }
691
- .parameter-header strong{
692
- position: absolute;
693
- right: 10px;
694
- top: 10px;
695
- font-size: 14px;
696
- font-weight: 300;
697
- }
698
- .parameter-content{
699
- padding: 20px;
700
- box-sizing: border-box;
701
- }
702
-
703
- .row-line{
704
- margin-right: 20px;
705
- margin-top: 10px;
706
- padding-left: 3px;
707
- box-sizing: border-box;
708
- width:100px;
709
- height:24px;
710
- line-height: 24px;
711
- border:1px solid #cccccc;
712
- }
713
- #close{
714
- cursor: pointer;
715
- }
716
- .parameter1{
717
- cursor:pointer;
718
- }
719
383
 
720
- .parameter-footer{
721
- position: absolute;
722
- bottom: 20px;
723
- left: 50%;
724
- transform: translateX(-50%);
725
- }
726
- .parameter-footer button{
727
- margin-left: 15px;
728
- width: 78px;
729
- height: 28px;
730
- border: none;
731
- border-radius: 2px;
732
- color: #ffffff;
733
- }
734
- .submit{
735
- background-color: #0182d4;
736
- }
737
- .cancel{
738
- background-color: #c8d2db;
739
- }
740
384
 
741
385
  /*指数设置面板*/
742
386
  .target-box{
@@ -2386,7 +2030,7 @@ input[type="color"] {
2386
2030
  {
2387
2031
  visibility:hidden;
2388
2032
  position: absolute;
2389
- background-color: transparent;
2033
+ background-color: var(--HQChart-DivFrameToolbar-BGColor);
2390
2034
  z-index: 10;
2391
2035
  line-height: 24px;
2392
2036
  left:1px;
@@ -2402,30 +2046,22 @@ input[type="color"] {
2402
2046
  .UMyChart_FrameToolbar_Span_Button
2403
2047
  {
2404
2048
  font-size: 14px;
2405
- color: rgb(190,190,190);
2049
+ color: var(--HQChart-DivFrameToolbar-TextColor);
2406
2050
  }
2407
2051
 
2408
- .UMyChart_FrameToolbar_Div_Tooltip
2052
+ .UMyChart_FrameToolbar_Span_Button:hover
2409
2053
  {
2410
- visibility:hidden;
2411
-
2412
- background-color: rgb(220,220,220);
2413
- color: rgb(0,0,0);
2414
- text-align: center;
2415
- border-radius: 2px;
2416
- padding: 2px;
2417
- position: absolute;
2418
- z-index: 50;
2419
2054
  font-size: 14px;
2420
- white-space: nowrap;
2421
- right: 100%;
2055
+ color: var(--HQChart-DivFrameToolbar-HoverTextColor);
2422
2056
  }
2423
2057
 
2058
+
2424
2059
  .UMyChart_Toolbar_Tooltip_Div
2425
2060
  {
2426
2061
  visibility:hidden;
2427
- background-color: rgb(220,220,220);
2428
- color: rgb(0,0,0);
2062
+ background-color: var(--HQChart-ToolbarTooltip-BGColor);
2063
+ color: var(--HQChart-ToolbarTooltip-TextColor);
2064
+ border: 1px solid var(--HQChart-ToolbarTooltip-BorderColor);
2429
2065
  text-align: center;
2430
2066
  border-radius: 2px;
2431
2067
  padding: 2px;
@@ -2494,7 +2130,20 @@ input[type="color"] {
2494
2130
  --HQChart-DialogModifyIndexParam-CloseColor:rgb(180,180,180);
2495
2131
  --HQChart-DialogModifyIndexParam-ParamNameColor:rgb(20,20,20);
2496
2132
  --HQChart-DialogModifyIndexParam-InputTextColor:rgb(20,20,20);
2497
-
2133
+
2134
+ /*
2135
+ JSDivFrameToolbar
2136
+ */
2137
+ --HQChart-DivFrameToolbar-BGColor:transparent;
2138
+ --HQChart-DivFrameToolbar-TextColor:rgb(0,0,0);
2139
+ --HQChart-DivFrameToolbar-HoverTextColor:rgb(30,144,255);
2140
+
2141
+ /*
2142
+ JSToolbarTooltip
2143
+ */
2144
+ --HQChart-ToolbarTooltip-BGColor:rgb(255,255,255);
2145
+ --HQChart-ToolbarTooltip-TextColor:rgb(71,71,71);
2146
+ --HQChart-ToolbarTooltip-BorderColor:rgb(0,0,0);
2498
2147
  }
2499
2148
 
2500
2149
  /*
@@ -2558,6 +2207,20 @@ input[type="color"] {
2558
2207
  --HQChart-DialogModifyIndexParam-CloseColor:rgb(180,180,180);
2559
2208
  --HQChart-DialogModifyIndexParam-ParamNameColor:rgb(20,20,20);
2560
2209
  --HQChart-DialogModifyIndexParam-InputTextColor:rgb(20,20,20);
2210
+
2211
+
2212
+ /*
2213
+ JSDivFrameToolbar
2214
+ */
2215
+ --HQChart-DivFrameToolbar-BGColor:transparent;
2216
+ --HQChart-DivFrameToolbar-TextColor:rgb(0,0,0);
2217
+ --HQChart-DivFrameToolbar-HoverTextColor:rgb(30,144,255);
2218
+ /*
2219
+ JSToolbarTooltip
2220
+ */
2221
+ --HQChart-ToolbarTooltip-BGColor:rgb(255,255,255);
2222
+ --HQChart-ToolbarTooltip-TextColor:rgb(71,71,71);
2223
+ --HQChart-ToolbarTooltip-BorderColor:rgb(0,0,0);
2561
2224
  }
2562
2225
 
2563
2226
  /*
@@ -2614,6 +2277,19 @@ input[type="color"] {
2614
2277
  --HQChart-DialogModifyIndexParam-TitleBGColor: rgb(200, 66, 69);
2615
2278
  --HQChart-DialogModifyIndexParam-ParamNameColor:rgb(210,210,210);
2616
2279
  --HQChart-DialogModifyIndexParam-InputTextColor:rgb(210,210,210);
2280
+
2281
+ /*
2282
+ JSDivFrameToolbar
2283
+ */
2284
+ --HQChart-DivFrameToolbar-BGColor:transparent;
2285
+ --HQChart-DivFrameToolbar-TextColor:rgb(156,156,156);
2286
+ --HQChart-DivFrameToolbar-HoverTextColor:rgb(255,255,255);
2287
+ /*
2288
+ JSToolbarTooltip
2289
+ */
2290
+ --HQChart-ToolbarTooltip-BGColor:rgb(32,32,32);
2291
+ --HQChart-ToolbarTooltip-TextColor:rgb(204,204,204);
2292
+ --HQChart-ToolbarTooltip-BorderColor:rgb(69,69,69);
2617
2293
  }
2618
2294
 
2619
2295
 
@@ -418,12 +418,6 @@ function GetBlackStyle()
418
418
  }
419
419
  },
420
420
 
421
- DivFrameToolbar:
422
- {
423
- Icon:{ Color:"rgb(156,156,156)", HoverColor:"rgb(255,255,255)" },
424
- Tooltip:{ BGColor:"rgb(32,32,32)", TextColor:"rgb(204,204,204)", BorderColor:"rgb(69,69,69)" },
425
- },
426
-
427
421
  DrawPicture: //画图工具
428
422
  {
429
423
  LineColor: