hqchart 1.1.15134 → 1.1.15147
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.
- package/lib/umychart.vue.js +19 -46
- package/package.json +1 -1
- package/src/jscommon/umychart.DialogDrawTool.js +20 -6
- package/src/jscommon/umychart.DialogSearchIndex.js +4 -46
- package/src/jscommon/umychart.js +17 -188
- package/src/jscommon/umychart.resource/css/tools.css +234 -26
- package/src/jscommon/umychart.style.js +0 -11
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +18 -200
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +42 -252
|
@@ -6615,6 +6615,13 @@ JSChart.SetStyle=function(option)
|
|
|
6615
6615
|
if (option) g_JSChartResource.SetStyle(option);
|
|
6616
6616
|
}
|
|
6617
6617
|
|
|
6618
|
+
|
|
6619
|
+
//CSS风格
|
|
6620
|
+
JSChart.SetCSSStyle=function(styleID)
|
|
6621
|
+
{
|
|
6622
|
+
document.documentElement.setAttribute('hqchart_style', styleID);
|
|
6623
|
+
}
|
|
6624
|
+
|
|
6618
6625
|
//value { EN:'', CH:'' }
|
|
6619
6626
|
JSChart.SetTextResource=function(key,value)
|
|
6620
6627
|
{
|
|
@@ -17724,6 +17731,8 @@ function IChartFramePainting()
|
|
|
17724
17731
|
|
|
17725
17732
|
this.CalculateLock=function(aryData)
|
|
17726
17733
|
{
|
|
17734
|
+
if (!this.LockPaint) return;
|
|
17735
|
+
|
|
17727
17736
|
this.LockPaint.SetData(aryData);
|
|
17728
17737
|
this.LockPaint.Draw(false);
|
|
17729
17738
|
}
|
|
@@ -17916,7 +17925,14 @@ function AverageWidthFrame()
|
|
|
17916
17925
|
this.IndexHelpButton=CloneData(g_JSChartResource.Buttons.IndexHelp);
|
|
17917
17926
|
}
|
|
17918
17927
|
|
|
17919
|
-
if (this.
|
|
17928
|
+
if (this.ToolbarButtonStyle==1)
|
|
17929
|
+
{
|
|
17930
|
+
this.ClearToolbar();
|
|
17931
|
+
}
|
|
17932
|
+
else
|
|
17933
|
+
{
|
|
17934
|
+
if (this.DivFrameToolbar) this.DivFrameToolbar.ReloadResource(resource);
|
|
17935
|
+
}
|
|
17920
17936
|
}
|
|
17921
17937
|
|
|
17922
17938
|
this.DrawFrame=function()
|
|
@@ -22939,155 +22955,6 @@ function KLineFrame()
|
|
|
22939
22955
|
if (!this.DivFrameToolbar) return;
|
|
22940
22956
|
|
|
22941
22957
|
this.DivFrameToolbar.Show(this.Identify);
|
|
22942
|
-
|
|
22943
|
-
return;
|
|
22944
|
-
|
|
22945
|
-
if (typeof($)=="undefined") return;
|
|
22946
|
-
|
|
22947
|
-
if (!this.ChartBorder.UIElement || !this.ChartBorder.UIElement.parentNode) return;
|
|
22948
|
-
|
|
22949
|
-
var divToolbar=document.getElementById(this.ToolbarID);
|
|
22950
|
-
if (divToolbar && this.SizeChange==false && this.ReDrawToolbar==false) return;
|
|
22951
|
-
|
|
22952
|
-
if (!divToolbar)
|
|
22953
|
-
{
|
|
22954
|
-
|
|
22955
|
-
divToolbar=document.createElement("div");
|
|
22956
|
-
divToolbar.className='klineframe-toolbar';
|
|
22957
|
-
divToolbar.id=this.ToolbarID;
|
|
22958
|
-
divToolbar.oncontextmenu = function() { return false;}; //屏蔽右键系统菜单
|
|
22959
|
-
//为divToolbar添加属性identify
|
|
22960
|
-
divToolbar.setAttribute("identify",this.Identify.toString());
|
|
22961
|
-
this.ChartBorder.UIElement.parentNode.appendChild(divToolbar);
|
|
22962
|
-
}
|
|
22963
|
-
|
|
22964
|
-
if (!this.ModifyIndex && !this.ChangeIndex && !this.OverlayIndex && !this.CloseIndex && !IFrameSplitOperator.IsNonEmptyArray(this.CustomToolbar))
|
|
22965
|
-
{
|
|
22966
|
-
if (divToolbar.style.display!='none')
|
|
22967
|
-
divToolbar.style.display='none';
|
|
22968
|
-
return;
|
|
22969
|
-
}
|
|
22970
|
-
|
|
22971
|
-
//使用外城div尺寸 画图尺寸是被放大的
|
|
22972
|
-
var pixelTatio = GetDevicePixelRatio();
|
|
22973
|
-
var chartWidth=parseInt(this.ChartBorder.UIElement.parentElement.style.width.replace("px",""));
|
|
22974
|
-
var chartHeight=parseInt(this.ChartBorder.UIElement.parentElement.style.height.replace("px",""));
|
|
22975
|
-
//JSConsole.Chart.Log('[KLineFrame::DrawToolbar] ',chartWidth,chartHeight,pixelTatio);
|
|
22976
|
-
|
|
22977
|
-
var toolbarWidth=100;
|
|
22978
|
-
var toolbarHeight=this.ChartBorder.GetTitleHeight();
|
|
22979
|
-
var left=chartWidth-(this.ChartBorder.Right/pixelTatio)-toolbarWidth;
|
|
22980
|
-
var top=this.ChartBorder.GetTop()/pixelTatio;
|
|
22981
|
-
|
|
22982
|
-
if (this.ToolbarRect)
|
|
22983
|
-
{
|
|
22984
|
-
//尺寸变动移动才重新设置DOM
|
|
22985
|
-
if (this.ToolbarRect.Left==left && this.ToolbarRect.Top==top &&
|
|
22986
|
-
this.ToolbarRect.Width==toolbarWidth && this.ToolbarRect.Height==toolbarHeight/pixelTatio)
|
|
22987
|
-
{
|
|
22988
|
-
return;
|
|
22989
|
-
}
|
|
22990
|
-
}
|
|
22991
|
-
|
|
22992
|
-
this.ToolbarRect={ Left:left, Top:top, Width:toolbarWidth, Height:toolbarHeight/pixelTatio };
|
|
22993
|
-
|
|
22994
|
-
const modifyButton=`<span class='index_param icon iconfont icon-index_param' id='modifyindex' style='cursor:pointer;margin-left:2px;margin-right:2px;' title='调整指标参数'></span>`;
|
|
22995
|
-
const changeButton=`<span class='index_change icon iconfont icon-change_index' id='changeindex' style='cursor:pointer;margin-left:2px;margin-right:2px;' title='切换指标'></span>`;
|
|
22996
|
-
const overlayButton=`<span class='index_overlay icon iconfont icon-overlay_index' id='overlayindex' style='cursor:pointer;margin-left:2px;margin-right:2px;' title='叠加指标'></span>`;
|
|
22997
|
-
const closeButton=`<span class='index_close icon iconfont icon-close' id='closeindex' style='cursor:pointer;margin-left:2px;margin-right:2px;' title='关闭指标窗口'></span>`;
|
|
22998
|
-
|
|
22999
|
-
var spanIcon=modifyButton+changeButton+overlayButton;
|
|
23000
|
-
|
|
23001
|
-
if (this.Identify!==0 && this.CloseIndex) //第1个窗口不能关闭
|
|
23002
|
-
{
|
|
23003
|
-
spanIcon+=closeButton;
|
|
23004
|
-
}
|
|
23005
|
-
|
|
23006
|
-
if (IFrameSplitOperator.IsNonEmptyArray(this.CustomToolbar))
|
|
23007
|
-
{
|
|
23008
|
-
for(var i=0;i<this.CustomToolbar.length;++i)
|
|
23009
|
-
{
|
|
23010
|
-
var item=this.CustomToolbar[i];
|
|
23011
|
-
spanIcon+=item.Html;
|
|
23012
|
-
}
|
|
23013
|
-
}
|
|
23014
|
-
|
|
23015
|
-
//var scrollPos=GetScrollPosition();
|
|
23016
|
-
//left = left+scrollPos.Left;
|
|
23017
|
-
//top = top+scrollPos.Top;
|
|
23018
|
-
divToolbar.style.left = left + "px";
|
|
23019
|
-
divToolbar.style.top = top + "px";
|
|
23020
|
-
divToolbar.style.width=toolbarWidth+"px"; //宽度先不调整吧
|
|
23021
|
-
divToolbar.style.height=(toolbarHeight/pixelTatio)+'px'; //只调整高度
|
|
23022
|
-
divToolbar.innerHTML=spanIcon;
|
|
23023
|
-
|
|
23024
|
-
var chart=this.ChartBorder.UIElement.JSChartContainer;
|
|
23025
|
-
var identify=this.Identify;
|
|
23026
|
-
if (!this.ModifyIndex) //隐藏'改参数'
|
|
23027
|
-
$("#"+divToolbar.id+" .index_param").hide();
|
|
23028
|
-
else if (typeof(this.ModifyIndexEvent)=='function') //绑定点击事件
|
|
23029
|
-
$("#"+divToolbar.id+" .index_param").click(
|
|
23030
|
-
{
|
|
23031
|
-
Chart:this.ChartBorder.UIElement.JSChartContainer,
|
|
23032
|
-
Identify:this.Identify
|
|
23033
|
-
},this.ModifyIndexEvent);
|
|
23034
|
-
|
|
23035
|
-
if (!this.ChangeIndex) //隐藏'换指标'
|
|
23036
|
-
{
|
|
23037
|
-
$("#"+divToolbar.id+" .index_change").hide();
|
|
23038
|
-
}
|
|
23039
|
-
else if (typeof(this.ChangeIndexEvent)=='function')
|
|
23040
|
-
{
|
|
23041
|
-
$("#"+divToolbar.id+" .index_change").click(
|
|
23042
|
-
{
|
|
23043
|
-
Chart:this.ChartBorder.UIElement.JSChartContainer,
|
|
23044
|
-
Identify:this.Identify,
|
|
23045
|
-
IsOverlay:false
|
|
23046
|
-
},this.ChangeIndexEvent);
|
|
23047
|
-
}
|
|
23048
|
-
|
|
23049
|
-
if (!this.OverlayIndex)
|
|
23050
|
-
{
|
|
23051
|
-
$("#"+divToolbar.id+" .index_overlay").hide();
|
|
23052
|
-
}
|
|
23053
|
-
else
|
|
23054
|
-
{
|
|
23055
|
-
$("#"+divToolbar.id+" .index_overlay").click(
|
|
23056
|
-
{
|
|
23057
|
-
Chart:this.ChartBorder.UIElement.JSChartContainer,
|
|
23058
|
-
Identify:this.Identify,
|
|
23059
|
-
IsOverlay:true
|
|
23060
|
-
},this.ChangeIndexEvent);
|
|
23061
|
-
}
|
|
23062
|
-
|
|
23063
|
-
$("#"+divToolbar.id+" .index_close").click(
|
|
23064
|
-
{
|
|
23065
|
-
Chart:this.ChartBorder.UIElement.JSChartContainer,
|
|
23066
|
-
Identify:this.Identify
|
|
23067
|
-
},
|
|
23068
|
-
function(event)
|
|
23069
|
-
{
|
|
23070
|
-
var hqChart=event.data.Chart;
|
|
23071
|
-
var id=event.data.Identify;
|
|
23072
|
-
hqChart.RemoveIndexWindow(id);
|
|
23073
|
-
});
|
|
23074
|
-
|
|
23075
|
-
|
|
23076
|
-
if (IFrameSplitOperator.IsNonEmptyArray(this.CustomToolbar))
|
|
23077
|
-
{
|
|
23078
|
-
for(var i=0;i<this.CustomToolbar.length;++i)
|
|
23079
|
-
{
|
|
23080
|
-
var item=this.CustomToolbar[i];
|
|
23081
|
-
$("#"+item.ID).click(
|
|
23082
|
-
{
|
|
23083
|
-
Chart:this.ChartBorder.UIElement.JSChartContainer,
|
|
23084
|
-
Identify:this.Identify,
|
|
23085
|
-
ID:item.ID
|
|
23086
|
-
},item.Click);
|
|
23087
|
-
}
|
|
23088
|
-
}
|
|
23089
|
-
|
|
23090
|
-
divToolbar.style.display = "block";
|
|
23091
22958
|
}
|
|
23092
22959
|
|
|
23093
22960
|
//手绘,不用DOM,使用DOM太麻烦了
|
|
@@ -82187,30 +82054,6 @@ function JSChartResource()
|
|
|
82187
82054
|
}
|
|
82188
82055
|
};
|
|
82189
82056
|
|
|
82190
|
-
//指标搜索
|
|
82191
|
-
this.DialogSearchIndex=
|
|
82192
|
-
{
|
|
82193
|
-
BGColor:'rgb(250,250,250)', //背景色
|
|
82194
|
-
BorderColor:'rgb(20,20,20)', //边框颜色
|
|
82195
|
-
TitleColor:'rgb(250,250,250)', //标题颜色
|
|
82196
|
-
TitleBGColor:"rgb(200, 66, 69)", //标题背景颜色
|
|
82197
|
-
|
|
82198
|
-
IndexNameColor:"rgb(0,0,0)", //数值名称
|
|
82199
|
-
GroupNameColor:"rgb(0,0,0)",
|
|
82200
|
-
InputTextColor:"rgb(0,0,0)"
|
|
82201
|
-
};
|
|
82202
|
-
|
|
82203
|
-
this.DialogModifyIndexParam=
|
|
82204
|
-
{
|
|
82205
|
-
BGColor:'rgb(250,250,250)', //背景色
|
|
82206
|
-
BorderColor:'rgb(20,20,20)', //边框颜色
|
|
82207
|
-
TitleColor:'rgb(250,250,250)', //标题颜色
|
|
82208
|
-
TitleBGColor:"rgb(200, 66, 69)", //标题背景颜色
|
|
82209
|
-
|
|
82210
|
-
ParamNameColor:"rgb(0,0,0)", //数值名称
|
|
82211
|
-
InputTextColor:"rgb(0,0,0)"
|
|
82212
|
-
};
|
|
82213
|
-
|
|
82214
82057
|
//弹幕
|
|
82215
82058
|
this.Barrage= {
|
|
82216
82059
|
Font:16*GetDevicePixelRatio() +'px 微软雅黑', //字体
|
|
@@ -83435,20 +83278,6 @@ function JSChartResource()
|
|
|
83435
83278
|
}
|
|
83436
83279
|
}
|
|
83437
83280
|
|
|
83438
|
-
if (style.DialogSearchIndex)
|
|
83439
|
-
{
|
|
83440
|
-
var item=style.DialogSearchIndex;
|
|
83441
|
-
|
|
83442
|
-
if (item.BGColor) this.DialogSearchIndex.BGColor=item.BGColor;
|
|
83443
|
-
if (item.BorderColor) this.DialogSearchIndex.BorderColor=item.BorderColor;
|
|
83444
|
-
if (item.TitleColor) this.DialogSearchIndex.TitleColor=item.TitleColor;
|
|
83445
|
-
if (item.TitleBGColor) this.DialogSearchIndex.TitleBGColor=item.TitleBGColor;
|
|
83446
|
-
|
|
83447
|
-
if (item.IndexNameColor) this.DialogSearchIndex.IndexNameColor=item.IndexNameColor;
|
|
83448
|
-
if (item.GroupNameColor) this.DialogSearchIndex.GroupNameColor=item.GroupNameColor;
|
|
83449
|
-
if (item.InputTextColor) this.DialogSearchIndex.InputTextColor=item.InputTextColor;
|
|
83450
|
-
}
|
|
83451
|
-
|
|
83452
83281
|
if (style.MinuteInfo)
|
|
83453
83282
|
{
|
|
83454
83283
|
var item=style.MinuteInfo;
|
|
@@ -137315,17 +137144,6 @@ function GetBlackStyle()
|
|
|
137315
137144
|
PositionColor:"rgb(255,0,255)" //持仓
|
|
137316
137145
|
},
|
|
137317
137146
|
|
|
137318
|
-
DialogSearchIndex:
|
|
137319
|
-
{
|
|
137320
|
-
BGColor:'rgb(20,20,20)', //背景色
|
|
137321
|
-
BorderColor:'rgb(170,170,170)', //边框颜色
|
|
137322
|
-
TitleColor:'rgb(230,230,230)', //标题颜色
|
|
137323
|
-
|
|
137324
|
-
IndexNameColor:"rgb(210,210,210)",
|
|
137325
|
-
GroupNameColor:"rgb(210,210,210)",
|
|
137326
|
-
InputTextColor:"rgb(210,210,210)",
|
|
137327
|
-
},
|
|
137328
|
-
|
|
137329
137147
|
DialogPopKeyboard:
|
|
137330
137148
|
{
|
|
137331
137149
|
BGColor:'rgb(20,20,20)', //背景色
|
|
@@ -158374,7 +158192,7 @@ function JSDialogModifyDraw()
|
|
|
158374
158192
|
|
|
158375
158193
|
var spanDom=document.createElement("span");
|
|
158376
158194
|
spanDom.className="hqchart_drawtool icon-tuodong";
|
|
158377
|
-
spanDom.classList.add("
|
|
158195
|
+
spanDom.classList.add("UMyChart_Draw_Modify_Dialog_Drag_Span");
|
|
158378
158196
|
drgDiv.appendChild(spanDom);
|
|
158379
158197
|
|
|
158380
158198
|
for(var i=0;i<this.AryButton.length;++i)
|
|
@@ -158400,7 +158218,7 @@ function JSDialogModifyDraw()
|
|
|
158400
158218
|
|
|
158401
158219
|
var spanDom=document.createElement("span");
|
|
158402
158220
|
spanDom.className=item.ClassName;
|
|
158403
|
-
spanDom.classList.add("
|
|
158221
|
+
spanDom.classList.add("UMyChart_Draw_Modify_Dialog_Button_Span");
|
|
158404
158222
|
divItem.appendChild(spanDom);
|
|
158405
158223
|
|
|
158406
158224
|
|
|
@@ -158429,7 +158247,6 @@ function JSDialogModifyDraw()
|
|
|
158429
158247
|
break;
|
|
158430
158248
|
case JS_DRAWTOOL_MENU_ID.CMD_LOCK_DRAW_CHART_ID:
|
|
158431
158249
|
this.LockButton=data;
|
|
158432
|
-
this.LockButton.Span.style['color']="rgb(220,220,220)";
|
|
158433
158250
|
break;
|
|
158434
158251
|
case JS_DRAWTOOL_MENU_ID.CMD_ZOOM_FONT_ID:
|
|
158435
158252
|
this.FontZoomButton=data;
|
|
@@ -158634,7 +158451,23 @@ function JSDialogModifyDraw()
|
|
|
158634
158451
|
if (!this.ChartPicture || !this.HQChart) return;
|
|
158635
158452
|
this.ChartPicture.EnableMove=!this.ChartPicture.EnableMove;
|
|
158636
158453
|
|
|
158637
|
-
|
|
158454
|
+
return this.UpdateLockButtonStyle();
|
|
158455
|
+
}
|
|
158456
|
+
|
|
158457
|
+
this.UpdateLockButtonStyle=function()
|
|
158458
|
+
{
|
|
158459
|
+
if (!this.LockButton) return;
|
|
158460
|
+
|
|
158461
|
+
if (this.ChartPicture.EnableMove)
|
|
158462
|
+
{
|
|
158463
|
+
this.LockButton.Span.classList.remove("UMyChart_Draw_Modify_Dialog_Button_Span");
|
|
158464
|
+
this.LockButton.Span.classList.add("UMyChart_Draw_Modify_Dialog_Unlock_Button_Span");
|
|
158465
|
+
}
|
|
158466
|
+
else
|
|
158467
|
+
{
|
|
158468
|
+
this.LockButton.Span.classList.remove("UMyChart_Draw_Modify_Dialog_Unlock_Button_Span");
|
|
158469
|
+
this.LockButton.Span.classList.add("UMyChart_Draw_Modify_Dialog_Button_Span");
|
|
158470
|
+
}
|
|
158638
158471
|
}
|
|
158639
158472
|
|
|
158640
158473
|
this.ModifyBorderColor=function()
|
|
@@ -158819,8 +158652,7 @@ function JSDialogModifyDraw()
|
|
|
158819
158652
|
|
|
158820
158653
|
if (this.LockButton)
|
|
158821
158654
|
{
|
|
158822
|
-
|
|
158823
|
-
item.Span.style['color']=this.ChartPicture.EnableMove?"rgb(220,220,220)":"rgb(0,0,0)";
|
|
158655
|
+
this.UpdateLockButtonStyle();
|
|
158824
158656
|
}
|
|
158825
158657
|
|
|
158826
158658
|
if (this.FontZoomButton)
|
|
@@ -164406,14 +164238,6 @@ function JSDialogSearchIndex()
|
|
|
164406
164238
|
//{ WindowIndex:窗口索引, OpType:1=切换主图指标 2=添加叠加指标 3=新增指标窗口, Title: };
|
|
164407
164239
|
this.OpData=null;
|
|
164408
164240
|
|
|
164409
|
-
this.TitleColor=g_JSChartResource.DialogSearchIndex.TitleColor;
|
|
164410
|
-
this.TitleBGColor=g_JSChartResource.DialogSearchIndex.TitleBGColor;
|
|
164411
|
-
this.BGColor=g_JSChartResource.DialogSearchIndex.BGColor;
|
|
164412
|
-
this.BorderColor=g_JSChartResource.DialogSearchIndex.BorderColor;
|
|
164413
|
-
this.IndexNameColor=g_JSChartResource.DialogSearchIndex.IndexNameColor;
|
|
164414
|
-
this.GroupNameColor=g_JSChartResource.DialogSearchIndex.GroupNameColor;
|
|
164415
|
-
this.InputTextColor=g_JSChartResource.DialogSearchIndex.InputTextColor;
|
|
164416
|
-
|
|
164417
164241
|
this.MaxRowCount=30; //行
|
|
164418
164242
|
this.ColCount=3; //列
|
|
164419
164243
|
this.MaxGroupCount=20; //分类最多个数
|
|
@@ -164780,15 +164604,7 @@ function JSDialogSearchIndex()
|
|
|
164780
164604
|
|
|
164781
164605
|
this.UpdateStyle=function()
|
|
164782
164606
|
{
|
|
164783
|
-
|
|
164784
|
-
|
|
164785
|
-
if (this.BGColor) this.DivDialog.style['background-color']=this.BGColor;
|
|
164786
|
-
if (this.BorderColor) this.DivDialog.style['border-color']=this.BorderColor;
|
|
164787
|
-
|
|
164788
|
-
if (this.TitleBGColor) this.TitleBox.DivTitle.style['background-color']=this.TitleBGColor;
|
|
164789
|
-
if (this.TitleColor) this.TitleBox.DivName.style['color']=this.TitleColor;
|
|
164790
|
-
|
|
164791
|
-
if (this.InputTextColor) this.InputDom.style['color']=this.InputTextColor;
|
|
164607
|
+
|
|
164792
164608
|
};
|
|
164793
164609
|
|
|
164794
164610
|
this.ChangeGroup=function(groupID)
|
|
@@ -164823,7 +164639,6 @@ function JSDialogSearchIndex()
|
|
|
164823
164639
|
cell.Span.innerText=item.Group.Name;
|
|
164824
164640
|
cell.Span.dataset.groupid=item.Group.ID;
|
|
164825
164641
|
cell.Span.dataset.groupname=item.Group.Name;
|
|
164826
|
-
cell.Span.style.color=this.GroupNameColor;
|
|
164827
164642
|
|
|
164828
164643
|
if (cell.Div.style.display=="none") cell.Div.style.display="";
|
|
164829
164644
|
}
|
|
@@ -164849,7 +164664,6 @@ function JSDialogSearchIndex()
|
|
|
164849
164664
|
{
|
|
164850
164665
|
var indexItem=data.AryIndex[index];
|
|
164851
164666
|
cell.Span.innerText=indexItem.Name;
|
|
164852
|
-
cell.Span.style.color=this.IndexNameColor;
|
|
164853
164667
|
if (cell.Td.style.display=="none") cell.Td.style.display="";
|
|
164854
164668
|
cell.IndexItem=indexItem;
|
|
164855
164669
|
++index;
|
|
@@ -164938,17 +164752,7 @@ function JSDialogSearchIndex()
|
|
|
164938
164752
|
//配色修改
|
|
164939
164753
|
this.ReloadResource=function(option)
|
|
164940
164754
|
{
|
|
164941
|
-
|
|
164942
|
-
this.TitleBGColor=g_JSChartResource.DialogSearchIndex.TitleBGColor;
|
|
164943
|
-
this.BGColor=g_JSChartResource.DialogSearchIndex.BGColor;
|
|
164944
|
-
this.BorderColor=g_JSChartResource.DialogSearchIndex.BorderColor;
|
|
164945
|
-
this.IndexNameColor=g_JSChartResource.DialogSearchIndex.IndexNameColor;
|
|
164946
|
-
this.GroupNameColor=g_JSChartResource.DialogSearchIndex.GroupNameColor;
|
|
164947
|
-
this.InputTextColor=g_JSChartResource.DialogSearchIndex.InputTextColor;
|
|
164948
|
-
|
|
164949
|
-
if (!this.DivDialog) return;
|
|
164950
|
-
|
|
164951
|
-
this.UpdateStyle();
|
|
164755
|
+
|
|
164952
164756
|
}
|
|
164953
164757
|
|
|
164954
164758
|
}
|
|
@@ -165259,13 +165063,6 @@ function JSDialogModifyIndexParam()
|
|
|
165259
165063
|
this.TitleBox=null; //{ DivTitle, DivName, DivName }
|
|
165260
165064
|
this.Style=0; //样式 预留
|
|
165261
165065
|
|
|
165262
|
-
this.TitleColor=g_JSChartResource.DialogModifyIndexParam.TitleColor;
|
|
165263
|
-
this.TitleBGColor=g_JSChartResource.DialogModifyIndexParam.TitleBGColor;
|
|
165264
|
-
this.BGColor=g_JSChartResource.DialogModifyIndexParam.BGColor;
|
|
165265
|
-
this.BorderColor=g_JSChartResource.DialogModifyIndexParam.BorderColor;
|
|
165266
|
-
this.ParamNameColor=g_JSChartResource.DialogModifyIndexParam.ParamNameColor;
|
|
165267
|
-
this.InputTextColor=g_JSChartResource.DialogModifyIndexParam.InputTextColor;
|
|
165268
|
-
|
|
165269
165066
|
this.MaxRowCount=30; //行
|
|
165270
165067
|
|
|
165271
165068
|
this.HQChart=null;
|
|
@@ -165523,13 +165320,7 @@ function JSDialogModifyIndexParam()
|
|
|
165523
165320
|
|
|
165524
165321
|
this.UpdateStyle=function()
|
|
165525
165322
|
{
|
|
165526
|
-
|
|
165527
|
-
|
|
165528
|
-
if (this.BGColor) this.DivDialog.style['background-color']=this.BGColor;
|
|
165529
|
-
if (this.BorderColor) this.DivDialog.style['border-color']=this.BorderColor;
|
|
165530
|
-
|
|
165531
|
-
if (this.TitleBGColor) this.TitleBox.DivTitle.style['background-color']=this.TitleBGColor;
|
|
165532
|
-
if (this.TitleColor) this.TitleBox.DivName.style['color']=this.TitleColor;
|
|
165323
|
+
|
|
165533
165324
|
};
|
|
165534
165325
|
|
|
165535
165326
|
this.UpdateParamTable=function(aryText)
|
|
@@ -165540,10 +165331,9 @@ function JSDialogModifyIndexParam()
|
|
|
165540
165331
|
var item=aryText[index];
|
|
165541
165332
|
var row=this.AryData[index];
|
|
165542
165333
|
row.SpanName.innerText=`${item.Name}: `;
|
|
165543
|
-
|
|
165334
|
+
|
|
165544
165335
|
|
|
165545
165336
|
row.Input.value=item.Value;
|
|
165546
|
-
row.Input.style.color=this.InputTextColor;
|
|
165547
165337
|
row.Input.dataset.paramid=item.Index;
|
|
165548
165338
|
|
|
165549
165339
|
if (row.Tr.style.display=="none") row.Tr.style.display="";
|
|
@@ -165944,7 +165734,7 @@ function HQChartScriptWorker()
|
|
|
165944
165734
|
|
|
165945
165735
|
|
|
165946
165736
|
|
|
165947
|
-
var HQCHART_VERSION="1.1.
|
|
165737
|
+
var HQCHART_VERSION="1.1.15146";
|
|
165948
165738
|
|
|
165949
165739
|
function PrintHQChartVersion()
|
|
165950
165740
|
{
|