hqchart 1.1.14026 → 1.1.14033
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 +28 -17
- package/package.json +1 -1
- package/src/jscommon/umychart.DialogSelectRect.js +1 -0
- package/src/jscommon/umychart.PopKeyboard.js +56 -0
- package/src/jscommon/umychart.TReport.js +72 -15
- package/src/jscommon/umychart.js +92 -0
- package/src/jscommon/umychart.style.js +40 -0
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +133 -1
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +262 -16
|
@@ -892,16 +892,16 @@ function JSTReportChartContainer(uielement)
|
|
|
892
892
|
|
|
893
893
|
|
|
894
894
|
//10个字符型 201-299
|
|
895
|
-
if (IFrameSplitOperator.IsString(item[201])) stock.ReserveString1=item[201];
|
|
896
|
-
if (IFrameSplitOperator.IsString(item[202])) stock.ReserveString2=item[202];
|
|
897
|
-
if (IFrameSplitOperator.IsString(item[203])) stock.ReserveString3=item[203];
|
|
898
|
-
if (IFrameSplitOperator.IsString(item[204])) stock.ReserveString4=item[204];
|
|
899
|
-
if (IFrameSplitOperator.IsString(item[205])) stock.ReserveString5=item[205];
|
|
900
|
-
if (IFrameSplitOperator.IsString(item[206])) stock.ReserveString6=item[206];
|
|
901
|
-
if (IFrameSplitOperator.IsString(item[207])) stock.ReserveString7=item[207];
|
|
902
|
-
if (IFrameSplitOperator.IsString(item[208])) stock.ReserveString8=item[208];
|
|
903
|
-
if (IFrameSplitOperator.IsString(item[209])) stock.ReserveString9=item[209];
|
|
904
|
-
if (IFrameSplitOperator.IsString(item[210])) stock.ReserveString10=item[210];
|
|
895
|
+
if (IFrameSplitOperator.IsString(item[201]) || IFrameSplitOperator.IsObject(item[201])) stock.ReserveString1=item[201];
|
|
896
|
+
if (IFrameSplitOperator.IsString(item[202]) || IFrameSplitOperator.IsObject(item[202])) stock.ReserveString2=item[202];
|
|
897
|
+
if (IFrameSplitOperator.IsString(item[203]) || IFrameSplitOperator.IsObject(item[203])) stock.ReserveString3=item[203];
|
|
898
|
+
if (IFrameSplitOperator.IsString(item[204]) || IFrameSplitOperator.IsObject(item[204])) stock.ReserveString4=item[204];
|
|
899
|
+
if (IFrameSplitOperator.IsString(item[205]) || IFrameSplitOperator.IsObject(item[205])) stock.ReserveString5=item[205];
|
|
900
|
+
if (IFrameSplitOperator.IsString(item[206]) || IFrameSplitOperator.IsObject(item[206])) stock.ReserveString6=item[206];
|
|
901
|
+
if (IFrameSplitOperator.IsString(item[207]) || IFrameSplitOperator.IsObject(item[207])) stock.ReserveString7=item[207];
|
|
902
|
+
if (IFrameSplitOperator.IsString(item[208]) || IFrameSplitOperator.IsObject(item[208])) stock.ReserveString8=item[208];
|
|
903
|
+
if (IFrameSplitOperator.IsString(item[209]) || IFrameSplitOperator.IsObject(item[209])) stock.ReserveString9=item[209];
|
|
904
|
+
if (IFrameSplitOperator.IsString(item[210]) || IFrameSplitOperator.IsObject(item[210])) stock.ReserveString10=item[210];
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
|
|
@@ -1268,6 +1268,43 @@ function JSTReportChartContainer(uielement)
|
|
|
1268
1268
|
else e.returnValue = false;
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
|
+
this.MoveSelectedRowEvent=function(oldData, nowData)
|
|
1272
|
+
{
|
|
1273
|
+
var chart=this.ChartPaint[0];
|
|
1274
|
+
if (!chart) return null;
|
|
1275
|
+
|
|
1276
|
+
var event=this.GetEventCallback(JSCHART_EVENT_ID.ON_MOVE_SELECTED_TREPORT_ROW);
|
|
1277
|
+
if (!event || !event.Callback) return;
|
|
1278
|
+
|
|
1279
|
+
if (oldData && nowData)
|
|
1280
|
+
{
|
|
1281
|
+
if (oldData.ExePrice==nowData.ExePrice && oldData.CellType==nowData.CellType) return;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
if (oldData)
|
|
1285
|
+
{
|
|
1286
|
+
if (chart.GetExePriceDataCallback) oldData.TData=chart.GetExePriceDataCallback(oldData.ExePrice);
|
|
1287
|
+
if (oldData.TData)
|
|
1288
|
+
{
|
|
1289
|
+
if (oldData.CellType==1) oldData.Item=oldData.TData.LeftData;
|
|
1290
|
+
else if (oldData.CellType==2) oldData.Item=oldData.TData.RightData;
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
if (nowData)
|
|
1295
|
+
{
|
|
1296
|
+
if (chart.GetExePriceDataCallback) nowData.TData=chart.GetExePriceDataCallback(nowData.ExePrice);
|
|
1297
|
+
if (nowData.TData)
|
|
1298
|
+
{
|
|
1299
|
+
if (nowData.CellType==1) nowData.Item=nowData.TData.LeftData;
|
|
1300
|
+
else if (nowData.CellType==2) nowData.Item=nowData.TData.RightData;
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
var endData={ Old:oldData, Now:nowData, Symbol:this.Symbol };
|
|
1305
|
+
event.Callback(event, endData, this);
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1271
1308
|
//是否循环翻页 { EnablePageCycle: true/false }
|
|
1272
1309
|
this.MoveSelectedRow=function(step, option)
|
|
1273
1310
|
{
|
|
@@ -1299,13 +1336,19 @@ function JSTReportChartContainer(uielement)
|
|
|
1299
1336
|
}
|
|
1300
1337
|
}
|
|
1301
1338
|
}
|
|
1302
|
-
|
|
1339
|
+
|
|
1340
|
+
var oldData=null, nowData=null;
|
|
1341
|
+
if (chart.SelectedRow) oldData=CloneData(chart.SelectedRow); //上一个数据保存下
|
|
1342
|
+
|
|
1303
1343
|
if (step>0)
|
|
1304
1344
|
{
|
|
1305
1345
|
if (selectedIndex<0 || selectedIndex<pageStatus.Start || selectedIndex>pageStatus.End)
|
|
1306
1346
|
{
|
|
1307
1347
|
chart.SelectedRow={ ExePrice:this.Data.Data[pageStatus.Start], CellType:cellType };
|
|
1308
1348
|
result.Redraw=true;
|
|
1349
|
+
|
|
1350
|
+
nowData=CloneData(chart.SelectedRow);
|
|
1351
|
+
this.MoveSelectedRowEvent(oldData,nowData);
|
|
1309
1352
|
return result;
|
|
1310
1353
|
}
|
|
1311
1354
|
|
|
@@ -1331,6 +1374,8 @@ function JSTReportChartContainer(uielement)
|
|
|
1331
1374
|
chart.SelectedRow={ ExePrice:this.Data.Data[selectedIndex], CellType:cellType };
|
|
1332
1375
|
this.Data.YOffset=offset;
|
|
1333
1376
|
|
|
1377
|
+
nowData=CloneData(chart.SelectedRow);
|
|
1378
|
+
this.MoveSelectedRowEvent(oldData,nowData);
|
|
1334
1379
|
return result;
|
|
1335
1380
|
}
|
|
1336
1381
|
else if (step<0)
|
|
@@ -1339,6 +1384,9 @@ function JSTReportChartContainer(uielement)
|
|
|
1339
1384
|
{
|
|
1340
1385
|
chart.SelectedRow={ ExePrice:this.Data.Data[pageStatus.End], CellType:cellType };
|
|
1341
1386
|
result.Redraw=true;
|
|
1387
|
+
|
|
1388
|
+
nowData=CloneData(chart.SelectedRow);
|
|
1389
|
+
this.MoveSelectedRowEvent(oldData,nowData);
|
|
1342
1390
|
return result;
|
|
1343
1391
|
}
|
|
1344
1392
|
|
|
@@ -1366,6 +1414,8 @@ function JSTReportChartContainer(uielement)
|
|
|
1366
1414
|
chart.SelectedRow={ ExePrice:this.Data.Data[selectedIndex], CellType:cellType };
|
|
1367
1415
|
this.Data.YOffset=offset;
|
|
1368
1416
|
|
|
1417
|
+
nowData=CloneData(chart.SelectedRow);
|
|
1418
|
+
this.MoveSelectedRowEvent(oldData,nowData);
|
|
1369
1419
|
return result;
|
|
1370
1420
|
}
|
|
1371
1421
|
|
|
@@ -2419,10 +2469,17 @@ function ChartTReport()
|
|
|
2419
2469
|
var fieldName=MAP_TREPORT_COLUMN_FIELD.get(column.Type);
|
|
2420
2470
|
if (!fieldName) return;
|
|
2421
2471
|
|
|
2422
|
-
var
|
|
2423
|
-
if (
|
|
2424
|
-
|
|
2425
|
-
|
|
2472
|
+
var item=data[fieldName];
|
|
2473
|
+
if (IFrameSplitOperator.IsObject(item))
|
|
2474
|
+
{
|
|
2475
|
+
if (item.Text) drawInfo.Text=item.Text;
|
|
2476
|
+
if (item.TextColor) drawInfo.TextColor=item.TextColor;
|
|
2477
|
+
if (item.BGColor) drawInfo.BGColor=item.BGColor;
|
|
2478
|
+
}
|
|
2479
|
+
else if (IFrameSplitOperator.IsString(item))
|
|
2480
|
+
{
|
|
2481
|
+
drawInfo.Text=item;
|
|
2482
|
+
}
|
|
2426
2483
|
}
|
|
2427
2484
|
|
|
2428
2485
|
this.GetFlashBGData=function(drawInfo, exePriceData, columnType, cellType)
|
package/src/jscommon/umychart.js
CHANGED
|
@@ -2615,6 +2615,7 @@ var JSCHART_EVENT_ID=
|
|
|
2615
2615
|
ON_RCLICK_TREPORT_HEADER:125, //右键点击T型报价表头
|
|
2616
2616
|
ON_TREPORT_LOCAL_SORT:126, //T型报价列表本地排序
|
|
2617
2617
|
ON_CLICK_TREPORT_ROW:127, //左键点击点击T型报价列表
|
|
2618
|
+
ON_MOVE_SELECTED_TREPORT_ROW:128, //选中行变动
|
|
2618
2619
|
|
|
2619
2620
|
ON_DRAW_REPORT_ROW_BG:140, //报价列表整行背景
|
|
2620
2621
|
ON_CLICK_REPORT_CHECKBOX:141, //报价列表checkbox
|
|
@@ -48326,6 +48327,11 @@ IFrameSplitOperator.IsUndefined=function(value)
|
|
|
48326
48327
|
return value===undefined;
|
|
48327
48328
|
}
|
|
48328
48329
|
|
|
48330
|
+
IFrameSplitOperator.IsObject=function(value)
|
|
48331
|
+
{
|
|
48332
|
+
return value instanceof Object;
|
|
48333
|
+
}
|
|
48334
|
+
|
|
48329
48335
|
IFrameSplitOperator.RemoveZero=function(strValue)
|
|
48330
48336
|
{
|
|
48331
48337
|
while(strValue.length>0)
|
|
@@ -69300,6 +69306,12 @@ function JSChartResource()
|
|
|
69300
69306
|
BorderColor:'rgb(20,20,20)', //边框颜色
|
|
69301
69307
|
TitleColor:'rgb(0,0,0)', //对话框标题颜色
|
|
69302
69308
|
TitleBGColor:"rgb(200, 66, 69)", //标题背景颜色
|
|
69309
|
+
|
|
69310
|
+
Input:
|
|
69311
|
+
{
|
|
69312
|
+
BGColor:"rgb(250,250,250)",
|
|
69313
|
+
TextColor:"rgb(0,0,0)",
|
|
69314
|
+
}
|
|
69303
69315
|
};
|
|
69304
69316
|
|
|
69305
69317
|
//弹幕
|
|
@@ -70342,6 +70354,13 @@ function JSChartResource()
|
|
|
70342
70354
|
if (item.BorderColor) this.DialogPopKeyboard.BorderColor=item.BorderColor;
|
|
70343
70355
|
if (item.TitleColor) this.DialogPopKeyboard.TitleColor=item.TitleColor;
|
|
70344
70356
|
if (item.TitleBGColor) this.DialogTooltip.TitleBGColor=item.TitleBGColor;
|
|
70357
|
+
|
|
70358
|
+
if (item.Input)
|
|
70359
|
+
{
|
|
70360
|
+
var subItem=item.Input;
|
|
70361
|
+
if (subItem.BGColor) this.DialogPopKeyboard.Input.BGColor=subItem.BGColor;
|
|
70362
|
+
if (subItem.TextColor) this.DialogPopKeyboard.Input.TextColor=subItem.TextColor;
|
|
70363
|
+
}
|
|
70345
70364
|
}
|
|
70346
70365
|
|
|
70347
70366
|
if (style.MinuteInfo)
|
|
@@ -70796,6 +70815,79 @@ function JSChartResource()
|
|
|
70796
70815
|
|
|
70797
70816
|
if (style.FrameButtomToolbar)
|
|
70798
70817
|
this.SetFrameButtomToolbar(style.FrameButtomToolbar);
|
|
70818
|
+
|
|
70819
|
+
|
|
70820
|
+
if (style.Keyboard) this.SetKeyboardStyle(style.Keyboard);
|
|
70821
|
+
}
|
|
70822
|
+
|
|
70823
|
+
|
|
70824
|
+
this.SetKeyboardStyle=function(style)
|
|
70825
|
+
{
|
|
70826
|
+
var item=style;
|
|
70827
|
+
var dest=this.Keyboard;
|
|
70828
|
+
|
|
70829
|
+
if (item.BorderColor) dest.BorderColor=item.BorderColor;
|
|
70830
|
+
if (item.SelectedColor) dest.SelectedColor=item.SelectedColor;
|
|
70831
|
+
if (item.TextColor) dest.TextColor=item.TextColor;
|
|
70832
|
+
|
|
70833
|
+
if (item.Item)
|
|
70834
|
+
{
|
|
70835
|
+
var row=item.Item;
|
|
70836
|
+
if (row.Mergin)
|
|
70837
|
+
{
|
|
70838
|
+
var mergin=row.Mergin;
|
|
70839
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Item.Mergin.Left=mergin.Left;
|
|
70840
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Item.Mergin.Right=mergin.Right;
|
|
70841
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Item.Mergin.Top=mergin.Top;
|
|
70842
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Item.Mergin.Bottom=mergin.Bottom;
|
|
70843
|
+
}
|
|
70844
|
+
|
|
70845
|
+
if (row.Font)
|
|
70846
|
+
{
|
|
70847
|
+
var font=row.Font;
|
|
70848
|
+
if (font.Name) dest.Item.Font.Name=font.Name;
|
|
70849
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.Font.Size=font.Size;
|
|
70850
|
+
}
|
|
70851
|
+
|
|
70852
|
+
if (row.BarMergin)
|
|
70853
|
+
{
|
|
70854
|
+
var mergin=row.BarMergin;
|
|
70855
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Item.BarMergin.Left=mergin.Left;
|
|
70856
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Item.BarMergin.Top=mergin.Top;
|
|
70857
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Item.BarMergin.Right=mergin.Right;
|
|
70858
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Item.BarMergin.Bottom=mergin.Bottom;
|
|
70859
|
+
}
|
|
70860
|
+
|
|
70861
|
+
if (row.NameFont)
|
|
70862
|
+
{
|
|
70863
|
+
var font=row.NameFont;
|
|
70864
|
+
if (font.Name) dest.Item.NameFont.Name=font.Name;
|
|
70865
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.NameFont.Size=font.Size;
|
|
70866
|
+
}
|
|
70867
|
+
|
|
70868
|
+
if (row.SymbolFont)
|
|
70869
|
+
{
|
|
70870
|
+
var font=row.SymbolFont;
|
|
70871
|
+
if (font.Name) dest.Item.SymbolFont.Name=font.Name;
|
|
70872
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.SymbolFont.Size=font.Size;
|
|
70873
|
+
}
|
|
70874
|
+
|
|
70875
|
+
}
|
|
70876
|
+
|
|
70877
|
+
if (item.VScrollbar)
|
|
70878
|
+
{
|
|
70879
|
+
var scroll=item.VScrollbar;
|
|
70880
|
+
if (IFrameSplitOperator.IsNumber(scroll.ScrollBarHeight)) dest.VScrollbar.ScrollBarHeight=scroll.ScrollBarHeight;
|
|
70881
|
+
if (scroll.ButtonColor) dest.VScrollbar.ButtonColor=scroll.ButtonColor;
|
|
70882
|
+
if (scroll.BarColor) dest.VScrollbar.BarColor=scroll.BarColor;
|
|
70883
|
+
if (scroll.BorderColor) dest.VScrollbar.BorderColor=scroll.BorderColor;
|
|
70884
|
+
if (scroll.BGColor) dest.VScrollbar.BGColor=scroll.BGColor;
|
|
70885
|
+
if (scroll.BarWidth)
|
|
70886
|
+
{
|
|
70887
|
+
var subItem=scroll.BarWidth;
|
|
70888
|
+
if (IFrameSplitOperator.IsNumber(subItem.Size)) dest.VScrollbar.BarWidth.Size=subItem.Size;
|
|
70889
|
+
}
|
|
70890
|
+
}
|
|
70799
70891
|
}
|
|
70800
70892
|
|
|
70801
70893
|
this.SetReportStyle=function(style)
|
|
@@ -423,6 +423,19 @@ function GetBlackStyle()
|
|
|
423
423
|
TurnoverRateColor:'rgb(43,54,69)', //换手率
|
|
424
424
|
PositionColor:"rgb(255,0,255)" //持仓
|
|
425
425
|
},
|
|
426
|
+
|
|
427
|
+
DialogPopKeyboard:
|
|
428
|
+
{
|
|
429
|
+
BGColor:'rgb(20,20,20)', //背景色
|
|
430
|
+
BorderColor:'rgb(170,170,170)', //边框颜色
|
|
431
|
+
TitleColor:'rgb(240,240,240)', //标题颜色
|
|
432
|
+
|
|
433
|
+
Input:
|
|
434
|
+
{
|
|
435
|
+
BGColor:"rgb(20,20,20)",
|
|
436
|
+
TextColor:"rgb(250,250,250)",
|
|
437
|
+
}
|
|
438
|
+
},
|
|
426
439
|
|
|
427
440
|
//走势图 信息地雷
|
|
428
441
|
MinuteInfo:
|
|
@@ -758,6 +771,33 @@ function GetBlackStyle()
|
|
|
758
771
|
},
|
|
759
772
|
},
|
|
760
773
|
|
|
774
|
+
//键盘精灵
|
|
775
|
+
Keyboard:
|
|
776
|
+
{
|
|
777
|
+
BorderColor:'rgb(38,38,41)', //边框线
|
|
778
|
+
SelectedColor:"rgb(49,48,56)", //选中行
|
|
779
|
+
TextColor:"rgb(245,245,245)",
|
|
780
|
+
|
|
781
|
+
Item:
|
|
782
|
+
{
|
|
783
|
+
Mergin:{ Top:2, Bottom:0,Left:1, Right:1 }, //单元格四周间距
|
|
784
|
+
Font:{ Size:15, Name:"微软雅黑"},
|
|
785
|
+
BarMergin:{ Top:2, Left:0, Right:0, Bottom:2 },//单元格字体
|
|
786
|
+
NameFont:{ Size:14, Name:"微软雅黑" },
|
|
787
|
+
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
788
|
+
},
|
|
789
|
+
|
|
790
|
+
VScrollbar:
|
|
791
|
+
{
|
|
792
|
+
ScrollBarHeight:50,
|
|
793
|
+
ButtonColor:"rgba(13,12,15,0.8)",
|
|
794
|
+
BarColor:"rgba(48,48,48,0.9)",
|
|
795
|
+
BorderColor:'rgba(48,48,48,0.9)',
|
|
796
|
+
BGColor:"rgba(211,211,211,0.5)",
|
|
797
|
+
BarWidth:{ Size:8 }
|
|
798
|
+
},
|
|
799
|
+
},
|
|
800
|
+
|
|
761
801
|
ScrollBar:
|
|
762
802
|
{
|
|
763
803
|
BorderColor:'rgb(38,38,41)', //边框线
|
|
@@ -6540,6 +6540,7 @@ var JSCHART_EVENT_ID=
|
|
|
6540
6540
|
ON_RCLICK_TREPORT_HEADER:125, //右键点击T型报价表头
|
|
6541
6541
|
ON_TREPORT_LOCAL_SORT:126, //T型报价列表本地排序
|
|
6542
6542
|
ON_CLICK_TREPORT_ROW:127, //左键点击点击T型报价列表
|
|
6543
|
+
ON_MOVE_SELECTED_TREPORT_ROW:128, //选中行变动
|
|
6543
6544
|
|
|
6544
6545
|
ON_DRAW_REPORT_ROW_BG:140, //报价列表整行背景
|
|
6545
6546
|
ON_CLICK_REPORT_CHECKBOX:141, //报价列表checkbox
|
|
@@ -52251,6 +52252,11 @@ IFrameSplitOperator.IsUndefined=function(value)
|
|
|
52251
52252
|
return value===undefined;
|
|
52252
52253
|
}
|
|
52253
52254
|
|
|
52255
|
+
IFrameSplitOperator.IsObject=function(value)
|
|
52256
|
+
{
|
|
52257
|
+
return value instanceof Object;
|
|
52258
|
+
}
|
|
52259
|
+
|
|
52254
52260
|
IFrameSplitOperator.RemoveZero=function(strValue)
|
|
52255
52261
|
{
|
|
52256
52262
|
while(strValue.length>0)
|
|
@@ -73225,6 +73231,12 @@ function JSChartResource()
|
|
|
73225
73231
|
BorderColor:'rgb(20,20,20)', //边框颜色
|
|
73226
73232
|
TitleColor:'rgb(0,0,0)', //对话框标题颜色
|
|
73227
73233
|
TitleBGColor:"rgb(200, 66, 69)", //标题背景颜色
|
|
73234
|
+
|
|
73235
|
+
Input:
|
|
73236
|
+
{
|
|
73237
|
+
BGColor:"rgb(250,250,250)",
|
|
73238
|
+
TextColor:"rgb(0,0,0)",
|
|
73239
|
+
}
|
|
73228
73240
|
};
|
|
73229
73241
|
|
|
73230
73242
|
//弹幕
|
|
@@ -74267,6 +74279,13 @@ function JSChartResource()
|
|
|
74267
74279
|
if (item.BorderColor) this.DialogPopKeyboard.BorderColor=item.BorderColor;
|
|
74268
74280
|
if (item.TitleColor) this.DialogPopKeyboard.TitleColor=item.TitleColor;
|
|
74269
74281
|
if (item.TitleBGColor) this.DialogTooltip.TitleBGColor=item.TitleBGColor;
|
|
74282
|
+
|
|
74283
|
+
if (item.Input)
|
|
74284
|
+
{
|
|
74285
|
+
var subItem=item.Input;
|
|
74286
|
+
if (subItem.BGColor) this.DialogPopKeyboard.Input.BGColor=subItem.BGColor;
|
|
74287
|
+
if (subItem.TextColor) this.DialogPopKeyboard.Input.TextColor=subItem.TextColor;
|
|
74288
|
+
}
|
|
74270
74289
|
}
|
|
74271
74290
|
|
|
74272
74291
|
if (style.MinuteInfo)
|
|
@@ -74721,6 +74740,79 @@ function JSChartResource()
|
|
|
74721
74740
|
|
|
74722
74741
|
if (style.FrameButtomToolbar)
|
|
74723
74742
|
this.SetFrameButtomToolbar(style.FrameButtomToolbar);
|
|
74743
|
+
|
|
74744
|
+
|
|
74745
|
+
if (style.Keyboard) this.SetKeyboardStyle(style.Keyboard);
|
|
74746
|
+
}
|
|
74747
|
+
|
|
74748
|
+
|
|
74749
|
+
this.SetKeyboardStyle=function(style)
|
|
74750
|
+
{
|
|
74751
|
+
var item=style;
|
|
74752
|
+
var dest=this.Keyboard;
|
|
74753
|
+
|
|
74754
|
+
if (item.BorderColor) dest.BorderColor=item.BorderColor;
|
|
74755
|
+
if (item.SelectedColor) dest.SelectedColor=item.SelectedColor;
|
|
74756
|
+
if (item.TextColor) dest.TextColor=item.TextColor;
|
|
74757
|
+
|
|
74758
|
+
if (item.Item)
|
|
74759
|
+
{
|
|
74760
|
+
var row=item.Item;
|
|
74761
|
+
if (row.Mergin)
|
|
74762
|
+
{
|
|
74763
|
+
var mergin=row.Mergin;
|
|
74764
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Item.Mergin.Left=mergin.Left;
|
|
74765
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Item.Mergin.Right=mergin.Right;
|
|
74766
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Item.Mergin.Top=mergin.Top;
|
|
74767
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Item.Mergin.Bottom=mergin.Bottom;
|
|
74768
|
+
}
|
|
74769
|
+
|
|
74770
|
+
if (row.Font)
|
|
74771
|
+
{
|
|
74772
|
+
var font=row.Font;
|
|
74773
|
+
if (font.Name) dest.Item.Font.Name=font.Name;
|
|
74774
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.Font.Size=font.Size;
|
|
74775
|
+
}
|
|
74776
|
+
|
|
74777
|
+
if (row.BarMergin)
|
|
74778
|
+
{
|
|
74779
|
+
var mergin=row.BarMergin;
|
|
74780
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Item.BarMergin.Left=mergin.Left;
|
|
74781
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Item.BarMergin.Top=mergin.Top;
|
|
74782
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Item.BarMergin.Right=mergin.Right;
|
|
74783
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Item.BarMergin.Bottom=mergin.Bottom;
|
|
74784
|
+
}
|
|
74785
|
+
|
|
74786
|
+
if (row.NameFont)
|
|
74787
|
+
{
|
|
74788
|
+
var font=row.NameFont;
|
|
74789
|
+
if (font.Name) dest.Item.NameFont.Name=font.Name;
|
|
74790
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.NameFont.Size=font.Size;
|
|
74791
|
+
}
|
|
74792
|
+
|
|
74793
|
+
if (row.SymbolFont)
|
|
74794
|
+
{
|
|
74795
|
+
var font=row.SymbolFont;
|
|
74796
|
+
if (font.Name) dest.Item.SymbolFont.Name=font.Name;
|
|
74797
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.SymbolFont.Size=font.Size;
|
|
74798
|
+
}
|
|
74799
|
+
|
|
74800
|
+
}
|
|
74801
|
+
|
|
74802
|
+
if (item.VScrollbar)
|
|
74803
|
+
{
|
|
74804
|
+
var scroll=item.VScrollbar;
|
|
74805
|
+
if (IFrameSplitOperator.IsNumber(scroll.ScrollBarHeight)) dest.VScrollbar.ScrollBarHeight=scroll.ScrollBarHeight;
|
|
74806
|
+
if (scroll.ButtonColor) dest.VScrollbar.ButtonColor=scroll.ButtonColor;
|
|
74807
|
+
if (scroll.BarColor) dest.VScrollbar.BarColor=scroll.BarColor;
|
|
74808
|
+
if (scroll.BorderColor) dest.VScrollbar.BorderColor=scroll.BorderColor;
|
|
74809
|
+
if (scroll.BGColor) dest.VScrollbar.BGColor=scroll.BGColor;
|
|
74810
|
+
if (scroll.BarWidth)
|
|
74811
|
+
{
|
|
74812
|
+
var subItem=scroll.BarWidth;
|
|
74813
|
+
if (IFrameSplitOperator.IsNumber(subItem.Size)) dest.VScrollbar.BarWidth.Size=subItem.Size;
|
|
74814
|
+
}
|
|
74815
|
+
}
|
|
74724
74816
|
}
|
|
74725
74817
|
|
|
74726
74818
|
this.SetReportStyle=function(style)
|
|
@@ -125187,6 +125279,19 @@ function GetBlackStyle()
|
|
|
125187
125279
|
TurnoverRateColor:'rgb(43,54,69)', //换手率
|
|
125188
125280
|
PositionColor:"rgb(255,0,255)" //持仓
|
|
125189
125281
|
},
|
|
125282
|
+
|
|
125283
|
+
DialogPopKeyboard:
|
|
125284
|
+
{
|
|
125285
|
+
BGColor:'rgb(20,20,20)', //背景色
|
|
125286
|
+
BorderColor:'rgb(170,170,170)', //边框颜色
|
|
125287
|
+
TitleColor:'rgb(240,240,240)', //标题颜色
|
|
125288
|
+
|
|
125289
|
+
Input:
|
|
125290
|
+
{
|
|
125291
|
+
BGColor:"rgb(20,20,20)",
|
|
125292
|
+
TextColor:"rgb(250,250,250)",
|
|
125293
|
+
}
|
|
125294
|
+
},
|
|
125190
125295
|
|
|
125191
125296
|
//走势图 信息地雷
|
|
125192
125297
|
MinuteInfo:
|
|
@@ -125522,6 +125627,33 @@ function GetBlackStyle()
|
|
|
125522
125627
|
},
|
|
125523
125628
|
},
|
|
125524
125629
|
|
|
125630
|
+
//键盘精灵
|
|
125631
|
+
Keyboard:
|
|
125632
|
+
{
|
|
125633
|
+
BorderColor:'rgb(38,38,41)', //边框线
|
|
125634
|
+
SelectedColor:"rgb(49,48,56)", //选中行
|
|
125635
|
+
TextColor:"rgb(245,245,245)",
|
|
125636
|
+
|
|
125637
|
+
Item:
|
|
125638
|
+
{
|
|
125639
|
+
Mergin:{ Top:2, Bottom:0,Left:1, Right:1 }, //单元格四周间距
|
|
125640
|
+
Font:{ Size:15, Name:"微软雅黑"},
|
|
125641
|
+
BarMergin:{ Top:2, Left:0, Right:0, Bottom:2 },//单元格字体
|
|
125642
|
+
NameFont:{ Size:14, Name:"微软雅黑" },
|
|
125643
|
+
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
125644
|
+
},
|
|
125645
|
+
|
|
125646
|
+
VScrollbar:
|
|
125647
|
+
{
|
|
125648
|
+
ScrollBarHeight:50,
|
|
125649
|
+
ButtonColor:"rgba(13,12,15,0.8)",
|
|
125650
|
+
BarColor:"rgba(48,48,48,0.9)",
|
|
125651
|
+
BorderColor:'rgba(48,48,48,0.9)',
|
|
125652
|
+
BGColor:"rgba(211,211,211,0.5)",
|
|
125653
|
+
BarWidth:{ Size:8 }
|
|
125654
|
+
},
|
|
125655
|
+
},
|
|
125656
|
+
|
|
125525
125657
|
ScrollBar:
|
|
125526
125658
|
{
|
|
125527
125659
|
BorderColor:'rgb(38,38,41)', //边框线
|
|
@@ -139041,7 +139173,7 @@ function ScrollBarBGChart()
|
|
|
139041
139173
|
|
|
139042
139174
|
|
|
139043
139175
|
|
|
139044
|
-
var HQCHART_VERSION="1.1.
|
|
139176
|
+
var HQCHART_VERSION="1.1.14032";
|
|
139045
139177
|
|
|
139046
139178
|
function PrintHQChartVersion()
|
|
139047
139179
|
{
|