hqchart 1.1.13541 → 1.1.13550
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.NetworkFilterTest.vue.js +24 -5
- package/lib/umychart.vue.js +27 -21
- package/package.json +1 -1
- package/src/jscommon/umychart.NetworkFilterTest.js +20 -0
- package/src/jscommon/umychart.js +13 -3
- package/src/jscommon/umychart.popMenu.js +13 -0
- package/src/jscommon/umychart.report.js +94 -26
- package/src/jscommon/umychart.resource/font/iconfont.css +11 -3
- package/src/jscommon/umychart.resource/font/iconfont.ttf +0 -0
- package/src/jscommon/umychart.resource/font/iconfont.woff +0 -0
- package/src/jscommon/umychart.resource/font/iconfont.woff2 +0 -0
- package/src/jscommon/umychart.style.js +1 -1
- package/src/jscommon/umychart.testdata.js +20 -0
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +109 -31
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.NetworkFilterTest.vue.js +20 -0
- package/src/jscommon/umychart.vue/umychart.vue.js +122 -31
|
@@ -6523,6 +6523,8 @@ var JSCHART_EVENT_ID=
|
|
|
6523
6523
|
ON_TREPORT_LOCAL_SORT:126, //T型报价列表本地排序
|
|
6524
6524
|
ON_CLICK_TREPORT_ROW:127, //左键点击点击T型报价列表
|
|
6525
6525
|
|
|
6526
|
+
ON_DRAW_REPORT_ROW_BG:140, //报价列表整行背景
|
|
6527
|
+
|
|
6526
6528
|
|
|
6527
6529
|
ON_CHANGE_INDEX:150, //切换指标
|
|
6528
6530
|
ON_MENU_COMMAND:151, //菜单事件回调
|
|
@@ -71049,8 +71051,17 @@ function JSChartResource()
|
|
|
71049
71051
|
{
|
|
71050
71052
|
Color:"rgb(60,60,60)", //表头文字颜色
|
|
71051
71053
|
SortColor:"rgb(255,0,0)", //排序箭头颜色
|
|
71052
|
-
Mergin:{ Left:5, Right:5, Top:4, Bottom:
|
|
71053
|
-
Font:{ Size:12, Name:"微软雅黑" } //表头字体
|
|
71054
|
+
Mergin:{ Left:5, Right:5, Top:4, Bottom:4 }, //表头四周间距
|
|
71055
|
+
Font:{ Size:12, Name:"微软雅黑" }, //表头字体
|
|
71056
|
+
},
|
|
71057
|
+
|
|
71058
|
+
//排序图标
|
|
71059
|
+
SortIcon:
|
|
71060
|
+
{
|
|
71061
|
+
Size:12, Family:"iconfont",
|
|
71062
|
+
Arrow:[null, "\ue6b2", "\ue6b1"],
|
|
71063
|
+
Color:[null, "rgb(255,0,0)", "rgb(255,0,0)"],
|
|
71064
|
+
Margin:{ Left:0, Bottom:6 }
|
|
71054
71065
|
},
|
|
71055
71066
|
|
|
71056
71067
|
Item:
|
|
@@ -71995,7 +72006,6 @@ function JSChartResource()
|
|
|
71995
72006
|
{
|
|
71996
72007
|
var header=item.Header;
|
|
71997
72008
|
if (header.Color) this.Report.Header.Color=header.Color;
|
|
71998
|
-
if (header.SortColor) this.Report.Header.SortColor=header.SortColor;
|
|
71999
72009
|
if (header.Mergin)
|
|
72000
72010
|
{
|
|
72001
72011
|
var mergin=header.Mergin;
|
|
@@ -123476,7 +123486,7 @@ function GetBlackStyle()
|
|
|
123476
123486
|
{
|
|
123477
123487
|
Color:"RGB(245,245,245)",
|
|
123478
123488
|
SortColor:"rgb(255,0,0)",
|
|
123479
|
-
Mergin:{ Left:5, Right:5, Top:4, Bottom:2 },
|
|
123489
|
+
//Mergin:{ Left:5, Right:5, Top:4, Bottom:2 },
|
|
123480
123490
|
Font:{ Size:12, Name:"微软雅黑" }
|
|
123481
123491
|
},
|
|
123482
123492
|
|
|
@@ -128807,7 +128817,7 @@ function ChartReport()
|
|
|
128807
128817
|
//表头配置
|
|
128808
128818
|
this.HeaderFontConfig={ Size:g_JSChartResource.Report.Header.Font.Size, Name:g_JSChartResource.Report.Header.Font.Name };
|
|
128809
128819
|
this.HeaderColor=g_JSChartResource.Report.Header.Color;
|
|
128810
|
-
|
|
128820
|
+
|
|
128811
128821
|
this.HeaderMergin=
|
|
128812
128822
|
{
|
|
128813
128823
|
Left:g_JSChartResource.Report.Header.Mergin.Left,
|
|
@@ -128816,6 +128826,20 @@ function ChartReport()
|
|
|
128816
128826
|
Bottom:g_JSChartResource.Report.Header.Mergin.Bottom
|
|
128817
128827
|
};
|
|
128818
128828
|
|
|
128829
|
+
//排序图标
|
|
128830
|
+
this.SortConfig=
|
|
128831
|
+
{
|
|
128832
|
+
Size:g_JSChartResource.Report.SortIcon.Size,
|
|
128833
|
+
Family:g_JSChartResource.Report.SortIcon.Family,
|
|
128834
|
+
Arrow:g_JSChartResource.Report.SortIcon.Arrow.slice(),
|
|
128835
|
+
Color:g_JSChartResource.Report.SortIcon.Color.slice(),
|
|
128836
|
+
Margin:
|
|
128837
|
+
{
|
|
128838
|
+
Left:g_JSChartResource.Report.SortIcon.Margin.Left,
|
|
128839
|
+
Bottom:g_JSChartResource.Report.SortIcon.Margin.Bottom
|
|
128840
|
+
}
|
|
128841
|
+
}
|
|
128842
|
+
|
|
128819
128843
|
//表格内容配置
|
|
128820
128844
|
this.ItemFontConfig={ Size:g_JSChartResource.Report.Item.Font.Size, Name:g_JSChartResource.Report.Item.Font.Name };
|
|
128821
128845
|
this.ItemFixedFontConfg={ Size:g_JSChartResource.Report.FixedItem.Font.Size, Name:g_JSChartResource.Report.FixedItem.Font.Name }; //固定行
|
|
@@ -128878,6 +128902,7 @@ function ChartReport()
|
|
|
128878
128902
|
|
|
128879
128903
|
//缓存
|
|
128880
128904
|
this.HeaderFont=12*GetDevicePixelRatio() +"px 微软雅黑";
|
|
128905
|
+
this.SortFont=null,
|
|
128881
128906
|
this.ItemFont=15*GetDevicePixelRatio() +"px 微软雅黑";
|
|
128882
128907
|
this.ItemFixedFont=15*GetDevicePixelRatio() +"px 微软雅黑";
|
|
128883
128908
|
this.ItemSymbolFont=12*GetDevicePixelRatio() +"px 微软雅黑";
|
|
@@ -128921,7 +128946,7 @@ function ChartReport()
|
|
|
128921
128946
|
//表头配置
|
|
128922
128947
|
this.HeaderFontConfig={ Size:g_JSChartResource.Report.Header.Font.Size, Name:g_JSChartResource.Report.Header.Font.Name };
|
|
128923
128948
|
this.HeaderColor=g_JSChartResource.Report.Header.Color;
|
|
128924
|
-
|
|
128949
|
+
|
|
128925
128950
|
this.HeaderMergin=
|
|
128926
128951
|
{
|
|
128927
128952
|
Left:g_JSChartResource.Report.Header.Mergin.Left,
|
|
@@ -128956,6 +128981,20 @@ function ChartReport()
|
|
|
128956
128981
|
Bottom:g_JSChartResource.Report.LimitBorder.Mergin.Bottom
|
|
128957
128982
|
}
|
|
128958
128983
|
|
|
128984
|
+
//排序图标
|
|
128985
|
+
this.SortConfig=
|
|
128986
|
+
{
|
|
128987
|
+
Size:g_JSChartResource.Report.SortIcon.Size,
|
|
128988
|
+
Family:g_JSChartResource.Report.SortIcon.Family,
|
|
128989
|
+
Arrow:g_JSChartResource.Report.SortIcon.Arrow.slice(),
|
|
128990
|
+
Color:g_JSChartResource.Report.SortIcon.Color.slice(),
|
|
128991
|
+
Margin:
|
|
128992
|
+
{
|
|
128993
|
+
Left:g_JSChartResource.Report.SortIcon.Margin.Left,
|
|
128994
|
+
Bottom:g_JSChartResource.Report.SortIcon.Margin.Bottom
|
|
128995
|
+
}
|
|
128996
|
+
}
|
|
128997
|
+
|
|
128959
128998
|
for(var i=0;i<this.Column.length;++i)
|
|
128960
128999
|
{
|
|
128961
129000
|
var item=this.Column[i];
|
|
@@ -129282,6 +129321,7 @@ function ChartReport()
|
|
|
129282
129321
|
|
|
129283
129322
|
this.RowHeight=this.GetFontHeight(this.ItemFont,"擎")+ this.ItemMergin.Top+ this.ItemMergin.Bottom;
|
|
129284
129323
|
this.FixedRowHeight=this.GetFontHeight(this.ItemFixedFont,"擎")+ this.ItemMergin.Top+ this.ItemMergin.Bottom;
|
|
129324
|
+
this.SortFont=`${this.SortConfig.Size*pixelRatio}px ${ this.SortConfig.Family}`;
|
|
129285
129325
|
|
|
129286
129326
|
this.Canvas.font=this.ItemFont;
|
|
129287
129327
|
var itemWidth=0;
|
|
@@ -129334,8 +129374,8 @@ function ChartReport()
|
|
|
129334
129374
|
var item=this.Column[i];
|
|
129335
129375
|
if (!item.Title || item.Title.length<=0) continue;
|
|
129336
129376
|
var text=item.Title;
|
|
129337
|
-
if (item.Sort>0) text+="↓";
|
|
129338
129377
|
itemWidth=this.Canvas.measureText(text).width;
|
|
129378
|
+
if (item.Sort>0) itemWidth+this.SortConfig.Size*pixelRatio;
|
|
129339
129379
|
itemWidth+=(4+this.HeaderMergin.Left+this.HeaderMergin.Right);
|
|
129340
129380
|
if (item.Width<itemWidth) item.Width=itemWidth;
|
|
129341
129381
|
}
|
|
@@ -129343,7 +129383,6 @@ function ChartReport()
|
|
|
129343
129383
|
this.HeaderHeight=this.GetFontHeight(this.HeaderFont,"擎")+ this.HeaderMergin.Top+ this.HeaderMergin.Bottom;
|
|
129344
129384
|
if (!this.IsShowHeader) this.HeaderHeight=0;
|
|
129345
129385
|
if (this.FixedRowCount<=0) this.FixedRowHeight=0;
|
|
129346
|
-
|
|
129347
129386
|
|
|
129348
129387
|
this.RowCount=parseInt((this.RectClient.Bottom-this.RectClient.Top-this.HeaderHeight-(this.FixedRowHeight*this.FixedRowCount))/this.RowHeight);
|
|
129349
129388
|
|
|
@@ -129365,6 +129404,7 @@ function ChartReport()
|
|
|
129365
129404
|
var left=this.RectClient.Left;
|
|
129366
129405
|
var top=this.RectClient.Top;
|
|
129367
129406
|
var y=top+this.HeaderMergin.Top+(this.HeaderHeight-this.HeaderMergin.Top-this.HeaderMergin.Bottom)/2;
|
|
129407
|
+
var yBottom=top+this.HeaderHeight;
|
|
129368
129408
|
|
|
129369
129409
|
this.Canvas.font=this.HeaderFont;
|
|
129370
129410
|
|
|
@@ -129404,16 +129444,16 @@ function ChartReport()
|
|
|
129404
129444
|
var textSize={ }
|
|
129405
129445
|
if (this.SortInfo && this.SortInfo.Field==i && this.SortInfo.Sort>0)
|
|
129406
129446
|
{
|
|
129407
|
-
this.DrawSortHeader(item.Title,item.TextAlign,x,
|
|
129447
|
+
this.DrawSortHeader(item.Title,item.TextAlign,x,yBottom,textWidth,this.SortInfo.Sort, textSize);
|
|
129408
129448
|
}
|
|
129409
129449
|
else
|
|
129410
129450
|
{
|
|
129411
|
-
this.DrawText(item.Title,item.TextAlign,x,
|
|
129451
|
+
this.DrawText(item.Title,item.TextAlign,x,yBottom,textWidth,textSize);
|
|
129412
129452
|
}
|
|
129413
129453
|
|
|
129414
129454
|
if (iconWidth>0)
|
|
129415
129455
|
{
|
|
129416
|
-
this.DrawHeaderIcon(item.Icon, textSize.Right,
|
|
129456
|
+
this.DrawHeaderIcon(item.Icon, textSize.Right, yBottom, i, item);
|
|
129417
129457
|
this.Canvas.font=this.HeaderFont;
|
|
129418
129458
|
}
|
|
129419
129459
|
|
|
@@ -129457,16 +129497,16 @@ function ChartReport()
|
|
|
129457
129497
|
var textSize={ }
|
|
129458
129498
|
if (this.SortInfo && this.SortInfo.Field==i && this.SortInfo.Sort>0)
|
|
129459
129499
|
{
|
|
129460
|
-
this.DrawSortHeader(item.Title,item.TextAlign,x,
|
|
129500
|
+
this.DrawSortHeader(item.Title,item.TextAlign,x,yBottom,textWidth,this.SortInfo.Sort,textSize);
|
|
129461
129501
|
}
|
|
129462
129502
|
else
|
|
129463
129503
|
{
|
|
129464
|
-
this.DrawText(item.Title,item.TextAlign,x,
|
|
129504
|
+
this.DrawText(item.Title,item.TextAlign,x,yBottom,textWidth,textSize);
|
|
129465
129505
|
}
|
|
129466
129506
|
|
|
129467
129507
|
if (iconWidth>0)
|
|
129468
129508
|
{
|
|
129469
|
-
this.DrawHeaderIcon(item.Icon, textSize.Right,
|
|
129509
|
+
this.DrawHeaderIcon(item.Icon, textSize.Right, yBottom, i, item);
|
|
129470
129510
|
this.Canvas.font=this.HeaderFont;
|
|
129471
129511
|
}
|
|
129472
129512
|
|
|
@@ -129474,7 +129514,7 @@ function ChartReport()
|
|
|
129474
129514
|
}
|
|
129475
129515
|
}
|
|
129476
129516
|
|
|
129477
|
-
this.DrawText=function(text, textAlign, x,
|
|
129517
|
+
this.DrawText=function(text, textAlign, x, yBottom, cellWidth, textSize)
|
|
129478
129518
|
{
|
|
129479
129519
|
var textWidth=this.Canvas.measureText(text).width;
|
|
129480
129520
|
if (textAlign=='center')
|
|
@@ -129487,8 +129527,8 @@ function ChartReport()
|
|
|
129487
129527
|
}
|
|
129488
129528
|
|
|
129489
129529
|
this.Canvas.textAlign="left";
|
|
129490
|
-
this.Canvas.textBaseline="
|
|
129491
|
-
this.Canvas.fillText(text,x,
|
|
129530
|
+
this.Canvas.textBaseline="bottom";
|
|
129531
|
+
this.Canvas.fillText(text,x,yBottom-this.HeaderMergin.Bottom);
|
|
129492
129532
|
|
|
129493
129533
|
if (textSize)
|
|
129494
129534
|
{
|
|
@@ -129497,7 +129537,7 @@ function ChartReport()
|
|
|
129497
129537
|
}
|
|
129498
129538
|
}
|
|
129499
129539
|
|
|
129500
|
-
this.DrawHeaderIcon=function(icon, x,
|
|
129540
|
+
this.DrawHeaderIcon=function(icon, x, yBottom, index, column)
|
|
129501
129541
|
{
|
|
129502
129542
|
var iconFont=`${icon.Size}px ${icon.Family}`;
|
|
129503
129543
|
this.Canvas.font=iconFont;
|
|
@@ -129505,29 +129545,29 @@ function ChartReport()
|
|
|
129505
129545
|
if (icon.Color) this.Canvas.fillStyle=icon.Color;
|
|
129506
129546
|
|
|
129507
129547
|
var xIcon=x;
|
|
129508
|
-
var yIcon=
|
|
129548
|
+
var yIcon=yBottom;
|
|
129509
129549
|
if (icon.Margin && IFrameSplitOperator.IsNumber(icon.Margin.Left)) xIcon+=icon.Margin.Left;
|
|
129510
129550
|
if (icon.Margin && IFrameSplitOperator.IsNumber(icon.Margin.Bottom)) yIcon-=icon.Margin.Bottom;
|
|
129511
129551
|
this.Canvas.fillText(icon.Symbol, xIcon, yIcon);
|
|
129512
129552
|
|
|
129513
129553
|
if (icon.Tooltip)
|
|
129514
129554
|
{
|
|
129515
|
-
var rtIcon={ Left:xIcon,
|
|
129555
|
+
var rtIcon={ Left:xIcon, Bottom:yIcon, Width:icon.Size, Height:icon.Size };
|
|
129516
129556
|
rtIcon.Right=rtIcon.Left+rtIcon.Width;
|
|
129517
|
-
rtIcon.
|
|
129557
|
+
rtIcon.Top=rtIcon.Bottom-rtIcon.Height;
|
|
129518
129558
|
|
|
129519
129559
|
var tooltipData={ Rect:rtIcon, Type:2, Column:column, Index:index, Data:icon.Tooltip.Data };
|
|
129520
129560
|
this.TooltipRect.push(tooltipData);
|
|
129521
129561
|
}
|
|
129522
129562
|
}
|
|
129523
129563
|
|
|
129524
|
-
this.DrawSortHeader=function(text, textAlign, x,
|
|
129564
|
+
this.DrawSortHeader=function(text, textAlign, x, yBottom, width, sortType,textSize)
|
|
129525
129565
|
{
|
|
129526
|
-
var
|
|
129527
|
-
var
|
|
129528
|
-
|
|
129529
|
-
this.Canvas.
|
|
129530
|
-
this.
|
|
129566
|
+
var pixelRatio=GetDevicePixelRatio();
|
|
129567
|
+
var sortText=this.SortConfig.Arrow[sortType];
|
|
129568
|
+
this.Canvas.font=this.HeaderFont;
|
|
129569
|
+
var textWidth=this.Canvas.measureText(text).width;
|
|
129570
|
+
var sortTextWidth=this.SortConfig.Size*pixelRatio+this.SortConfig.Margin.Left;
|
|
129531
129571
|
|
|
129532
129572
|
if (textAlign=='center')
|
|
129533
129573
|
{
|
|
@@ -129538,9 +129578,20 @@ function ChartReport()
|
|
|
129538
129578
|
x=(x+width)-sortTextWidth-textWidth;
|
|
129539
129579
|
}
|
|
129540
129580
|
|
|
129541
|
-
this.Canvas.
|
|
129542
|
-
this.Canvas.
|
|
129543
|
-
|
|
129581
|
+
this.Canvas.textBaseline="bottom";
|
|
129582
|
+
this.Canvas.textAlign="left";
|
|
129583
|
+
|
|
129584
|
+
var xText=x;
|
|
129585
|
+
this.Canvas.font=this.HeaderFont;
|
|
129586
|
+
this.Canvas.fillStyle=this.HeaderColor;
|
|
129587
|
+
this.Canvas.fillText(text,xText,yBottom-this.HeaderMergin.Bottom);
|
|
129588
|
+
|
|
129589
|
+
xText+=(textWidth+this.SortConfig.Margin.Left);
|
|
129590
|
+
this.Canvas.font=this.SortFont;
|
|
129591
|
+
this.Canvas.fillStyle=this.SortConfig.Color[sortType];
|
|
129592
|
+
this.Canvas.fillText(sortText,xText,yBottom-this.SortConfig.Margin.Bottom);
|
|
129593
|
+
|
|
129594
|
+
this.Canvas.font=this.HeaderFont;
|
|
129544
129595
|
this.Canvas.fillStyle=this.HeaderColor;
|
|
129545
129596
|
|
|
129546
129597
|
if (textSize)
|
|
@@ -129646,6 +129697,9 @@ function ChartReport()
|
|
|
129646
129697
|
|
|
129647
129698
|
textTop=top+this.FixedRowHeight*this.FixedRowCount;
|
|
129648
129699
|
this.Canvas.font=this.ItemFont;
|
|
129700
|
+
|
|
129701
|
+
var eventDrawBG=this.GetEventCallback(JSCHART_EVENT_ID.ON_DRAW_REPORT_ROW_BG);
|
|
129702
|
+
var selectedSymbol=this.GetSelectedSymbol();
|
|
129649
129703
|
for(var i=this.Data.YOffset, j=0; i<this.Data.Data.length && j<this.RowCount ;++i, ++j)
|
|
129650
129704
|
{
|
|
129651
129705
|
var symbol=this.Data.Data[i];
|
|
@@ -129685,6 +129739,18 @@ function ChartReport()
|
|
|
129685
129739
|
bFillRow=false;
|
|
129686
129740
|
}
|
|
129687
129741
|
|
|
129742
|
+
if (eventDrawBG && eventDrawBG.Callback)
|
|
129743
|
+
{
|
|
129744
|
+
//Out:{ BGColor: }
|
|
129745
|
+
var sendData={ RowIndex:i, Symbol:symbol, Out:null, Selected:selectedSymbol };
|
|
129746
|
+
eventDrawBG.Callback(eventDrawBG,sendData,this);
|
|
129747
|
+
if (sendData.Out && sendData.Out.BGColor)
|
|
129748
|
+
{
|
|
129749
|
+
this.Canvas.fillStyle=sendData.Out.BGColor;
|
|
129750
|
+
this.Canvas.fillRect(left,textTop,rowWidth,this.RowHeight);
|
|
129751
|
+
}
|
|
129752
|
+
}
|
|
129753
|
+
|
|
129688
129754
|
if (bFillRow)
|
|
129689
129755
|
{
|
|
129690
129756
|
this.Canvas.fillStyle=this.SelectedColor;
|
|
@@ -129699,6 +129765,18 @@ function ChartReport()
|
|
|
129699
129765
|
}
|
|
129700
129766
|
}
|
|
129701
129767
|
|
|
129768
|
+
this.GetSelectedSymbol=function()
|
|
129769
|
+
{
|
|
129770
|
+
if (this.SelectedRow<0) return null;
|
|
129771
|
+
|
|
129772
|
+
var index=this.SelectedRow;
|
|
129773
|
+
if (this.SelectedModel==0) //当前屏选中
|
|
129774
|
+
index=this.Data.YOffset+this.SelectedRow;
|
|
129775
|
+
|
|
129776
|
+
var symbol=this.Data.Data[index];
|
|
129777
|
+
return symbol;
|
|
129778
|
+
}
|
|
129779
|
+
|
|
129702
129780
|
|
|
129703
129781
|
this.DrawFixedSymbolRow=function(top, dataIndex)
|
|
129704
129782
|
{
|
|
@@ -135248,7 +135326,7 @@ function ScrollBarBGChart()
|
|
|
135248
135326
|
|
|
135249
135327
|
|
|
135250
135328
|
|
|
135251
|
-
var HQCHART_VERSION="1.1.
|
|
135329
|
+
var HQCHART_VERSION="1.1.13549";
|
|
135252
135330
|
|
|
135253
135331
|
function PrintHQChartVersion()
|
|
135254
135332
|
{
|
|
@@ -48690,52 +48690,68 @@ HQData.NetworkFilter=function(data, callback)
|
|
|
48690
48690
|
|
|
48691
48691
|
switch(data.Name)
|
|
48692
48692
|
{
|
|
48693
|
+
//HQChart使用教程29-走势图如何对接第3方数据1
|
|
48693
48694
|
case 'MinuteChartContainer::RequestMinuteData': //分时图数据对接
|
|
48695
|
+
//HQChart使用教程29-走势图如何对接第3方数据2-最新分时数据
|
|
48694
48696
|
HQData.RequestMinuteData(data, callback);
|
|
48695
48697
|
break;
|
|
48698
|
+
|
|
48696
48699
|
case "MinuteChartContainer::RequestHistoryMinuteData": //多日分时图
|
|
48700
|
+
//HQChart使用教程29-走势图如何对接第3方数据3-多日分时数据
|
|
48697
48701
|
HQData.RequestMinuteDaysData(data, callback);
|
|
48698
48702
|
break;
|
|
48699
48703
|
|
|
48704
|
+
//HQChart使用教程30-K线图如何对接第3方数据1
|
|
48700
48705
|
case 'KLineChartContainer::RequestHistoryData': //日线全量数据下载
|
|
48706
|
+
//HQChart使用教程30-K线图如何对接第3方数据2-日K数据
|
|
48701
48707
|
HQData.RequestHistoryData(data,callback);
|
|
48702
48708
|
break;
|
|
48703
48709
|
case 'KLineChartContainer::RequestRealtimeData': //日线实时数据更新
|
|
48710
|
+
//HQChart使用教程30-K线图如何对接第3方数据14-轮询增量更新日K数据
|
|
48704
48711
|
HQData.RequestRealtimeData(data,callback);
|
|
48705
48712
|
break;
|
|
48706
48713
|
case 'KLineChartContainer::RequestFlowCapitalData': //流通股本
|
|
48714
|
+
//HQChart使用教程30-K线图如何对接第3方数据4-流通股本数据
|
|
48707
48715
|
HQData.RequestFlowCapitalData(data,callback);
|
|
48708
48716
|
break;
|
|
48709
48717
|
|
|
48710
48718
|
case 'KLineChartContainer::ReqeustHistoryMinuteData': //分钟全量数据下载
|
|
48719
|
+
//HQChart使用教程30-K线图如何对接第3方数据3-1分钟K数据
|
|
48711
48720
|
HQData.RequestHistoryMinuteData(data, callback);
|
|
48712
48721
|
break;
|
|
48713
48722
|
case 'KLineChartContainer::RequestMinuteRealtimeData': //分钟增量数据更新
|
|
48723
|
+
//HQChart使用教程30-K线图如何对接第3方数据15-轮询增量更新1分钟K线数据
|
|
48714
48724
|
HQData.RequestMinuteRealtimeData(data,callback);
|
|
48715
48725
|
break;
|
|
48716
48726
|
|
|
48717
48727
|
case "JSSymbolData::GetVariantData": //额外的变量数据
|
|
48728
|
+
//HQChart使用教程30-K线图如何对接第3方数据29-板块字符串函数数据[GNBLOCK,GNBLOCKNUM......]
|
|
48718
48729
|
HQData.RequestIndexVariantData(data,callback);
|
|
48719
48730
|
break;
|
|
48720
48731
|
|
|
48721
48732
|
case "JSSymbolData::GetOtherSymbolData":
|
|
48733
|
+
//HQChart使用教程30-K线图如何对接第3方数据31-获取指定品种的K线数据
|
|
48722
48734
|
HQData.RequestOtherSymbolData(data, callback);
|
|
48723
48735
|
break;
|
|
48724
48736
|
|
|
48725
48737
|
case "AnnouncementInfo::RequestData":
|
|
48738
|
+
//HQChart使用教程30-K线图如何对接第3方数据20-信息地雷公告数据
|
|
48726
48739
|
HQData.AnnouncementInfo_RequestData(data,callback);
|
|
48727
48740
|
break;
|
|
48728
48741
|
|
|
48729
48742
|
case "JSSymbolData::GetLatestData":
|
|
48743
|
+
//HQChart使用教程30-K线图如何对接第3方数据30-即时行情数据DYNAINFO
|
|
48730
48744
|
HQData.RequestLatestData(data,callback);
|
|
48731
48745
|
break;
|
|
48732
48746
|
|
|
48733
48747
|
|
|
48734
48748
|
case "KLineChartContainer::RequestOverlayHistoryData": //叠加股票
|
|
48749
|
+
//HQChart使用教程30-K线图如何对接第3方数据16-日K叠加股票
|
|
48735
48750
|
HQData.RequestOverlayHistoryData(data, callback);
|
|
48736
48751
|
break;
|
|
48737
48752
|
|
|
48738
48753
|
case "KLineChartContainer::RequestOverlayHistoryMinuteData":
|
|
48754
|
+
//HQChart使用教程30-K线图如何对接第3方数据17- 分钟K叠加股票
|
|
48739
48755
|
HQData.RequestOverlayHistoryMinuteData(data, callback);
|
|
48740
48756
|
break;
|
|
48741
48757
|
|
|
@@ -48764,16 +48780,20 @@ HQData.NetworkFilter=function(data, callback)
|
|
|
48764
48780
|
//////////////////////////////////////////////////////
|
|
48765
48781
|
//报价列表数据
|
|
48766
48782
|
case "JSReportChartContainer::RequestStockListData":
|
|
48783
|
+
//HQChart使用教程95-报价列表对接第3方数据1-码表数据
|
|
48767
48784
|
HQData.Report_RequestStockListData(data, callback); //码表
|
|
48768
48785
|
break;
|
|
48769
48786
|
|
|
48770
48787
|
case "JSReportChartContainer::RequestMemberListData": //板块成分
|
|
48788
|
+
//HQChart使用教程95-报价列表对接第3方数据2-板块成分数据
|
|
48771
48789
|
HQData.Report_RequestMemberListDat(data, callback);
|
|
48772
48790
|
break;
|
|
48773
48791
|
case "JSDealChartContainer::RequestStockData": //股票数据更新
|
|
48792
|
+
//HQChart使用教程95-报价列表对接第3方数据3-股票数据
|
|
48774
48793
|
HQData.Report_RequestStockData(data, callback);
|
|
48775
48794
|
break;
|
|
48776
48795
|
case "JSDealChartContainer::RequestStockSortData": //股票排序数据
|
|
48796
|
+
//HQChart使用教程95-报价列表对接第3方数据4-股票排序数据
|
|
48777
48797
|
HQData.Report_RequestStockSortData(data, callback);
|
|
48778
48798
|
break;
|
|
48779
48799
|
}
|