hqchart 1.1.13957 → 1.1.13963
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 +77 -71
- package/package.json +1 -1
- package/src/jscommon/umychart.js +26 -0
- package/src/jscommon/umychart.report.js +29 -7
- package/src/jscommon/umychart.style.js +1 -0
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +57 -8
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +57 -8
package/package.json
CHANGED
package/src/jscommon/umychart.js
CHANGED
|
@@ -43162,6 +43162,7 @@ function MinuteLeftTooltipPaint()
|
|
|
43162
43162
|
this.DateTimeColor=g_JSChartResource.PCTooltipPaint.DateTimeColor; //日期时间颜色
|
|
43163
43163
|
this.VolColor=g_JSChartResource.PCTooltipPaint.VolColor; //标题成交量
|
|
43164
43164
|
this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor; //成交金额
|
|
43165
|
+
this.PositionColor=g_JSChartResource.PCTooltipPaint.PositionColor; //持仓
|
|
43165
43166
|
this.LanguageID=JSCHART_LANGUAGE_ID.LANGUAGE_CHINESE_ID;
|
|
43166
43167
|
this.TitlePaint;
|
|
43167
43168
|
|
|
@@ -43335,6 +43336,12 @@ function MinuteLeftTooltipPaint()
|
|
|
43335
43336
|
|
|
43336
43337
|
aryText.push(titleItem);
|
|
43337
43338
|
}
|
|
43339
|
+
|
|
43340
|
+
if (isFutures && IFrameSplitOperator.IsNumber(item.Position)) //持仓
|
|
43341
|
+
{
|
|
43342
|
+
var titleItem=this.FormatPosition(item.Position,'PCTooltip-Position');
|
|
43343
|
+
if (titleItem) aryText.push(titleItem);
|
|
43344
|
+
}
|
|
43338
43345
|
}
|
|
43339
43346
|
else if (drawData.Type==1) //集合竞价
|
|
43340
43347
|
{
|
|
@@ -43460,6 +43467,21 @@ function MinuteLeftTooltipPaint()
|
|
|
43460
43467
|
|
|
43461
43468
|
return titleItem;
|
|
43462
43469
|
}
|
|
43470
|
+
|
|
43471
|
+
this.FormatPosition=function(value, TitleID)
|
|
43472
|
+
{
|
|
43473
|
+
if (!IFrameSplitOperator.IsNumber(value)) return null;
|
|
43474
|
+
|
|
43475
|
+
var titleItem=
|
|
43476
|
+
{
|
|
43477
|
+
Title:g_JSChartLocalization.GetText(TitleID,this.LanguageID),
|
|
43478
|
+
TitleColor:this.TitleColor,
|
|
43479
|
+
Text:value.toFixed(0),
|
|
43480
|
+
TextColor:this.PositionColor
|
|
43481
|
+
};
|
|
43482
|
+
|
|
43483
|
+
return titleItem;
|
|
43484
|
+
}
|
|
43463
43485
|
}
|
|
43464
43486
|
|
|
43465
43487
|
//股票信息
|
|
@@ -69111,6 +69133,7 @@ function JSChartResource()
|
|
|
69111
69133
|
DateTimeColor:'rgb(60,60,60)',
|
|
69112
69134
|
VolColor:"rgb(60,60,60)", //标题成交量
|
|
69113
69135
|
AmountColor:"rgb(60,60,60)", //成交金额
|
|
69136
|
+
PositionColor:"rgb(60,60,60)", //持仓量
|
|
69114
69137
|
};
|
|
69115
69138
|
|
|
69116
69139
|
this.PCTooltip= {
|
|
@@ -70117,6 +70140,8 @@ function JSChartResource()
|
|
|
70117
70140
|
if (item.DateTimeColor) this.PCTooltipPaint.DateTimeColor=item.DateTimeColor;
|
|
70118
70141
|
if (item.VolColor) this.PCTooltipPaint.VolColor=item.VolColor;
|
|
70119
70142
|
if (item.AmountColor) this.PCTooltipPaint.AmountColor=item.AmountColor;
|
|
70143
|
+
if (item.PositionColor) this.PCTooltipPaint.PositionColor=item.PositionColor;
|
|
70144
|
+
|
|
70120
70145
|
}
|
|
70121
70146
|
|
|
70122
70147
|
if (style.DialogTooltip)
|
|
@@ -71127,6 +71152,7 @@ function JSChartLocalization()
|
|
|
71127
71152
|
['PCTooltip-Increase', {CN:'涨幅', EN:'Increase:', TC:'漲幅'}],
|
|
71128
71153
|
['PCTooltip-Vol', {CN:'成交量', EN:'Volume:', TC:'成交量'}],
|
|
71129
71154
|
['PCTooltip-Amount', {CN:'成交额', EN:'Amount:', TC:'成交額'}],
|
|
71155
|
+
["PCTooltip-Position",{CN:'持仓量', EN:'Position:', TC:'持倉'}],
|
|
71130
71156
|
['PCTooltip-AC-Price', {CN:'匹配价:', EN:'Price:', TC:'匹配價'}],
|
|
71131
71157
|
['PCTooltip-AC-Increase', {CN:'竞价涨幅:', EN:'Increase:', TC:'競價漲幅'}],
|
|
71132
71158
|
['PCTooltip-AC-Vol', {CN:'匹配量:', EN:'V:', TC:'匹配量'}],
|
|
@@ -1342,15 +1342,37 @@ function JSReportChartContainer(uielement)
|
|
|
1342
1342
|
var chart=this.ChartPaint[0];
|
|
1343
1343
|
if (!chart) return;
|
|
1344
1344
|
|
|
1345
|
-
//更新的股票在当前页面,需要重绘
|
|
1346
1345
|
var bUpdate=false;
|
|
1347
|
-
|
|
1348
|
-
|
|
1346
|
+
//实时本地数据排序
|
|
1347
|
+
var chart=this.ChartPaint[0];
|
|
1348
|
+
if (chart && this.SortInfo.Sort==1 && IFrameSplitOperator.IsNumber(this.SortInfo.Field) && this.SortInfo.Field>=0)
|
|
1349
1349
|
{
|
|
1350
|
-
|
|
1350
|
+
var column=chart.Column[this.SortInfo.Field];
|
|
1351
|
+
var event=this.GetEventCallback(JSCHART_EVENT_ID.ON_REPORT_LOCAL_SORT);
|
|
1352
|
+
if (event && event.Callback)
|
|
1351
1353
|
{
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
+
var sendData={ Column:column, SortInfo:this.SortInfo, SymbolList:this.Data.Data, Result:null };
|
|
1355
|
+
event.Callback (event, sendData, this);
|
|
1356
|
+
if (Array.isArray(sendData.Result)) this.Data.Data=sendData.Result;
|
|
1357
|
+
}
|
|
1358
|
+
else
|
|
1359
|
+
{
|
|
1360
|
+
this.Data.Data.sort((left, right)=> { return this.LocalSort(left, right, column, this.SortInfo.Sort); });
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
bUpdate=true; //排序暂时每次都刷新
|
|
1364
|
+
}
|
|
1365
|
+
else
|
|
1366
|
+
{
|
|
1367
|
+
//更新的股票在当前页面,需要重绘
|
|
1368
|
+
var aryStock=chart.ShowSymbol;
|
|
1369
|
+
for(var i=0;i<aryStock.length;++i)
|
|
1370
|
+
{
|
|
1371
|
+
if (setUpdateSymbol.has(aryStock[i].Symbol))
|
|
1372
|
+
{
|
|
1373
|
+
bUpdate=true;
|
|
1374
|
+
break;
|
|
1375
|
+
}
|
|
1354
1376
|
}
|
|
1355
1377
|
}
|
|
1356
1378
|
|
|
@@ -4511,7 +4533,7 @@ function ChartReport()
|
|
|
4511
4533
|
|
|
4512
4534
|
{ Type:REPORT_COLUMN_ID.VOL_ID, Title:"总量", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Vol, Width:null, MaxText:"8888.8擎" },
|
|
4513
4535
|
{ Type:REPORT_COLUMN_ID.AMOUNT_ID, Title:"总金额", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Amount, Width:null, MaxText:"8888.8擎" },
|
|
4514
|
-
{ Type:REPORT_COLUMN_ID.EXCHANGE_RATE_ID, Title:"换手%", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"88.88" },
|
|
4536
|
+
{ Type:REPORT_COLUMN_ID.EXCHANGE_RATE_ID, Title:"换手%", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"88.88擎" },
|
|
4515
4537
|
|
|
4516
4538
|
{ Type:REPORT_COLUMN_ID.OUTSTANDING_SHARES_ID, Title:"流通股本", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"8888.8擎" },
|
|
4517
4539
|
{ Type:REPORT_COLUMN_ID.TOTAL_SHARES_ID, Title:"总股本", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"8888.8擎" },
|
|
@@ -47087,6 +47087,7 @@ function MinuteLeftTooltipPaint()
|
|
|
47087
47087
|
this.DateTimeColor=g_JSChartResource.PCTooltipPaint.DateTimeColor; //日期时间颜色
|
|
47088
47088
|
this.VolColor=g_JSChartResource.PCTooltipPaint.VolColor; //标题成交量
|
|
47089
47089
|
this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor; //成交金额
|
|
47090
|
+
this.PositionColor=g_JSChartResource.PCTooltipPaint.PositionColor; //持仓
|
|
47090
47091
|
this.LanguageID=JSCHART_LANGUAGE_ID.LANGUAGE_CHINESE_ID;
|
|
47091
47092
|
this.TitlePaint;
|
|
47092
47093
|
|
|
@@ -47260,6 +47261,12 @@ function MinuteLeftTooltipPaint()
|
|
|
47260
47261
|
|
|
47261
47262
|
aryText.push(titleItem);
|
|
47262
47263
|
}
|
|
47264
|
+
|
|
47265
|
+
if (isFutures && IFrameSplitOperator.IsNumber(item.Position)) //持仓
|
|
47266
|
+
{
|
|
47267
|
+
var titleItem=this.FormatPosition(item.Position,'PCTooltip-Position');
|
|
47268
|
+
if (titleItem) aryText.push(titleItem);
|
|
47269
|
+
}
|
|
47263
47270
|
}
|
|
47264
47271
|
else if (drawData.Type==1) //集合竞价
|
|
47265
47272
|
{
|
|
@@ -47385,6 +47392,21 @@ function MinuteLeftTooltipPaint()
|
|
|
47385
47392
|
|
|
47386
47393
|
return titleItem;
|
|
47387
47394
|
}
|
|
47395
|
+
|
|
47396
|
+
this.FormatPosition=function(value, TitleID)
|
|
47397
|
+
{
|
|
47398
|
+
if (!IFrameSplitOperator.IsNumber(value)) return null;
|
|
47399
|
+
|
|
47400
|
+
var titleItem=
|
|
47401
|
+
{
|
|
47402
|
+
Title:g_JSChartLocalization.GetText(TitleID,this.LanguageID),
|
|
47403
|
+
TitleColor:this.TitleColor,
|
|
47404
|
+
Text:value.toFixed(0),
|
|
47405
|
+
TextColor:this.PositionColor
|
|
47406
|
+
};
|
|
47407
|
+
|
|
47408
|
+
return titleItem;
|
|
47409
|
+
}
|
|
47388
47410
|
}
|
|
47389
47411
|
|
|
47390
47412
|
//股票信息
|
|
@@ -73036,6 +73058,7 @@ function JSChartResource()
|
|
|
73036
73058
|
DateTimeColor:'rgb(60,60,60)',
|
|
73037
73059
|
VolColor:"rgb(60,60,60)", //标题成交量
|
|
73038
73060
|
AmountColor:"rgb(60,60,60)", //成交金额
|
|
73061
|
+
PositionColor:"rgb(60,60,60)", //持仓量
|
|
73039
73062
|
};
|
|
73040
73063
|
|
|
73041
73064
|
this.PCTooltip= {
|
|
@@ -74042,6 +74065,8 @@ function JSChartResource()
|
|
|
74042
74065
|
if (item.DateTimeColor) this.PCTooltipPaint.DateTimeColor=item.DateTimeColor;
|
|
74043
74066
|
if (item.VolColor) this.PCTooltipPaint.VolColor=item.VolColor;
|
|
74044
74067
|
if (item.AmountColor) this.PCTooltipPaint.AmountColor=item.AmountColor;
|
|
74068
|
+
if (item.PositionColor) this.PCTooltipPaint.PositionColor=item.PositionColor;
|
|
74069
|
+
|
|
74045
74070
|
}
|
|
74046
74071
|
|
|
74047
74072
|
if (style.DialogTooltip)
|
|
@@ -75052,6 +75077,7 @@ function JSChartLocalization()
|
|
|
75052
75077
|
['PCTooltip-Increase', {CN:'涨幅', EN:'Increase:', TC:'漲幅'}],
|
|
75053
75078
|
['PCTooltip-Vol', {CN:'成交量', EN:'Volume:', TC:'成交量'}],
|
|
75054
75079
|
['PCTooltip-Amount', {CN:'成交额', EN:'Amount:', TC:'成交額'}],
|
|
75080
|
+
["PCTooltip-Position",{CN:'持仓量', EN:'Position:', TC:'持倉'}],
|
|
75055
75081
|
['PCTooltip-AC-Price', {CN:'匹配价:', EN:'Price:', TC:'匹配價'}],
|
|
75056
75082
|
['PCTooltip-AC-Increase', {CN:'竞价涨幅:', EN:'Increase:', TC:'競價漲幅'}],
|
|
75057
75083
|
['PCTooltip-AC-Vol', {CN:'匹配量:', EN:'V:', TC:'匹配量'}],
|
|
@@ -125548,6 +125574,7 @@ function GetBlackStyle()
|
|
|
125548
125574
|
DateTimeColor:'rgb(210,210,210)',
|
|
125549
125575
|
VolColor:"rgb(255, 185, 15)", //标题成交量
|
|
125550
125576
|
AmountColor:"rgb(210,210,210)", //成交金额
|
|
125577
|
+
PositionColor:"rgb(255,215,0)", //持仓量
|
|
125551
125578
|
},
|
|
125552
125579
|
|
|
125553
125580
|
PCTooltipPaint:
|
|
@@ -128773,15 +128800,37 @@ function JSReportChartContainer(uielement)
|
|
|
128773
128800
|
var chart=this.ChartPaint[0];
|
|
128774
128801
|
if (!chart) return;
|
|
128775
128802
|
|
|
128776
|
-
//更新的股票在当前页面,需要重绘
|
|
128777
128803
|
var bUpdate=false;
|
|
128778
|
-
|
|
128779
|
-
|
|
128804
|
+
//实时本地数据排序
|
|
128805
|
+
var chart=this.ChartPaint[0];
|
|
128806
|
+
if (chart && this.SortInfo.Sort==1 && IFrameSplitOperator.IsNumber(this.SortInfo.Field) && this.SortInfo.Field>=0)
|
|
128780
128807
|
{
|
|
128781
|
-
|
|
128808
|
+
var column=chart.Column[this.SortInfo.Field];
|
|
128809
|
+
var event=this.GetEventCallback(JSCHART_EVENT_ID.ON_REPORT_LOCAL_SORT);
|
|
128810
|
+
if (event && event.Callback)
|
|
128782
128811
|
{
|
|
128783
|
-
|
|
128784
|
-
|
|
128812
|
+
var sendData={ Column:column, SortInfo:this.SortInfo, SymbolList:this.Data.Data, Result:null };
|
|
128813
|
+
event.Callback (event, sendData, this);
|
|
128814
|
+
if (Array.isArray(sendData.Result)) this.Data.Data=sendData.Result;
|
|
128815
|
+
}
|
|
128816
|
+
else
|
|
128817
|
+
{
|
|
128818
|
+
this.Data.Data.sort((left, right)=> { return this.LocalSort(left, right, column, this.SortInfo.Sort); });
|
|
128819
|
+
}
|
|
128820
|
+
|
|
128821
|
+
bUpdate=true; //排序暂时每次都刷新
|
|
128822
|
+
}
|
|
128823
|
+
else
|
|
128824
|
+
{
|
|
128825
|
+
//更新的股票在当前页面,需要重绘
|
|
128826
|
+
var aryStock=chart.ShowSymbol;
|
|
128827
|
+
for(var i=0;i<aryStock.length;++i)
|
|
128828
|
+
{
|
|
128829
|
+
if (setUpdateSymbol.has(aryStock[i].Symbol))
|
|
128830
|
+
{
|
|
128831
|
+
bUpdate=true;
|
|
128832
|
+
break;
|
|
128833
|
+
}
|
|
128785
128834
|
}
|
|
128786
128835
|
}
|
|
128787
128836
|
|
|
@@ -131942,7 +131991,7 @@ function ChartReport()
|
|
|
131942
131991
|
|
|
131943
131992
|
{ Type:REPORT_COLUMN_ID.VOL_ID, Title:"总量", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Vol, Width:null, MaxText:"8888.8擎" },
|
|
131944
131993
|
{ Type:REPORT_COLUMN_ID.AMOUNT_ID, Title:"总金额", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Amount, Width:null, MaxText:"8888.8擎" },
|
|
131945
|
-
{ Type:REPORT_COLUMN_ID.EXCHANGE_RATE_ID, Title:"换手%", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"88.88" },
|
|
131994
|
+
{ Type:REPORT_COLUMN_ID.EXCHANGE_RATE_ID, Title:"换手%", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"88.88擎" },
|
|
131946
131995
|
|
|
131947
131996
|
{ Type:REPORT_COLUMN_ID.OUTSTANDING_SHARES_ID, Title:"流通股本", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"8888.8擎" },
|
|
131948
131997
|
{ Type:REPORT_COLUMN_ID.TOTAL_SHARES_ID, Title:"总股本", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"8888.8擎" },
|
|
@@ -139128,7 +139177,7 @@ function ScrollBarBGChart()
|
|
|
139128
139177
|
|
|
139129
139178
|
|
|
139130
139179
|
|
|
139131
|
-
var HQCHART_VERSION="1.1.
|
|
139180
|
+
var HQCHART_VERSION="1.1.13962";
|
|
139132
139181
|
|
|
139133
139182
|
function PrintHQChartVersion()
|
|
139134
139183
|
{
|
|
@@ -47131,6 +47131,7 @@ function MinuteLeftTooltipPaint()
|
|
|
47131
47131
|
this.DateTimeColor=g_JSChartResource.PCTooltipPaint.DateTimeColor; //日期时间颜色
|
|
47132
47132
|
this.VolColor=g_JSChartResource.PCTooltipPaint.VolColor; //标题成交量
|
|
47133
47133
|
this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor; //成交金额
|
|
47134
|
+
this.PositionColor=g_JSChartResource.PCTooltipPaint.PositionColor; //持仓
|
|
47134
47135
|
this.LanguageID=JSCHART_LANGUAGE_ID.LANGUAGE_CHINESE_ID;
|
|
47135
47136
|
this.TitlePaint;
|
|
47136
47137
|
|
|
@@ -47304,6 +47305,12 @@ function MinuteLeftTooltipPaint()
|
|
|
47304
47305
|
|
|
47305
47306
|
aryText.push(titleItem);
|
|
47306
47307
|
}
|
|
47308
|
+
|
|
47309
|
+
if (isFutures && IFrameSplitOperator.IsNumber(item.Position)) //持仓
|
|
47310
|
+
{
|
|
47311
|
+
var titleItem=this.FormatPosition(item.Position,'PCTooltip-Position');
|
|
47312
|
+
if (titleItem) aryText.push(titleItem);
|
|
47313
|
+
}
|
|
47307
47314
|
}
|
|
47308
47315
|
else if (drawData.Type==1) //集合竞价
|
|
47309
47316
|
{
|
|
@@ -47429,6 +47436,21 @@ function MinuteLeftTooltipPaint()
|
|
|
47429
47436
|
|
|
47430
47437
|
return titleItem;
|
|
47431
47438
|
}
|
|
47439
|
+
|
|
47440
|
+
this.FormatPosition=function(value, TitleID)
|
|
47441
|
+
{
|
|
47442
|
+
if (!IFrameSplitOperator.IsNumber(value)) return null;
|
|
47443
|
+
|
|
47444
|
+
var titleItem=
|
|
47445
|
+
{
|
|
47446
|
+
Title:g_JSChartLocalization.GetText(TitleID,this.LanguageID),
|
|
47447
|
+
TitleColor:this.TitleColor,
|
|
47448
|
+
Text:value.toFixed(0),
|
|
47449
|
+
TextColor:this.PositionColor
|
|
47450
|
+
};
|
|
47451
|
+
|
|
47452
|
+
return titleItem;
|
|
47453
|
+
}
|
|
47432
47454
|
}
|
|
47433
47455
|
|
|
47434
47456
|
//股票信息
|
|
@@ -73080,6 +73102,7 @@ function JSChartResource()
|
|
|
73080
73102
|
DateTimeColor:'rgb(60,60,60)',
|
|
73081
73103
|
VolColor:"rgb(60,60,60)", //标题成交量
|
|
73082
73104
|
AmountColor:"rgb(60,60,60)", //成交金额
|
|
73105
|
+
PositionColor:"rgb(60,60,60)", //持仓量
|
|
73083
73106
|
};
|
|
73084
73107
|
|
|
73085
73108
|
this.PCTooltip= {
|
|
@@ -74086,6 +74109,8 @@ function JSChartResource()
|
|
|
74086
74109
|
if (item.DateTimeColor) this.PCTooltipPaint.DateTimeColor=item.DateTimeColor;
|
|
74087
74110
|
if (item.VolColor) this.PCTooltipPaint.VolColor=item.VolColor;
|
|
74088
74111
|
if (item.AmountColor) this.PCTooltipPaint.AmountColor=item.AmountColor;
|
|
74112
|
+
if (item.PositionColor) this.PCTooltipPaint.PositionColor=item.PositionColor;
|
|
74113
|
+
|
|
74089
74114
|
}
|
|
74090
74115
|
|
|
74091
74116
|
if (style.DialogTooltip)
|
|
@@ -75096,6 +75121,7 @@ function JSChartLocalization()
|
|
|
75096
75121
|
['PCTooltip-Increase', {CN:'涨幅', EN:'Increase:', TC:'漲幅'}],
|
|
75097
75122
|
['PCTooltip-Vol', {CN:'成交量', EN:'Volume:', TC:'成交量'}],
|
|
75098
75123
|
['PCTooltip-Amount', {CN:'成交额', EN:'Amount:', TC:'成交額'}],
|
|
75124
|
+
["PCTooltip-Position",{CN:'持仓量', EN:'Position:', TC:'持倉'}],
|
|
75099
75125
|
['PCTooltip-AC-Price', {CN:'匹配价:', EN:'Price:', TC:'匹配價'}],
|
|
75100
75126
|
['PCTooltip-AC-Increase', {CN:'竞价涨幅:', EN:'Increase:', TC:'競價漲幅'}],
|
|
75101
75127
|
['PCTooltip-AC-Vol', {CN:'匹配量:', EN:'V:', TC:'匹配量'}],
|
|
@@ -125592,6 +125618,7 @@ function GetBlackStyle()
|
|
|
125592
125618
|
DateTimeColor:'rgb(210,210,210)',
|
|
125593
125619
|
VolColor:"rgb(255, 185, 15)", //标题成交量
|
|
125594
125620
|
AmountColor:"rgb(210,210,210)", //成交金额
|
|
125621
|
+
PositionColor:"rgb(255,215,0)", //持仓量
|
|
125595
125622
|
},
|
|
125596
125623
|
|
|
125597
125624
|
PCTooltipPaint:
|
|
@@ -128817,15 +128844,37 @@ function JSReportChartContainer(uielement)
|
|
|
128817
128844
|
var chart=this.ChartPaint[0];
|
|
128818
128845
|
if (!chart) return;
|
|
128819
128846
|
|
|
128820
|
-
//更新的股票在当前页面,需要重绘
|
|
128821
128847
|
var bUpdate=false;
|
|
128822
|
-
|
|
128823
|
-
|
|
128848
|
+
//实时本地数据排序
|
|
128849
|
+
var chart=this.ChartPaint[0];
|
|
128850
|
+
if (chart && this.SortInfo.Sort==1 && IFrameSplitOperator.IsNumber(this.SortInfo.Field) && this.SortInfo.Field>=0)
|
|
128824
128851
|
{
|
|
128825
|
-
|
|
128852
|
+
var column=chart.Column[this.SortInfo.Field];
|
|
128853
|
+
var event=this.GetEventCallback(JSCHART_EVENT_ID.ON_REPORT_LOCAL_SORT);
|
|
128854
|
+
if (event && event.Callback)
|
|
128826
128855
|
{
|
|
128827
|
-
|
|
128828
|
-
|
|
128856
|
+
var sendData={ Column:column, SortInfo:this.SortInfo, SymbolList:this.Data.Data, Result:null };
|
|
128857
|
+
event.Callback (event, sendData, this);
|
|
128858
|
+
if (Array.isArray(sendData.Result)) this.Data.Data=sendData.Result;
|
|
128859
|
+
}
|
|
128860
|
+
else
|
|
128861
|
+
{
|
|
128862
|
+
this.Data.Data.sort((left, right)=> { return this.LocalSort(left, right, column, this.SortInfo.Sort); });
|
|
128863
|
+
}
|
|
128864
|
+
|
|
128865
|
+
bUpdate=true; //排序暂时每次都刷新
|
|
128866
|
+
}
|
|
128867
|
+
else
|
|
128868
|
+
{
|
|
128869
|
+
//更新的股票在当前页面,需要重绘
|
|
128870
|
+
var aryStock=chart.ShowSymbol;
|
|
128871
|
+
for(var i=0;i<aryStock.length;++i)
|
|
128872
|
+
{
|
|
128873
|
+
if (setUpdateSymbol.has(aryStock[i].Symbol))
|
|
128874
|
+
{
|
|
128875
|
+
bUpdate=true;
|
|
128876
|
+
break;
|
|
128877
|
+
}
|
|
128829
128878
|
}
|
|
128830
128879
|
}
|
|
128831
128880
|
|
|
@@ -131986,7 +132035,7 @@ function ChartReport()
|
|
|
131986
132035
|
|
|
131987
132036
|
{ Type:REPORT_COLUMN_ID.VOL_ID, Title:"总量", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Vol, Width:null, MaxText:"8888.8擎" },
|
|
131988
132037
|
{ Type:REPORT_COLUMN_ID.AMOUNT_ID, Title:"总金额", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Amount, Width:null, MaxText:"8888.8擎" },
|
|
131989
|
-
{ Type:REPORT_COLUMN_ID.EXCHANGE_RATE_ID, Title:"换手%", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"88.88" },
|
|
132038
|
+
{ Type:REPORT_COLUMN_ID.EXCHANGE_RATE_ID, Title:"换手%", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"88.88擎" },
|
|
131990
132039
|
|
|
131991
132040
|
{ Type:REPORT_COLUMN_ID.OUTSTANDING_SHARES_ID, Title:"流通股本", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"8888.8擎" },
|
|
131992
132041
|
{ Type:REPORT_COLUMN_ID.TOTAL_SHARES_ID, Title:"总股本", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, Width:null, MaxText:"8888.8擎" },
|
|
@@ -144533,7 +144582,7 @@ function HQChartScriptWorker()
|
|
|
144533
144582
|
|
|
144534
144583
|
|
|
144535
144584
|
|
|
144536
|
-
var HQCHART_VERSION="1.1.
|
|
144585
|
+
var HQCHART_VERSION="1.1.13962";
|
|
144537
144586
|
|
|
144538
144587
|
function PrintHQChartVersion()
|
|
144539
144588
|
{
|