hqchart 1.1.15808 → 1.1.15821
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 +43 -27
- package/package.json +1 -1
- package/src/jscommon/umychart/umychart.js +237 -47
- package/src/jscommon/umychart/umychart.min.js +1 -1
- package/src/jscommon/umychart.DialogTooltip.js +4 -1
- package/src/jscommon/umychart.NetworkFilterTest.js +2 -0
- package/src/jscommon/umychart.StatusBar.js +2 -2
- package/src/jscommon/umychart.js +212 -41
- package/src/jscommon/umychart.order.js +2342 -0
- package/src/jscommon/umychart.style.js +18 -2
- package/src/jscommon/umychart.testdata.js +2 -0
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +231 -44
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.NetworkFilterTest.vue.js +2 -0
- package/src/jscommon/umychart.vue/umychart.vue.js +237 -47
|
@@ -249,7 +249,13 @@ function GetBlackStyle()
|
|
|
249
249
|
},
|
|
250
250
|
DragonTiger: //龙虎榜
|
|
251
251
|
{
|
|
252
|
-
IconFont: { Family:'iconfont', Text:'\ue62f', HScreenText:'\ue68a' ,Color:'#b22626' } //SVG 文本
|
|
252
|
+
IconFont: { Family:'iconfont', Text:'\ue62f', HScreenText:'\ue68a' ,Color:'#b22626' }, //SVG 文本
|
|
253
|
+
|
|
254
|
+
AryIconFont:
|
|
255
|
+
[
|
|
256
|
+
{ Family:'iconfont', Text:'\ue6c3', HScreenText:'\ue6c3' ,Color:'rgb(255,165,0)'},
|
|
257
|
+
{ Family:'iconfont', Text:'\ue6c5', HScreenText:'\ue6c5' ,Color:'rgb(0,191,255)'},
|
|
258
|
+
]
|
|
253
259
|
},
|
|
254
260
|
News: //新闻
|
|
255
261
|
{
|
|
@@ -1164,7 +1170,17 @@ function GetBlackStyle()
|
|
|
1164
1170
|
{
|
|
1165
1171
|
Color:"rgb(220,220,220)",
|
|
1166
1172
|
}
|
|
1167
|
-
}
|
|
1173
|
+
},
|
|
1174
|
+
|
|
1175
|
+
OrderList:
|
|
1176
|
+
{
|
|
1177
|
+
BorderColor:'rgba(192,192,192,0.45)', //边框线
|
|
1178
|
+
|
|
1179
|
+
Header:
|
|
1180
|
+
{
|
|
1181
|
+
Color:"RGB(120,120,120)",
|
|
1182
|
+
},
|
|
1183
|
+
},
|
|
1168
1184
|
|
|
1169
1185
|
};
|
|
1170
1186
|
|
|
@@ -1750,6 +1750,8 @@ HQData.DragonTiger_RequestData=function(data,callback)
|
|
|
1750
1750
|
netBuyAmount:kItem.Amount*0.05, //机构买入净额
|
|
1751
1751
|
netBuyRatio:4.2, //净买额占总成交比
|
|
1752
1752
|
amount:kItem.Amount, //市场总成交额
|
|
1753
|
+
//color:"rgb(100,100,0)",
|
|
1754
|
+
//infoType:1,
|
|
1753
1755
|
|
|
1754
1756
|
aryText:
|
|
1755
1757
|
[
|
|
@@ -6973,6 +6973,12 @@ var JSCHART_EVENT_ID=
|
|
|
6973
6973
|
|
|
6974
6974
|
ON_CLICK_UP_SCROLL_TEXT_ITEM:383,
|
|
6975
6975
|
ON_RCLICK_UP_SCROLL_TEXT_ITEM:384,
|
|
6976
|
+
|
|
6977
|
+
//价格列表
|
|
6978
|
+
ON_CLICK_ORDER_CELL:401,
|
|
6979
|
+
ON_RCLICK_ORDER_CELL:402,
|
|
6980
|
+
ON_DBCLICK_ORDER_ROW:403,
|
|
6981
|
+
ON_MOVEON_ORDER_CELL:404, //鼠标在单元格
|
|
6976
6982
|
}
|
|
6977
6983
|
|
|
6978
6984
|
var JSCHART_OPERATOR_ID=
|
|
@@ -28784,6 +28790,10 @@ var KLINE_INFO_TYPE=
|
|
|
28784
28790
|
//扩展信息
|
|
28785
28791
|
EXTEND_INFO_START:301,
|
|
28786
28792
|
EXTEND_INFO_END:399,
|
|
28793
|
+
|
|
28794
|
+
//龙虎榜预留类型
|
|
28795
|
+
DRAGON_TIGER_EX_START:401,
|
|
28796
|
+
DRAGON_TIGER_EX_END:499,
|
|
28787
28797
|
}
|
|
28788
28798
|
|
|
28789
28799
|
function KLineInfoData()
|
|
@@ -35981,7 +35991,7 @@ function ChartKLine()
|
|
|
35981
35991
|
var iconTop=item.YMax+1*pixelTatio;
|
|
35982
35992
|
var iconBottom=item.YMin+1*pixelTatio+iconSize;
|
|
35983
35993
|
var drawTop=true;
|
|
35984
|
-
var yOffset=0;
|
|
35994
|
+
var yOffset=0, yTopOffset=0;
|
|
35985
35995
|
for(var i in infoData.Data)
|
|
35986
35996
|
{
|
|
35987
35997
|
var infoItem=infoData.Data[i];
|
|
@@ -36017,35 +36027,41 @@ function ChartKLine()
|
|
|
36017
36027
|
if (infoPosition===1) //底部
|
|
36018
36028
|
{
|
|
36019
36029
|
var yBottom=bottom+yOffset;
|
|
36020
|
-
this.Canvas.fillText(icon.Text,item.XCenter,yBottom,iconSize);
|
|
36021
36030
|
var iconRect=new Rect(item.XCenter-iconSize/2,yBottom-iconSize,iconSize,iconSize);
|
|
36031
|
+
this.DrawInfoIcon(item, icon, iconRect);
|
|
36032
|
+
|
|
36022
36033
|
var infoCache={ Data:new Array(infoItem), Rect:iconRect, Type:infoItem.InfoType, TextRect:{X:item.XCenter, Y:yBottom}, IsShowNumber:bShowNumber };
|
|
36023
36034
|
mapImage.set(infoItem.InfoType,infoCache);
|
|
36024
36035
|
yOffset-=iconSize;
|
|
36025
36036
|
}
|
|
36026
36037
|
else if (infoPosition===2) //顶部
|
|
36027
36038
|
{
|
|
36028
|
-
var yBottom=topTitle+iconSize+1;
|
|
36029
|
-
this.Canvas.fillText(icon.Text,item.XCenter,yBottom,iconSize);
|
|
36039
|
+
var yBottom=topTitle+iconSize+1+yTopOffset;
|
|
36030
36040
|
var iconRect=new Rect(item.XCenter-iconSize/2,yBottom-iconSize,iconSize,iconSize);
|
|
36041
|
+
this.DrawInfoIcon(item, icon, iconRect);
|
|
36042
|
+
|
|
36031
36043
|
var infoCache={ Data:new Array(infoItem), Rect:iconRect, Type:infoItem.InfoType, TextRect:{X:item.XCenter, Y:yBottom}, IsShowNumber:bShowNumber };
|
|
36032
36044
|
mapImage.set(infoItem.InfoType,infoCache);
|
|
36045
|
+
|
|
36046
|
+
yTopOffset+=iconSize;
|
|
36033
36047
|
}
|
|
36034
36048
|
else
|
|
36035
36049
|
{
|
|
36036
|
-
if (drawTop)
|
|
36050
|
+
if (drawTop) //K线上面
|
|
36037
36051
|
{
|
|
36038
|
-
this.Canvas.fillText(icon.Text,item.XCenter,iconTop,iconSize);
|
|
36039
36052
|
var iconRect=new Rect(item.XCenter-iconSize/2,iconTop-iconSize,iconSize,iconSize);
|
|
36053
|
+
this.DrawInfoIcon(item, icon, iconRect);
|
|
36054
|
+
|
|
36040
36055
|
var infoCache={ Data:new Array(infoItem), Rect:iconRect, Type:infoItem.InfoType, TextRect:{X:item.XCenter, Y:iconTop}, IsShowNumber:bShowNumber };
|
|
36041
36056
|
mapImage.set(infoItem.InfoType,infoCache);
|
|
36042
36057
|
iconTop-=iconSize;
|
|
36043
36058
|
if (iconTop-iconSize<top ) drawTop=false;
|
|
36044
36059
|
}
|
|
36045
|
-
else
|
|
36060
|
+
else //上面显示不下,就显示在K线下面
|
|
36046
36061
|
{
|
|
36047
|
-
this.Canvas.fillText(icon.Text,item.XCenter,iconBottom,iconSize);
|
|
36048
36062
|
var iconRect=new Rect(item.XCenter-iconSize/2,iconBottom-iconSize,iconSize,iconSize);
|
|
36063
|
+
this.DrawInfoIcon(item, icon, iconRect);
|
|
36064
|
+
|
|
36049
36065
|
var infoCache={ Data:new Array(infoItem), Rect:iconRect, Type:infoItem.InfoType, TextRect:{X:item.XCenter, Y:iconBottom} , IsShowNumber:bShowNumber};
|
|
36050
36066
|
mapImage.set(infoItem.InfoType,infoCache);
|
|
36051
36067
|
iconBottom+=iconSize;
|
|
@@ -36085,6 +36101,18 @@ function ChartKLine()
|
|
|
36085
36101
|
this.ClipClient(isHScreen);
|
|
36086
36102
|
}
|
|
36087
36103
|
|
|
36104
|
+
this.DrawInfoIcon=function(item, iconItem, rtIcon)
|
|
36105
|
+
{
|
|
36106
|
+
if (iconItem.BGColor)
|
|
36107
|
+
{
|
|
36108
|
+
this.Canvas.fillStyle=iconItem.BGColor;
|
|
36109
|
+
this.Canvas.fillRect(rtIcon.X, rtIcon.Y, rtIcon.Width, rtIcon.Height);
|
|
36110
|
+
}
|
|
36111
|
+
|
|
36112
|
+
this.Canvas.fillStyle=iconItem.Color;
|
|
36113
|
+
this.Canvas.fillText(iconItem.Text,item.XCenter,rtIcon.Y+rtIcon.Height, rtIcon.Width);
|
|
36114
|
+
}
|
|
36115
|
+
|
|
36088
36116
|
//画交易图标
|
|
36089
36117
|
this.DrawTradeIcon=function()
|
|
36090
36118
|
{
|
|
@@ -84814,7 +84842,15 @@ function JSChartResource()
|
|
|
84814
84842
|
},
|
|
84815
84843
|
DragonTiger: //龙虎榜
|
|
84816
84844
|
{
|
|
84817
|
-
|
|
84845
|
+
//默认值
|
|
84846
|
+
IconFont: { Family:'iconfont', Text:'\ue62f', HScreenText:'\ue68a' ,Color:'#b22626' }, //SVG 文本
|
|
84847
|
+
|
|
84848
|
+
//自定义值
|
|
84849
|
+
AryIconFont:
|
|
84850
|
+
[
|
|
84851
|
+
{ Family:'iconfont', Text:'\ue6c3', HScreenText:'\ue6c3' ,Color:'rgb(255,165,0)'},
|
|
84852
|
+
{ Family:'iconfont', Text:'\ue6c5', HScreenText:'\ue6c5' ,Color:'rgb(0,191,255)'},
|
|
84853
|
+
]
|
|
84818
84854
|
},
|
|
84819
84855
|
News: //新闻
|
|
84820
84856
|
{
|
|
@@ -86308,6 +86344,52 @@ function JSChartResource()
|
|
|
86308
86344
|
}
|
|
86309
86345
|
}
|
|
86310
86346
|
|
|
86347
|
+
this.OrderList=
|
|
86348
|
+
{
|
|
86349
|
+
BorderColor:'rgba(192,192,192, 0.3)', //边框线
|
|
86350
|
+
|
|
86351
|
+
Header:
|
|
86352
|
+
{
|
|
86353
|
+
Color:"RGB(60,60,60)",
|
|
86354
|
+
Margin:{ Left:5, Right:5, Top:2, Bottom:4 },
|
|
86355
|
+
Font:{ Size:14, Name:"微软雅黑" }
|
|
86356
|
+
},
|
|
86357
|
+
|
|
86358
|
+
Item:
|
|
86359
|
+
{
|
|
86360
|
+
Margin:{ Top:2, Bottom:4,Left:5, Right:5 }, //单元格四周间距
|
|
86361
|
+
Font:{ Size:15, Name:"微软雅黑"},
|
|
86362
|
+
},
|
|
86363
|
+
|
|
86364
|
+
FieldColor:
|
|
86365
|
+
{
|
|
86366
|
+
Text:"rgb(60,60,60)", //默认文本
|
|
86367
|
+
},
|
|
86368
|
+
|
|
86369
|
+
UpTextColor:"rgb(238,21,21)", //上涨文字颜色
|
|
86370
|
+
DownTextColor:"rgb(25,158,0)", //下跌文字颜色
|
|
86371
|
+
UnchagneTextColor:"rgb(0,0,0)", //平盘文字颜色
|
|
86372
|
+
|
|
86373
|
+
Selected:
|
|
86374
|
+
{
|
|
86375
|
+
BGColor:"rgb(180,240,240)",
|
|
86376
|
+
LineColor:"rgb(128,128,128)",
|
|
86377
|
+
LineWidth:2,
|
|
86378
|
+
},
|
|
86379
|
+
|
|
86380
|
+
MoveOn:
|
|
86381
|
+
{
|
|
86382
|
+
LineColor:"rgb(55, 131, 250)",
|
|
86383
|
+
LineWidth:2,
|
|
86384
|
+
},
|
|
86385
|
+
|
|
86386
|
+
//自定义颜色
|
|
86387
|
+
AryColor:
|
|
86388
|
+
[
|
|
86389
|
+
|
|
86390
|
+
]
|
|
86391
|
+
}
|
|
86392
|
+
|
|
86311
86393
|
|
|
86312
86394
|
//自定义风格
|
|
86313
86395
|
this.SetStyle=function(style)
|
|
@@ -87271,9 +87353,70 @@ function JSChartResource()
|
|
|
87271
87353
|
if (style.StatusBar) this.SetStatusBar(style.StatusBar);
|
|
87272
87354
|
if (style.ScrollText) this.SetScrollText(style.ScrollText);
|
|
87273
87355
|
if (style.MinuteInfo) this.SetMinuteInfo(style.MinuteInfo);
|
|
87356
|
+
if (style.OrderList) this.SetOrderList(style.OrderList);
|
|
87274
87357
|
|
|
87275
87358
|
}
|
|
87276
87359
|
|
|
87360
|
+
this.SetOrderList=function(style)
|
|
87361
|
+
{
|
|
87362
|
+
var dest=this.OrderList;
|
|
87363
|
+
if (style.BorderColor) dest.BorderColor=style.BorderColor;
|
|
87364
|
+
|
|
87365
|
+
if (style.UpTextColor) dest.UpTextColor=style.UpTextColor;
|
|
87366
|
+
if (style.DownTextColor) dest.DownTextColor=style.DownTextColor;
|
|
87367
|
+
if (style.UnchangeTextColor) dest.UnchangeTextColor=style.UnchangeTextColor;
|
|
87368
|
+
|
|
87369
|
+
if (style.Header)
|
|
87370
|
+
{
|
|
87371
|
+
var subItem=style.Header;
|
|
87372
|
+
var subDest=this.OrderList.Header;
|
|
87373
|
+
if (subItem.Color) subDest.Color=subItem.Color;
|
|
87374
|
+
if (subItem.Margin) CopyMarginConfig(subDest.Margin,subItem.Margin);
|
|
87375
|
+
if (subItem.Font)
|
|
87376
|
+
{
|
|
87377
|
+
if (IFrameSplitOperator.IsNumber(subItem.Font.Size)) subDest.Font.Size=subItem.Font.Size;
|
|
87378
|
+
if (subItem.Font.Name) subDest.Font.Name=subItem.Font.Name;
|
|
87379
|
+
}
|
|
87380
|
+
}
|
|
87381
|
+
|
|
87382
|
+
if (style.Item)
|
|
87383
|
+
{
|
|
87384
|
+
var subItem=style.Item;
|
|
87385
|
+
var subDest=this.OrderList.Item;
|
|
87386
|
+
if (subItem.Margin) CopyMarginConfig(subDest.Margin,subItem.Margin);
|
|
87387
|
+
if (subItem.Font)
|
|
87388
|
+
{
|
|
87389
|
+
if (IFrameSplitOperator.IsNumber(subItem.Font.Size)) subDest.Font.Size=subItem.Font.Size;
|
|
87390
|
+
if (subItem.Font.Name) subDest.Font.Name=subItem.Font.Name;
|
|
87391
|
+
}
|
|
87392
|
+
}
|
|
87393
|
+
|
|
87394
|
+
if (style.FieldColor)
|
|
87395
|
+
{
|
|
87396
|
+
var subItem=style.Item;
|
|
87397
|
+
var subDest=this.OrderList.Item;
|
|
87398
|
+
if (subItem.Text) subDest.Text=subItem.Text;
|
|
87399
|
+
}
|
|
87400
|
+
|
|
87401
|
+
if (style.Selected)
|
|
87402
|
+
{
|
|
87403
|
+
var subItem=style.Selected;
|
|
87404
|
+
var subDest=this.OrderList.Selected;
|
|
87405
|
+
if (subItem.BGColor) subDest.BGColor=subItem.BGColor;
|
|
87406
|
+
|
|
87407
|
+
if (subItem.LineColor) subDest.LineColor=subItem.LineColor;
|
|
87408
|
+
if (IFrameSplitOperator.IsNumber(subItem.LineWidth)) subDest.LineWidth=subItem.LineWidth;
|
|
87409
|
+
}
|
|
87410
|
+
|
|
87411
|
+
if (style.MoveOn)
|
|
87412
|
+
{
|
|
87413
|
+
var subItem=style.MoveOn;
|
|
87414
|
+
var subDest=this.OrderList.MoveOn;
|
|
87415
|
+
if (subItem.LineColor) subDest.LineColor=subItem.LineColor;
|
|
87416
|
+
if (IFrameSplitOperator.IsNumber(subItem.LineWidth)) subDest.LineWidth=subItem.LineWidth;
|
|
87417
|
+
}
|
|
87418
|
+
}
|
|
87419
|
+
|
|
87277
87420
|
this.SetMinuteInfo=function(style)
|
|
87278
87421
|
{
|
|
87279
87422
|
var dest=this.MinuteInfo;
|
|
@@ -94822,25 +94965,44 @@ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
|
|
|
94822
94965
|
if (bUpdate==true) this.ReqeustKLineInfoData({ FunctionName:"SetKLineInfo" });
|
|
94823
94966
|
}
|
|
94824
94967
|
|
|
94825
|
-
|
|
94826
|
-
|
|
94968
|
+
|
|
94969
|
+
//option={ ClassName:, Name: }
|
|
94970
|
+
this.GetKLineInfo=function(option)
|
|
94827
94971
|
{
|
|
94828
|
-
|
|
94829
|
-
if (!
|
|
94972
|
+
if (!option) return null;
|
|
94973
|
+
if (!IFrameSplitOperator.IsNonEmptyArray(this.ChartInfo)) return null;
|
|
94974
|
+
|
|
94975
|
+
var className=null;
|
|
94976
|
+
if (option.Name)
|
|
94830
94977
|
{
|
|
94831
|
-
|
|
94832
|
-
|
|
94978
|
+
var classInfo=JSKLineInfoMap.GetClassInfo(option.Name);
|
|
94979
|
+
if (classInfo) className=classInfo.ClassName;
|
|
94833
94980
|
}
|
|
94834
94981
|
|
|
94835
|
-
|
|
94982
|
+
if (!className) return null;
|
|
94983
|
+
|
|
94984
|
+
for(var i=0; i<this.ChartInfo.length; ++i)
|
|
94836
94985
|
{
|
|
94837
94986
|
var item=this.ChartInfo[i];
|
|
94838
|
-
if (item.ClassName==
|
|
94839
|
-
return;
|
|
94987
|
+
if (item.ClassName==className) //已经存在
|
|
94988
|
+
return item;
|
|
94840
94989
|
}
|
|
94841
94990
|
|
|
94991
|
+
return null;
|
|
94992
|
+
}
|
|
94993
|
+
|
|
94994
|
+
//添加信息地雷
|
|
94995
|
+
this.AddKLineInfo=function(infoName,bUpdate)
|
|
94996
|
+
{
|
|
94997
|
+
var item=this.GetKLineInfo({ Name:infoName });
|
|
94998
|
+
if (item) return;
|
|
94999
|
+
|
|
94842
95000
|
var infoItem=JSKLineInfoMap.Get(infoName);
|
|
94843
|
-
if (!infoItem)
|
|
95001
|
+
if (!infoItem)
|
|
95002
|
+
{
|
|
95003
|
+
console.warn(`[KLineChartContainer::AddKLineInfo] can't find infoName=${infoName}`);
|
|
95004
|
+
return;
|
|
95005
|
+
}
|
|
94844
95006
|
|
|
94845
95007
|
var item=infoItem.Create();
|
|
94846
95008
|
item.MaxRequestDataCount=this.MaxRequestDataCount;
|
|
@@ -94852,39 +95014,28 @@ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
|
|
|
94852
95014
|
}
|
|
94853
95015
|
}
|
|
94854
95016
|
|
|
94855
|
-
|
|
95017
|
+
//更新信息地雷列表 Option :{ InsertNew:, 如果没有找到对应的地雷,是否插入新的地雷, Update:是否立即请求数据 }
|
|
94856
95018
|
this.UpdateKLineInfo=function(infoName, option)
|
|
94857
95019
|
{
|
|
94858
|
-
var classInfo=JSKLineInfoMap.GetClassInfo(infoName);
|
|
94859
|
-
if (!classInfo)
|
|
94860
|
-
{
|
|
94861
|
-
console.warn("[KLineChartContainer::UpdateKLineInfo] can't find infoname=", infoName);
|
|
94862
|
-
return;
|
|
94863
|
-
}
|
|
94864
|
-
|
|
94865
95020
|
var bInsertNew=false, bUpdate=false;
|
|
94866
95021
|
if (option)
|
|
94867
95022
|
{
|
|
94868
95023
|
if (IFrameSplitOperator.IsBoolean(option.InsertNew)) bInsertNew=option.InsertNew;
|
|
94869
95024
|
if (IFrameSplitOperator.IsBoolean(option.Update)) bUpdate=option.Update;
|
|
94870
95025
|
}
|
|
94871
|
-
var finder=null;
|
|
94872
|
-
for(var i=0;i<this.ChartInfo.length; ++i)
|
|
94873
|
-
{
|
|
94874
|
-
var item=this.ChartInfo[i];
|
|
94875
|
-
if (item.ClassName==classInfo.ClassName)
|
|
94876
|
-
{
|
|
94877
|
-
finder=item;
|
|
94878
|
-
break;
|
|
94879
|
-
}
|
|
94880
|
-
}
|
|
94881
95026
|
|
|
95027
|
+
var finder=this.GetKLineInfo({ Name:infoName });
|
|
95028
|
+
|
|
94882
95029
|
if (!finder)
|
|
94883
95030
|
{
|
|
94884
95031
|
if (bInsertNew===true)
|
|
94885
95032
|
{
|
|
94886
95033
|
var infoItem=JSKLineInfoMap.Get(infoName);
|
|
94887
|
-
if (!infoItem)
|
|
95034
|
+
if (!infoItem)
|
|
95035
|
+
{
|
|
95036
|
+
console.warn(`[KLineChartContainer::UpdateKLineInfo] can't find infoname=${infoName}`);
|
|
95037
|
+
return;
|
|
95038
|
+
}
|
|
94888
95039
|
|
|
94889
95040
|
var item=infoItem.Create();
|
|
94890
95041
|
item.MaxRequestDataCount=this.MaxRequestDataCount;
|
|
@@ -105231,7 +105382,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
|
|
|
105231
105382
|
strDescription+="5. High:这一分钟内最高价\r\n";
|
|
105232
105383
|
strDescription+="6. Low:这一分钟内最低价\r\n";
|
|
105233
105384
|
strDescription+="7. Amount:这一分钟内总的成交金额\r\n";
|
|
105234
|
-
strDescription+="8. Vol
|
|
105385
|
+
strDescription+="8. Vol:这一分钟内总的成交量(股)\r\n";
|
|
105235
105386
|
strDescription+="9. AvPrice:均价\r\n";
|
|
105236
105387
|
strDescription+="10. YClose:昨收价\r\n";
|
|
105237
105388
|
strDescription+="11. YClearing:昨结算价\r\n";
|
|
@@ -109082,7 +109233,7 @@ JSKLineInfoMap.GetClassInfo=function(id)
|
|
|
109082
109233
|
return JSKLineInfoMap.Get(id);
|
|
109083
109234
|
}
|
|
109084
109235
|
|
|
109085
|
-
JSKLineInfoMap.GetIconUrl=function(type)
|
|
109236
|
+
JSKLineInfoMap.GetIconUrl=function(type, item)
|
|
109086
109237
|
{
|
|
109087
109238
|
switch(type)
|
|
109088
109239
|
{
|
|
@@ -109137,6 +109288,16 @@ JSKLineInfoMap.GetIconFont=function(type)
|
|
|
109137
109288
|
return value;
|
|
109138
109289
|
}
|
|
109139
109290
|
|
|
109291
|
+
if (type>=KLINE_INFO_TYPE.DRAGON_TIGER_EX_START && type<=KLINE_INFO_TYPE.DRAGON_TIGER_EX_END)
|
|
109292
|
+
{
|
|
109293
|
+
var index=type-KLINE_INFO_TYPE.DRAGON_TIGER_EX_START;
|
|
109294
|
+
var value=g_JSChartResource.KLine.Info.DragonTiger.IconFont;
|
|
109295
|
+
var aryData=g_JSChartResource.KLine.Info.DragonTiger.AryIconFont;
|
|
109296
|
+
if (IFrameSplitOperator.IsNonEmptyArray(aryData) && aryData[index]) value=aryData[index];
|
|
109297
|
+
|
|
109298
|
+
return value;
|
|
109299
|
+
}
|
|
109300
|
+
|
|
109140
109301
|
switch(type)
|
|
109141
109302
|
{
|
|
109142
109303
|
case KLINE_INFO_TYPE.INVESTOR:
|
|
@@ -109582,7 +109743,15 @@ function DragonTigerInfo()
|
|
|
109582
109743
|
var infoData=new KLineInfoData();
|
|
109583
109744
|
infoData.Date= item.date;
|
|
109584
109745
|
infoData.Title=item.title;
|
|
109585
|
-
|
|
109746
|
+
var infoType=KLINE_INFO_TYPE.DRAGON_TIGER;
|
|
109747
|
+
if (IFrameSplitOperator.IsNumber(item.infoType))
|
|
109748
|
+
{
|
|
109749
|
+
infoType=KLINE_INFO_TYPE.DRAGON_TIGER_EX_START+item.infoType;
|
|
109750
|
+
if (infoType>KLINE_INFO_TYPE.DRAGON_TIGER_EX_END) infoType=KLINE_INFO_TYPE.DRAGON_TIGER_EX_END;
|
|
109751
|
+
}
|
|
109752
|
+
infoData.InfoType=infoType;
|
|
109753
|
+
if (item.color) infoData.Color=item.color; //图标颜色
|
|
109754
|
+
|
|
109586
109755
|
infoData.ExtendData=
|
|
109587
109756
|
{
|
|
109588
109757
|
BuyAmount:item.buyAmount, //机构买入总额
|
|
@@ -114661,6 +114830,8 @@ function JSDivFrameToolbar()
|
|
|
114661
114830
|
|
|
114662
114831
|
this.Destroy=function()
|
|
114663
114832
|
{
|
|
114833
|
+
this.HideTooltip();
|
|
114834
|
+
|
|
114664
114835
|
if (this.DivToolbar)
|
|
114665
114836
|
{
|
|
114666
114837
|
if (this.DivHQChart.removeChild) this.DivHQChart.removeChild(this.DivToolbar);
|
|
@@ -142969,7 +143140,13 @@ function GetBlackStyle()
|
|
|
142969
143140
|
},
|
|
142970
143141
|
DragonTiger: //龙虎榜
|
|
142971
143142
|
{
|
|
142972
|
-
IconFont: { Family:'iconfont', Text:'\ue62f', HScreenText:'\ue68a' ,Color:'#b22626' } //SVG 文本
|
|
143143
|
+
IconFont: { Family:'iconfont', Text:'\ue62f', HScreenText:'\ue68a' ,Color:'#b22626' }, //SVG 文本
|
|
143144
|
+
|
|
143145
|
+
AryIconFont:
|
|
143146
|
+
[
|
|
143147
|
+
{ Family:'iconfont', Text:'\ue6c3', HScreenText:'\ue6c3' ,Color:'rgb(255,165,0)'},
|
|
143148
|
+
{ Family:'iconfont', Text:'\ue6c5', HScreenText:'\ue6c5' ,Color:'rgb(0,191,255)'},
|
|
143149
|
+
]
|
|
142973
143150
|
},
|
|
142974
143151
|
News: //新闻
|
|
142975
143152
|
{
|
|
@@ -143884,7 +144061,17 @@ function GetBlackStyle()
|
|
|
143884
144061
|
{
|
|
143885
144062
|
Color:"rgb(220,220,220)",
|
|
143886
144063
|
}
|
|
143887
|
-
}
|
|
144064
|
+
},
|
|
144065
|
+
|
|
144066
|
+
OrderList:
|
|
144067
|
+
{
|
|
144068
|
+
BorderColor:'rgba(192,192,192,0.45)', //边框线
|
|
144069
|
+
|
|
144070
|
+
Header:
|
|
144071
|
+
{
|
|
144072
|
+
Color:"RGB(120,120,120)",
|
|
144073
|
+
},
|
|
144074
|
+
},
|
|
143888
144075
|
|
|
143889
144076
|
};
|
|
143890
144077
|
|
|
@@ -160694,7 +160881,7 @@ function ScrollBarBGChart()
|
|
|
160694
160881
|
|
|
160695
160882
|
|
|
160696
160883
|
|
|
160697
|
-
var HQCHART_VERSION="1.1.
|
|
160884
|
+
var HQCHART_VERSION="1.1.15820";
|
|
160698
160885
|
|
|
160699
160886
|
function PrintHQChartVersion()
|
|
160700
160887
|
{
|
|
@@ -57282,6 +57282,8 @@ HQData.DragonTiger_RequestData=function(data,callback)
|
|
|
57282
57282
|
netBuyAmount:kItem.Amount*0.05, //机构买入净额
|
|
57283
57283
|
netBuyRatio:4.2, //净买额占总成交比
|
|
57284
57284
|
amount:kItem.Amount, //市场总成交额
|
|
57285
|
+
//color:"rgb(100,100,0)",
|
|
57286
|
+
//infoType:1,
|
|
57285
57287
|
|
|
57286
57288
|
aryText:
|
|
57287
57289
|
[
|