hqchart 1.1.12782 → 1.1.12786
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/package.json
CHANGED
package/src/jscommon/umychart.js
CHANGED
|
@@ -76291,6 +76291,49 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
76291
76291
|
JSConsole.Chart.Log(`[MinuteChartContainer::CaclutateLimitPrice] ${this.Symbol} tofixed(2) max:${this.LimitPrice.Max} min:${this.LimitPrice.Min}`);
|
|
76292
76292
|
}
|
|
76293
76293
|
|
|
76294
|
+
this.RequestSingleOverlayMinuteData=function(symbol, date, item)
|
|
76295
|
+
{
|
|
76296
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
76297
|
+
|
|
76298
|
+
if (this.NetworkFilter)
|
|
76299
|
+
{
|
|
76300
|
+
var obj=
|
|
76301
|
+
{
|
|
76302
|
+
Name:'MinuteChartContainer::RequestOverlayMinuteData', //类名::函数名
|
|
76303
|
+
Explain:'叠加股票最新分时数据',
|
|
76304
|
+
Request:{ Url:this.HistoryMinuteApiUrl, Data:{days:[date], symbol:symbol}, Type:'POST' },
|
|
76305
|
+
Self:this,
|
|
76306
|
+
PreventDefault:false
|
|
76307
|
+
};
|
|
76308
|
+
this.NetworkFilter(obj, function(data)
|
|
76309
|
+
{
|
|
76310
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
76311
|
+
this.RecvOverlayMinuteData(data,item);
|
|
76312
|
+
});
|
|
76313
|
+
|
|
76314
|
+
if (obj.PreventDefault==true) return; //已被上层替换,不调用默认的网络请求
|
|
76315
|
+
}
|
|
76316
|
+
|
|
76317
|
+
//请求数据
|
|
76318
|
+
JSNetwork.HttpRequest({
|
|
76319
|
+
url: this.HistoryMinuteApiUrl,
|
|
76320
|
+
data:
|
|
76321
|
+
{
|
|
76322
|
+
"symbol":symbol,
|
|
76323
|
+
"days": [date],
|
|
76324
|
+
},
|
|
76325
|
+
type:"post",
|
|
76326
|
+
dataType: "json",
|
|
76327
|
+
async:true,
|
|
76328
|
+
success: function (data)
|
|
76329
|
+
{
|
|
76330
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
76331
|
+
//self.RecvMultiOverlayMinuteData([data]);
|
|
76332
|
+
this.RecvOverlayMinuteData(data,item);
|
|
76333
|
+
}
|
|
76334
|
+
});
|
|
76335
|
+
}
|
|
76336
|
+
|
|
76294
76337
|
//请求叠加数据 (主数据下载完再下载))
|
|
76295
76338
|
this.RequestOverlayMinuteData=function()
|
|
76296
76339
|
{
|
|
@@ -76305,6 +76348,9 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
76305
76348
|
var symbol=item.Symbol;
|
|
76306
76349
|
if (!symbol) continue;
|
|
76307
76350
|
|
|
76351
|
+
this.RequestSingleOverlayMinuteData(symbol, date, item);
|
|
76352
|
+
|
|
76353
|
+
/*
|
|
76308
76354
|
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
76309
76355
|
|
|
76310
76356
|
if (this.NetworkFilter)
|
|
@@ -76344,6 +76390,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
76344
76390
|
self.RecvOverlayMinuteData(data,item);
|
|
76345
76391
|
}
|
|
76346
76392
|
});
|
|
76393
|
+
*/
|
|
76347
76394
|
}
|
|
76348
76395
|
}
|
|
76349
76396
|
|
|
@@ -76436,6 +76483,43 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
76436
76483
|
}
|
|
76437
76484
|
}
|
|
76438
76485
|
|
|
76486
|
+
this.RequestSingleOverlayHistoryMinuteData=function(symbol, days, item)
|
|
76487
|
+
{
|
|
76488
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
76489
|
+
|
|
76490
|
+
if (this.NetworkFilter)
|
|
76491
|
+
{
|
|
76492
|
+
var obj=
|
|
76493
|
+
{
|
|
76494
|
+
Name:'MinuteChartContainer::RequestOverlayHistoryMinuteData', //类名::函数名
|
|
76495
|
+
Explain:'叠加股票多日分时数据',
|
|
76496
|
+
Request:{ Url:this.HistoryMinuteApiUrl, Data:{days:days, symbol:symbol}, Type:'POST' },
|
|
76497
|
+
Self:this,
|
|
76498
|
+
PreventDefault:false
|
|
76499
|
+
};
|
|
76500
|
+
this.NetworkFilter(obj, function(data)
|
|
76501
|
+
{
|
|
76502
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
76503
|
+
this.RecvOverlayHistoryMinuteData(data,item);
|
|
76504
|
+
});
|
|
76505
|
+
|
|
76506
|
+
if (obj.PreventDefault==true) return; //已被上层替换,不调用默认的网络请求
|
|
76507
|
+
}
|
|
76508
|
+
|
|
76509
|
+
JSNetwork.HttpRequest({
|
|
76510
|
+
url: this.HistoryMinuteApiUrl,
|
|
76511
|
+
data:{ "symbol": symbol, "days": days },
|
|
76512
|
+
type:"post",
|
|
76513
|
+
dataType: "json",
|
|
76514
|
+
async:true,
|
|
76515
|
+
success: function (data)
|
|
76516
|
+
{
|
|
76517
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
76518
|
+
this.RecvOverlayHistoryMinuteData(data,item);
|
|
76519
|
+
}
|
|
76520
|
+
});
|
|
76521
|
+
}
|
|
76522
|
+
|
|
76439
76523
|
this.RequestOverlayHistoryMinuteData=function()
|
|
76440
76524
|
{
|
|
76441
76525
|
if (!IFrameSplitOperator.IsNonEmptyArray(this.DayData)) return;
|
|
@@ -76456,6 +76540,9 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
76456
76540
|
if (!symbol) continue;
|
|
76457
76541
|
if (item.Status!=OVERLAY_STATUS_ID.STATUS_NONE_ID) continue;
|
|
76458
76542
|
|
|
76543
|
+
this.RequestSingleOverlayHistoryMinuteData(symbol, days, item);
|
|
76544
|
+
|
|
76545
|
+
/*
|
|
76459
76546
|
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
76460
76547
|
|
|
76461
76548
|
if (this.NetworkFilter)
|
|
@@ -76489,6 +76576,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
76489
76576
|
self.RecvOverlayHistoryMinuteData(data,item);
|
|
76490
76577
|
}
|
|
76491
76578
|
});
|
|
76579
|
+
*/
|
|
76492
76580
|
}
|
|
76493
76581
|
}
|
|
76494
76582
|
|
|
@@ -80435,6 +80435,49 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80435
80435
|
JSConsole.Chart.Log(`[MinuteChartContainer::CaclutateLimitPrice] ${this.Symbol} tofixed(2) max:${this.LimitPrice.Max} min:${this.LimitPrice.Min}`);
|
|
80436
80436
|
}
|
|
80437
80437
|
|
|
80438
|
+
this.RequestSingleOverlayMinuteData=function(symbol, date, item)
|
|
80439
|
+
{
|
|
80440
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
80441
|
+
|
|
80442
|
+
if (this.NetworkFilter)
|
|
80443
|
+
{
|
|
80444
|
+
var obj=
|
|
80445
|
+
{
|
|
80446
|
+
Name:'MinuteChartContainer::RequestOverlayMinuteData', //类名::函数名
|
|
80447
|
+
Explain:'叠加股票最新分时数据',
|
|
80448
|
+
Request:{ Url:this.HistoryMinuteApiUrl, Data:{days:[date], symbol:symbol}, Type:'POST' },
|
|
80449
|
+
Self:this,
|
|
80450
|
+
PreventDefault:false
|
|
80451
|
+
};
|
|
80452
|
+
this.NetworkFilter(obj, function(data)
|
|
80453
|
+
{
|
|
80454
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
80455
|
+
this.RecvOverlayMinuteData(data,item);
|
|
80456
|
+
});
|
|
80457
|
+
|
|
80458
|
+
if (obj.PreventDefault==true) return; //已被上层替换,不调用默认的网络请求
|
|
80459
|
+
}
|
|
80460
|
+
|
|
80461
|
+
//请求数据
|
|
80462
|
+
JSNetwork.HttpRequest({
|
|
80463
|
+
url: this.HistoryMinuteApiUrl,
|
|
80464
|
+
data:
|
|
80465
|
+
{
|
|
80466
|
+
"symbol":symbol,
|
|
80467
|
+
"days": [date],
|
|
80468
|
+
},
|
|
80469
|
+
type:"post",
|
|
80470
|
+
dataType: "json",
|
|
80471
|
+
async:true,
|
|
80472
|
+
success: function (data)
|
|
80473
|
+
{
|
|
80474
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
80475
|
+
//self.RecvMultiOverlayMinuteData([data]);
|
|
80476
|
+
this.RecvOverlayMinuteData(data,item);
|
|
80477
|
+
}
|
|
80478
|
+
});
|
|
80479
|
+
}
|
|
80480
|
+
|
|
80438
80481
|
//请求叠加数据 (主数据下载完再下载))
|
|
80439
80482
|
this.RequestOverlayMinuteData=function()
|
|
80440
80483
|
{
|
|
@@ -80449,6 +80492,9 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80449
80492
|
var symbol=item.Symbol;
|
|
80450
80493
|
if (!symbol) continue;
|
|
80451
80494
|
|
|
80495
|
+
this.RequestSingleOverlayMinuteData(symbol, date, item);
|
|
80496
|
+
|
|
80497
|
+
/*
|
|
80452
80498
|
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
80453
80499
|
|
|
80454
80500
|
if (this.NetworkFilter)
|
|
@@ -80488,6 +80534,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80488
80534
|
self.RecvOverlayMinuteData(data,item);
|
|
80489
80535
|
}
|
|
80490
80536
|
});
|
|
80537
|
+
*/
|
|
80491
80538
|
}
|
|
80492
80539
|
}
|
|
80493
80540
|
|
|
@@ -80580,6 +80627,43 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80580
80627
|
}
|
|
80581
80628
|
}
|
|
80582
80629
|
|
|
80630
|
+
this.RequestSingleOverlayHistoryMinuteData=function(symbol, days, item)
|
|
80631
|
+
{
|
|
80632
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
80633
|
+
|
|
80634
|
+
if (this.NetworkFilter)
|
|
80635
|
+
{
|
|
80636
|
+
var obj=
|
|
80637
|
+
{
|
|
80638
|
+
Name:'MinuteChartContainer::RequestOverlayHistoryMinuteData', //类名::函数名
|
|
80639
|
+
Explain:'叠加股票多日分时数据',
|
|
80640
|
+
Request:{ Url:this.HistoryMinuteApiUrl, Data:{days:days, symbol:symbol}, Type:'POST' },
|
|
80641
|
+
Self:this,
|
|
80642
|
+
PreventDefault:false
|
|
80643
|
+
};
|
|
80644
|
+
this.NetworkFilter(obj, function(data)
|
|
80645
|
+
{
|
|
80646
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
80647
|
+
this.RecvOverlayHistoryMinuteData(data,item);
|
|
80648
|
+
});
|
|
80649
|
+
|
|
80650
|
+
if (obj.PreventDefault==true) return; //已被上层替换,不调用默认的网络请求
|
|
80651
|
+
}
|
|
80652
|
+
|
|
80653
|
+
JSNetwork.HttpRequest({
|
|
80654
|
+
url: this.HistoryMinuteApiUrl,
|
|
80655
|
+
data:{ "symbol": symbol, "days": days },
|
|
80656
|
+
type:"post",
|
|
80657
|
+
dataType: "json",
|
|
80658
|
+
async:true,
|
|
80659
|
+
success: function (data)
|
|
80660
|
+
{
|
|
80661
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
80662
|
+
this.RecvOverlayHistoryMinuteData(data,item);
|
|
80663
|
+
}
|
|
80664
|
+
});
|
|
80665
|
+
}
|
|
80666
|
+
|
|
80583
80667
|
this.RequestOverlayHistoryMinuteData=function()
|
|
80584
80668
|
{
|
|
80585
80669
|
if (!IFrameSplitOperator.IsNonEmptyArray(this.DayData)) return;
|
|
@@ -80600,6 +80684,9 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80600
80684
|
if (!symbol) continue;
|
|
80601
80685
|
if (item.Status!=OVERLAY_STATUS_ID.STATUS_NONE_ID) continue;
|
|
80602
80686
|
|
|
80687
|
+
this.RequestSingleOverlayHistoryMinuteData(symbol, days, item);
|
|
80688
|
+
|
|
80689
|
+
/*
|
|
80603
80690
|
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
80604
80691
|
|
|
80605
80692
|
if (this.NetworkFilter)
|
|
@@ -80633,6 +80720,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80633
80720
|
self.RecvOverlayHistoryMinuteData(data,item);
|
|
80634
80721
|
}
|
|
80635
80722
|
});
|
|
80723
|
+
*/
|
|
80636
80724
|
}
|
|
80637
80725
|
}
|
|
80638
80726
|
|
|
@@ -131399,7 +131487,7 @@ function ScrollBarBGChart()
|
|
|
131399
131487
|
|
|
131400
131488
|
|
|
131401
131489
|
|
|
131402
|
-
var HQCHART_VERSION="1.1.
|
|
131490
|
+
var HQCHART_VERSION="1.1.12785";
|
|
131403
131491
|
|
|
131404
131492
|
function PrintHQChartVersion()
|
|
131405
131493
|
{
|
|
@@ -80479,6 +80479,49 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80479
80479
|
JSConsole.Chart.Log(`[MinuteChartContainer::CaclutateLimitPrice] ${this.Symbol} tofixed(2) max:${this.LimitPrice.Max} min:${this.LimitPrice.Min}`);
|
|
80480
80480
|
}
|
|
80481
80481
|
|
|
80482
|
+
this.RequestSingleOverlayMinuteData=function(symbol, date, item)
|
|
80483
|
+
{
|
|
80484
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
80485
|
+
|
|
80486
|
+
if (this.NetworkFilter)
|
|
80487
|
+
{
|
|
80488
|
+
var obj=
|
|
80489
|
+
{
|
|
80490
|
+
Name:'MinuteChartContainer::RequestOverlayMinuteData', //类名::函数名
|
|
80491
|
+
Explain:'叠加股票最新分时数据',
|
|
80492
|
+
Request:{ Url:this.HistoryMinuteApiUrl, Data:{days:[date], symbol:symbol}, Type:'POST' },
|
|
80493
|
+
Self:this,
|
|
80494
|
+
PreventDefault:false
|
|
80495
|
+
};
|
|
80496
|
+
this.NetworkFilter(obj, function(data)
|
|
80497
|
+
{
|
|
80498
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
80499
|
+
this.RecvOverlayMinuteData(data,item);
|
|
80500
|
+
});
|
|
80501
|
+
|
|
80502
|
+
if (obj.PreventDefault==true) return; //已被上层替换,不调用默认的网络请求
|
|
80503
|
+
}
|
|
80504
|
+
|
|
80505
|
+
//请求数据
|
|
80506
|
+
JSNetwork.HttpRequest({
|
|
80507
|
+
url: this.HistoryMinuteApiUrl,
|
|
80508
|
+
data:
|
|
80509
|
+
{
|
|
80510
|
+
"symbol":symbol,
|
|
80511
|
+
"days": [date],
|
|
80512
|
+
},
|
|
80513
|
+
type:"post",
|
|
80514
|
+
dataType: "json",
|
|
80515
|
+
async:true,
|
|
80516
|
+
success: function (data)
|
|
80517
|
+
{
|
|
80518
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
80519
|
+
//self.RecvMultiOverlayMinuteData([data]);
|
|
80520
|
+
this.RecvOverlayMinuteData(data,item);
|
|
80521
|
+
}
|
|
80522
|
+
});
|
|
80523
|
+
}
|
|
80524
|
+
|
|
80482
80525
|
//请求叠加数据 (主数据下载完再下载))
|
|
80483
80526
|
this.RequestOverlayMinuteData=function()
|
|
80484
80527
|
{
|
|
@@ -80493,6 +80536,9 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80493
80536
|
var symbol=item.Symbol;
|
|
80494
80537
|
if (!symbol) continue;
|
|
80495
80538
|
|
|
80539
|
+
this.RequestSingleOverlayMinuteData(symbol, date, item);
|
|
80540
|
+
|
|
80541
|
+
/*
|
|
80496
80542
|
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
80497
80543
|
|
|
80498
80544
|
if (this.NetworkFilter)
|
|
@@ -80532,6 +80578,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80532
80578
|
self.RecvOverlayMinuteData(data,item);
|
|
80533
80579
|
}
|
|
80534
80580
|
});
|
|
80581
|
+
*/
|
|
80535
80582
|
}
|
|
80536
80583
|
}
|
|
80537
80584
|
|
|
@@ -80624,6 +80671,43 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80624
80671
|
}
|
|
80625
80672
|
}
|
|
80626
80673
|
|
|
80674
|
+
this.RequestSingleOverlayHistoryMinuteData=function(symbol, days, item)
|
|
80675
|
+
{
|
|
80676
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
80677
|
+
|
|
80678
|
+
if (this.NetworkFilter)
|
|
80679
|
+
{
|
|
80680
|
+
var obj=
|
|
80681
|
+
{
|
|
80682
|
+
Name:'MinuteChartContainer::RequestOverlayHistoryMinuteData', //类名::函数名
|
|
80683
|
+
Explain:'叠加股票多日分时数据',
|
|
80684
|
+
Request:{ Url:this.HistoryMinuteApiUrl, Data:{days:days, symbol:symbol}, Type:'POST' },
|
|
80685
|
+
Self:this,
|
|
80686
|
+
PreventDefault:false
|
|
80687
|
+
};
|
|
80688
|
+
this.NetworkFilter(obj, function(data)
|
|
80689
|
+
{
|
|
80690
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
80691
|
+
this.RecvOverlayHistoryMinuteData(data,item);
|
|
80692
|
+
});
|
|
80693
|
+
|
|
80694
|
+
if (obj.PreventDefault==true) return; //已被上层替换,不调用默认的网络请求
|
|
80695
|
+
}
|
|
80696
|
+
|
|
80697
|
+
JSNetwork.HttpRequest({
|
|
80698
|
+
url: this.HistoryMinuteApiUrl,
|
|
80699
|
+
data:{ "symbol": symbol, "days": days },
|
|
80700
|
+
type:"post",
|
|
80701
|
+
dataType: "json",
|
|
80702
|
+
async:true,
|
|
80703
|
+
success: function (data)
|
|
80704
|
+
{
|
|
80705
|
+
item.Status=OVERLAY_STATUS_ID.STATUS_RECVDATA_ID;
|
|
80706
|
+
this.RecvOverlayHistoryMinuteData(data,item);
|
|
80707
|
+
}
|
|
80708
|
+
});
|
|
80709
|
+
}
|
|
80710
|
+
|
|
80627
80711
|
this.RequestOverlayHistoryMinuteData=function()
|
|
80628
80712
|
{
|
|
80629
80713
|
if (!IFrameSplitOperator.IsNonEmptyArray(this.DayData)) return;
|
|
@@ -80644,6 +80728,9 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80644
80728
|
if (!symbol) continue;
|
|
80645
80729
|
if (item.Status!=OVERLAY_STATUS_ID.STATUS_NONE_ID) continue;
|
|
80646
80730
|
|
|
80731
|
+
this.RequestSingleOverlayHistoryMinuteData(symbol, days, item);
|
|
80732
|
+
|
|
80733
|
+
/*
|
|
80647
80734
|
item.Status=OVERLAY_STATUS_ID.STATUS_REQUESTDATA_ID;
|
|
80648
80735
|
|
|
80649
80736
|
if (this.NetworkFilter)
|
|
@@ -80677,6 +80764,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
80677
80764
|
self.RecvOverlayHistoryMinuteData(data,item);
|
|
80678
80765
|
}
|
|
80679
80766
|
});
|
|
80767
|
+
*/
|
|
80680
80768
|
}
|
|
80681
80769
|
}
|
|
80682
80770
|
|
|
@@ -131557,7 +131645,7 @@ function HQChartScriptWorker()
|
|
|
131557
131645
|
|
|
131558
131646
|
|
|
131559
131647
|
|
|
131560
|
-
var HQCHART_VERSION="1.1.
|
|
131648
|
+
var HQCHART_VERSION="1.1.12785";
|
|
131561
131649
|
|
|
131562
131650
|
function PrintHQChartVersion()
|
|
131563
131651
|
{
|