hqchart 1.1.13079 → 1.1.13085
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 +325 -24
- package/package.json +1 -1
- package/src/jscommon/umychart.TReport.js +2267 -0
- package/src/jscommon/umychart.js +162 -0
- package/src/jscommon/umychart.report.js +1 -1
- package/src/jscommon/umychart.style.js +53 -0
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +217 -2
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +2652 -166
package/src/jscommon/umychart.js
CHANGED
|
@@ -2482,6 +2482,15 @@ var JSCHART_EVENT_ID=
|
|
|
2482
2482
|
ON_CREATE_CUSTOM_Y_COORDINATE:119, //自定义Y轴刻度
|
|
2483
2483
|
|
|
2484
2484
|
ON_BEFORE_DRAW_SPLASH_SCREEN:120,
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
//T型报价
|
|
2488
|
+
ON_TREPORT_MARKET_STATUS:121, //T型报价列表交易状态
|
|
2489
|
+
ON_DBCLICK_TREPORT_ROW:122, //双击T型报报价列表
|
|
2490
|
+
ON_RCLICK_TREPORT_ROW:123, //右键点击T型报价列表
|
|
2491
|
+
ON_CLICK_TREPORT_HEADER:124, //单击T型报价表头
|
|
2492
|
+
ON_RCLICK_TREPORT_HEADER:125, //右键点击T型报价表头
|
|
2493
|
+
ON_TREPORT_LOCAL_SORT:126, //T型报价列表本地排序
|
|
2485
2494
|
}
|
|
2486
2495
|
|
|
2487
2496
|
var JSCHART_OPERATOR_ID=
|
|
@@ -63977,6 +63986,59 @@ function JSChartResource()
|
|
|
63977
63986
|
}
|
|
63978
63987
|
},
|
|
63979
63988
|
|
|
63989
|
+
//报价列表
|
|
63990
|
+
this.TReport=
|
|
63991
|
+
{
|
|
63992
|
+
BorderColor:'rgb(192,192,192)', //边框线
|
|
63993
|
+
SelectedColor:"rgb(3,89,245)", //选中行
|
|
63994
|
+
Header:
|
|
63995
|
+
{
|
|
63996
|
+
Color:"rgb(60,60,60)", //表头文字颜色
|
|
63997
|
+
SortColor:"rgb(255,0,0)", //排序箭头颜色
|
|
63998
|
+
Mergin:{ Left:5, Right:5, Top:4, Bottom:2}, //表头四周间距
|
|
63999
|
+
Font:{ Size:14, Name:"微软雅黑" } //表头字体
|
|
64000
|
+
},
|
|
64001
|
+
|
|
64002
|
+
Item:
|
|
64003
|
+
{
|
|
64004
|
+
Mergin:{ Top:2, Bottom:0,Left:5, Right:5 }, //单元格四周间距
|
|
64005
|
+
Font:{ Size:15, Name:"微软雅黑"},
|
|
64006
|
+
BarMergin:{ Top:2, Left:3, Right:3, Bottom:2 },//单元格字体
|
|
64007
|
+
NameFont:{ Size:14, Name:"微软雅黑" },
|
|
64008
|
+
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
64009
|
+
},
|
|
64010
|
+
|
|
64011
|
+
CenterItem:
|
|
64012
|
+
{
|
|
64013
|
+
TextColor:"rgb(60,60,83)",
|
|
64014
|
+
BaseTextColor:"rgb(60,60,83)",
|
|
64015
|
+
BGColor:"rgb(180,180,180)"
|
|
64016
|
+
},
|
|
64017
|
+
|
|
64018
|
+
FieldColor:
|
|
64019
|
+
{
|
|
64020
|
+
Index:"rgb(60,60,60)", //序号
|
|
64021
|
+
Symbol:"rgb(60,60,60)",
|
|
64022
|
+
Name:"rgb(60,60,60)",
|
|
64023
|
+
Vol:"rgb(90,90,90)", //成交量
|
|
64024
|
+
Position:"rgb(90,90,90)", //持仓量
|
|
64025
|
+
Amount:"rgb(90,90,90)", //成交金额
|
|
64026
|
+
Text:"rgb(60,60,60)", //默认文本
|
|
64027
|
+
},
|
|
64028
|
+
|
|
64029
|
+
UpTextColor:"rgb(238,21,21)", //上涨文字颜色
|
|
64030
|
+
DownTextColor:"rgb(25,158,0)", //下跌文字颜色
|
|
64031
|
+
UnchangeTextColor:"rgb(90,90,90)", //平盘文字颜色
|
|
64032
|
+
|
|
64033
|
+
UpBGColor:"rgb(255,220,220)",
|
|
64034
|
+
DownBGColor:"rgb(190,220,190)",
|
|
64035
|
+
|
|
64036
|
+
MarkBorder:
|
|
64037
|
+
{
|
|
64038
|
+
MaxPositionColor:"rgb(192,192,192)"
|
|
64039
|
+
},
|
|
64040
|
+
},
|
|
64041
|
+
|
|
63980
64042
|
//键盘精灵
|
|
63981
64043
|
this.Keyboard=
|
|
63982
64044
|
{
|
|
@@ -64757,6 +64819,8 @@ function JSChartResource()
|
|
|
64757
64819
|
}
|
|
64758
64820
|
}
|
|
64759
64821
|
|
|
64822
|
+
if (style.TReport) this.SetTReportStyle(style.TReport);
|
|
64823
|
+
|
|
64760
64824
|
if (style.SelectedChart)
|
|
64761
64825
|
{
|
|
64762
64826
|
var item=style.SelectedChart;
|
|
@@ -64856,6 +64920,103 @@ function JSChartResource()
|
|
|
64856
64920
|
|
|
64857
64921
|
}
|
|
64858
64922
|
}
|
|
64923
|
+
|
|
64924
|
+
this.SetTReportStyle=function(style)
|
|
64925
|
+
{
|
|
64926
|
+
var item=style;
|
|
64927
|
+
var dest=this.TReport;
|
|
64928
|
+
|
|
64929
|
+
if (item.BorderColor) dest.BorderColor=item.BorderColor;
|
|
64930
|
+
if (item.UpTextColor) dest.UpTextColor=item.UpTextColor;
|
|
64931
|
+
if (item.DownTextColor) dest.DownTextColor=item.DownTextColor;
|
|
64932
|
+
if (item.UnchangeTextColor) dest.UnchangeTextColor=item.UnchangeTextColor;
|
|
64933
|
+
if (item.BorderColor) dest.SelectedColor=item.SelectedColor;
|
|
64934
|
+
|
|
64935
|
+
if (item.UpBGColor) dest.UpBGColor=item.UpBGColor;
|
|
64936
|
+
if (item.DownBGColor) dest.DownBGColor=item.DownBGColor;
|
|
64937
|
+
|
|
64938
|
+
if (item.Header)
|
|
64939
|
+
{
|
|
64940
|
+
var header=item.Header;
|
|
64941
|
+
if (header.Color) dest.Header.Color=header.Color;
|
|
64942
|
+
if (header.SortColor) dest.Header.SortColor=header.SortColor;
|
|
64943
|
+
if (header.Mergin)
|
|
64944
|
+
{
|
|
64945
|
+
var mergin=header.Mergin;
|
|
64946
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Header.Mergin.Left=mergin.Left;
|
|
64947
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Header.Mergin.Left=mergin.Right;
|
|
64948
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Header.Mergin.Top=mergin.Top;
|
|
64949
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Header.Mergin.Bottom=mergin.Bottom;
|
|
64950
|
+
}
|
|
64951
|
+
if (header.Font)
|
|
64952
|
+
{
|
|
64953
|
+
var font=header.Font;
|
|
64954
|
+
if (font.Name) dest.Header.Font.Name=font.Name;
|
|
64955
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Header.Font.Size=font.Size;
|
|
64956
|
+
}
|
|
64957
|
+
}
|
|
64958
|
+
|
|
64959
|
+
if (item.CenterItem)
|
|
64960
|
+
{
|
|
64961
|
+
var cell=item.CenterItem;
|
|
64962
|
+
if (cell.TextColor) dest.CenterItem.TextColor=cell.TextColor;
|
|
64963
|
+
if (cell.BaseTextColor) dest.CenterItem.BaseTextColor=cell.BaseTextColor;
|
|
64964
|
+
if (cell.BGColor) dest.CenterItem.BGColor=cell.BGColor;
|
|
64965
|
+
}
|
|
64966
|
+
|
|
64967
|
+
if (item.Item)
|
|
64968
|
+
{
|
|
64969
|
+
var row=item.Item;
|
|
64970
|
+
if (row.Mergin)
|
|
64971
|
+
{
|
|
64972
|
+
var mergin=row.Mergin;
|
|
64973
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Item.Mergin.Left=mergin.Left;
|
|
64974
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Item.Mergin.Right=mergin.Right;
|
|
64975
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Item.Mergin.Top=mergin.Top;
|
|
64976
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Item.Mergin.Bottom=mergin.Bottom;
|
|
64977
|
+
}
|
|
64978
|
+
|
|
64979
|
+
if (row.Font)
|
|
64980
|
+
{
|
|
64981
|
+
var font=row.Font;
|
|
64982
|
+
if (font.Name) dest.Item.Font.Name=font.Name;
|
|
64983
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.Font.Size=font.Size;
|
|
64984
|
+
}
|
|
64985
|
+
|
|
64986
|
+
if (row.NameFont)
|
|
64987
|
+
{
|
|
64988
|
+
var font=row.NameFont;
|
|
64989
|
+
if (font.Name) dest.Item.NameFont.Name=font.Name;
|
|
64990
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.NameFont.Size=font.Size;
|
|
64991
|
+
}
|
|
64992
|
+
|
|
64993
|
+
if (row.SymbolFont)
|
|
64994
|
+
{
|
|
64995
|
+
var font=row.SymbolFont;
|
|
64996
|
+
if (font.Name) dest.Item.SymbolFont.Name=font.Name;
|
|
64997
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.SymbolFont.Size=font.Size;
|
|
64998
|
+
}
|
|
64999
|
+
}
|
|
65000
|
+
|
|
65001
|
+
if (item.FieldColor)
|
|
65002
|
+
{
|
|
65003
|
+
var filed=item.FieldColor;
|
|
65004
|
+
if (filed.Name) dest.FieldColor.Name=filed.Name;
|
|
65005
|
+
if (filed.Symbol) dest.FieldColor.Symbol=filed.Symbol;
|
|
65006
|
+
if (filed.Vol) dest.FieldColor.Vol=filed.Vol;
|
|
65007
|
+
if (filed.Amount) dest.FieldColor.Amount=filed.Amount;
|
|
65008
|
+
if (filed.Index) dest.FieldColor.Index=filed.Index;
|
|
65009
|
+
if (filed.Text) dest.FieldColor.Text=filed.Text;
|
|
65010
|
+
if (filed.Position) dest.FieldColor.Position=filed.Position;
|
|
65011
|
+
}
|
|
65012
|
+
|
|
65013
|
+
if (item.MarkBorder)
|
|
65014
|
+
{
|
|
65015
|
+
var subIem=item.MarkBorder;
|
|
65016
|
+
if (subIem.MaxPositionColor) dest.MarkBorder.MaxPositionColor=subIem.MaxPositionColor;
|
|
65017
|
+
}
|
|
65018
|
+
|
|
65019
|
+
}
|
|
64859
65020
|
}
|
|
64860
65021
|
|
|
64861
65022
|
var g_JSChartResource=new JSChartResource();
|
|
@@ -66707,6 +66868,7 @@ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
|
|
|
66707
66868
|
frame.XSplitOperator.Frame=frame;
|
|
66708
66869
|
frame.XSplitOperator.ChartBorder=border;
|
|
66709
66870
|
frame.XSplitOperator.ShowText=false;
|
|
66871
|
+
frame.XSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
66710
66872
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); };
|
|
66711
66873
|
frame.YSplitOperator.GetKLineChartCallback=()=> { return this.GetKLineChart(); };
|
|
66712
66874
|
frame.YSplitOperator.HQChart=this;
|
|
@@ -598,6 +598,59 @@ function GetBlackStyle()
|
|
|
598
598
|
}
|
|
599
599
|
},
|
|
600
600
|
|
|
601
|
+
//T型报价
|
|
602
|
+
TReport:
|
|
603
|
+
{
|
|
604
|
+
BorderColor:'rgb(38,38,41)', //边框线
|
|
605
|
+
SelectedColor:"rgb(180,180,180)", //选中行
|
|
606
|
+
Header:
|
|
607
|
+
{
|
|
608
|
+
Color:"rgb(187,187,187)", //表头文字颜色
|
|
609
|
+
SortColor:"rgb(255,0,0)", //排序箭头颜色
|
|
610
|
+
Mergin:{ Left:5, Right:5, Top:4, Bottom:2}, //表头四周间距
|
|
611
|
+
Font:{ Size:14, Name:"微软雅黑" } //表头字体
|
|
612
|
+
},
|
|
613
|
+
|
|
614
|
+
Item:
|
|
615
|
+
{
|
|
616
|
+
Mergin:{ Top:2, Bottom:0,Left:5, Right:5 }, //单元格四周间距
|
|
617
|
+
Font:{ Size:15, Name:"微软雅黑"},
|
|
618
|
+
BarMergin:{ Top:2, Left:3, Right:3, Bottom:2 },//单元格字体
|
|
619
|
+
NameFont:{ Size:14, Name:"微软雅黑" },
|
|
620
|
+
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
621
|
+
},
|
|
622
|
+
|
|
623
|
+
CenterItem:
|
|
624
|
+
{
|
|
625
|
+
TextColor:"rgb(16,226,217)",
|
|
626
|
+
BaseTextColor:"rgb(60,60,83)",
|
|
627
|
+
BGColor:"rgb(65,65,65)"
|
|
628
|
+
},
|
|
629
|
+
|
|
630
|
+
FieldColor:
|
|
631
|
+
{
|
|
632
|
+
Index:"rgb(250,250,250)", //序号
|
|
633
|
+
Symbol:"rgb(60,60,60)",
|
|
634
|
+
Name:"rgb(250,250,250)",
|
|
635
|
+
Vol:"rgb(192,165,3)", //成交量
|
|
636
|
+
Position:"rgb(250,250,250)", //持仓量
|
|
637
|
+
Amount:"rgb(16,226,217)", //成交金额
|
|
638
|
+
Text:"rgb(250,250,250)", //默认文本
|
|
639
|
+
},
|
|
640
|
+
|
|
641
|
+
UpTextColor:"rgb(238,21,21)", //上涨文字颜色
|
|
642
|
+
DownTextColor:"rgb(25,158,0)", //下跌文字颜色
|
|
643
|
+
UnchangeTextColor:"rgb(187,187,187)", //平盘文字颜色
|
|
644
|
+
|
|
645
|
+
UpBGColor:"rgb(35,5,5)",
|
|
646
|
+
DownBGColor:"rgb(5,35,5)",
|
|
647
|
+
|
|
648
|
+
MarkBorder:
|
|
649
|
+
{
|
|
650
|
+
MaxPositionColor:"rgb(192,192,0)"
|
|
651
|
+
},
|
|
652
|
+
},
|
|
653
|
+
|
|
601
654
|
ScrollBar:
|
|
602
655
|
{
|
|
603
656
|
BorderColor:'rgb(38,38,41)', //边框线
|
|
@@ -6374,6 +6374,15 @@ var JSCHART_EVENT_ID=
|
|
|
6374
6374
|
ON_CREATE_CUSTOM_Y_COORDINATE:119, //自定义Y轴刻度
|
|
6375
6375
|
|
|
6376
6376
|
ON_BEFORE_DRAW_SPLASH_SCREEN:120,
|
|
6377
|
+
|
|
6378
|
+
|
|
6379
|
+
//T型报价
|
|
6380
|
+
ON_TREPORT_MARKET_STATUS:121, //T型报价列表交易状态
|
|
6381
|
+
ON_DBCLICK_TREPORT_ROW:122, //双击T型报报价列表
|
|
6382
|
+
ON_RCLICK_TREPORT_ROW:123, //右键点击T型报价列表
|
|
6383
|
+
ON_CLICK_TREPORT_HEADER:124, //单击T型报价表头
|
|
6384
|
+
ON_RCLICK_TREPORT_HEADER:125, //右键点击T型报价表头
|
|
6385
|
+
ON_TREPORT_LOCAL_SORT:126, //T型报价列表本地排序
|
|
6377
6386
|
}
|
|
6378
6387
|
|
|
6379
6388
|
var JSCHART_OPERATOR_ID=
|
|
@@ -67869,6 +67878,59 @@ function JSChartResource()
|
|
|
67869
67878
|
}
|
|
67870
67879
|
},
|
|
67871
67880
|
|
|
67881
|
+
//报价列表
|
|
67882
|
+
this.TReport=
|
|
67883
|
+
{
|
|
67884
|
+
BorderColor:'rgb(192,192,192)', //边框线
|
|
67885
|
+
SelectedColor:"rgb(3,89,245)", //选中行
|
|
67886
|
+
Header:
|
|
67887
|
+
{
|
|
67888
|
+
Color:"rgb(60,60,60)", //表头文字颜色
|
|
67889
|
+
SortColor:"rgb(255,0,0)", //排序箭头颜色
|
|
67890
|
+
Mergin:{ Left:5, Right:5, Top:4, Bottom:2}, //表头四周间距
|
|
67891
|
+
Font:{ Size:14, Name:"微软雅黑" } //表头字体
|
|
67892
|
+
},
|
|
67893
|
+
|
|
67894
|
+
Item:
|
|
67895
|
+
{
|
|
67896
|
+
Mergin:{ Top:2, Bottom:0,Left:5, Right:5 }, //单元格四周间距
|
|
67897
|
+
Font:{ Size:15, Name:"微软雅黑"},
|
|
67898
|
+
BarMergin:{ Top:2, Left:3, Right:3, Bottom:2 },//单元格字体
|
|
67899
|
+
NameFont:{ Size:14, Name:"微软雅黑" },
|
|
67900
|
+
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
67901
|
+
},
|
|
67902
|
+
|
|
67903
|
+
CenterItem:
|
|
67904
|
+
{
|
|
67905
|
+
TextColor:"rgb(60,60,83)",
|
|
67906
|
+
BaseTextColor:"rgb(60,60,83)",
|
|
67907
|
+
BGColor:"rgb(180,180,180)"
|
|
67908
|
+
},
|
|
67909
|
+
|
|
67910
|
+
FieldColor:
|
|
67911
|
+
{
|
|
67912
|
+
Index:"rgb(60,60,60)", //序号
|
|
67913
|
+
Symbol:"rgb(60,60,60)",
|
|
67914
|
+
Name:"rgb(60,60,60)",
|
|
67915
|
+
Vol:"rgb(90,90,90)", //成交量
|
|
67916
|
+
Position:"rgb(90,90,90)", //持仓量
|
|
67917
|
+
Amount:"rgb(90,90,90)", //成交金额
|
|
67918
|
+
Text:"rgb(60,60,60)", //默认文本
|
|
67919
|
+
},
|
|
67920
|
+
|
|
67921
|
+
UpTextColor:"rgb(238,21,21)", //上涨文字颜色
|
|
67922
|
+
DownTextColor:"rgb(25,158,0)", //下跌文字颜色
|
|
67923
|
+
UnchangeTextColor:"rgb(90,90,90)", //平盘文字颜色
|
|
67924
|
+
|
|
67925
|
+
UpBGColor:"rgb(255,220,220)",
|
|
67926
|
+
DownBGColor:"rgb(190,220,190)",
|
|
67927
|
+
|
|
67928
|
+
MarkBorder:
|
|
67929
|
+
{
|
|
67930
|
+
MaxPositionColor:"rgb(192,192,192)"
|
|
67931
|
+
},
|
|
67932
|
+
},
|
|
67933
|
+
|
|
67872
67934
|
//键盘精灵
|
|
67873
67935
|
this.Keyboard=
|
|
67874
67936
|
{
|
|
@@ -68649,6 +68711,8 @@ function JSChartResource()
|
|
|
68649
68711
|
}
|
|
68650
68712
|
}
|
|
68651
68713
|
|
|
68714
|
+
if (style.TReport) this.SetTReportStyle(style.TReport);
|
|
68715
|
+
|
|
68652
68716
|
if (style.SelectedChart)
|
|
68653
68717
|
{
|
|
68654
68718
|
var item=style.SelectedChart;
|
|
@@ -68748,6 +68812,103 @@ function JSChartResource()
|
|
|
68748
68812
|
|
|
68749
68813
|
}
|
|
68750
68814
|
}
|
|
68815
|
+
|
|
68816
|
+
this.SetTReportStyle=function(style)
|
|
68817
|
+
{
|
|
68818
|
+
var item=style;
|
|
68819
|
+
var dest=this.TReport;
|
|
68820
|
+
|
|
68821
|
+
if (item.BorderColor) dest.BorderColor=item.BorderColor;
|
|
68822
|
+
if (item.UpTextColor) dest.UpTextColor=item.UpTextColor;
|
|
68823
|
+
if (item.DownTextColor) dest.DownTextColor=item.DownTextColor;
|
|
68824
|
+
if (item.UnchangeTextColor) dest.UnchangeTextColor=item.UnchangeTextColor;
|
|
68825
|
+
if (item.BorderColor) dest.SelectedColor=item.SelectedColor;
|
|
68826
|
+
|
|
68827
|
+
if (item.UpBGColor) dest.UpBGColor=item.UpBGColor;
|
|
68828
|
+
if (item.DownBGColor) dest.DownBGColor=item.DownBGColor;
|
|
68829
|
+
|
|
68830
|
+
if (item.Header)
|
|
68831
|
+
{
|
|
68832
|
+
var header=item.Header;
|
|
68833
|
+
if (header.Color) dest.Header.Color=header.Color;
|
|
68834
|
+
if (header.SortColor) dest.Header.SortColor=header.SortColor;
|
|
68835
|
+
if (header.Mergin)
|
|
68836
|
+
{
|
|
68837
|
+
var mergin=header.Mergin;
|
|
68838
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Header.Mergin.Left=mergin.Left;
|
|
68839
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Header.Mergin.Left=mergin.Right;
|
|
68840
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Header.Mergin.Top=mergin.Top;
|
|
68841
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Header.Mergin.Bottom=mergin.Bottom;
|
|
68842
|
+
}
|
|
68843
|
+
if (header.Font)
|
|
68844
|
+
{
|
|
68845
|
+
var font=header.Font;
|
|
68846
|
+
if (font.Name) dest.Header.Font.Name=font.Name;
|
|
68847
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Header.Font.Size=font.Size;
|
|
68848
|
+
}
|
|
68849
|
+
}
|
|
68850
|
+
|
|
68851
|
+
if (item.CenterItem)
|
|
68852
|
+
{
|
|
68853
|
+
var cell=item.CenterItem;
|
|
68854
|
+
if (cell.TextColor) dest.CenterItem.TextColor=cell.TextColor;
|
|
68855
|
+
if (cell.BaseTextColor) dest.CenterItem.BaseTextColor=cell.BaseTextColor;
|
|
68856
|
+
if (cell.BGColor) dest.CenterItem.BGColor=cell.BGColor;
|
|
68857
|
+
}
|
|
68858
|
+
|
|
68859
|
+
if (item.Item)
|
|
68860
|
+
{
|
|
68861
|
+
var row=item.Item;
|
|
68862
|
+
if (row.Mergin)
|
|
68863
|
+
{
|
|
68864
|
+
var mergin=row.Mergin;
|
|
68865
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Item.Mergin.Left=mergin.Left;
|
|
68866
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Item.Mergin.Right=mergin.Right;
|
|
68867
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Item.Mergin.Top=mergin.Top;
|
|
68868
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Item.Mergin.Bottom=mergin.Bottom;
|
|
68869
|
+
}
|
|
68870
|
+
|
|
68871
|
+
if (row.Font)
|
|
68872
|
+
{
|
|
68873
|
+
var font=row.Font;
|
|
68874
|
+
if (font.Name) dest.Item.Font.Name=font.Name;
|
|
68875
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.Font.Size=font.Size;
|
|
68876
|
+
}
|
|
68877
|
+
|
|
68878
|
+
if (row.NameFont)
|
|
68879
|
+
{
|
|
68880
|
+
var font=row.NameFont;
|
|
68881
|
+
if (font.Name) dest.Item.NameFont.Name=font.Name;
|
|
68882
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.NameFont.Size=font.Size;
|
|
68883
|
+
}
|
|
68884
|
+
|
|
68885
|
+
if (row.SymbolFont)
|
|
68886
|
+
{
|
|
68887
|
+
var font=row.SymbolFont;
|
|
68888
|
+
if (font.Name) dest.Item.SymbolFont.Name=font.Name;
|
|
68889
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.SymbolFont.Size=font.Size;
|
|
68890
|
+
}
|
|
68891
|
+
}
|
|
68892
|
+
|
|
68893
|
+
if (item.FieldColor)
|
|
68894
|
+
{
|
|
68895
|
+
var filed=item.FieldColor;
|
|
68896
|
+
if (filed.Name) dest.FieldColor.Name=filed.Name;
|
|
68897
|
+
if (filed.Symbol) dest.FieldColor.Symbol=filed.Symbol;
|
|
68898
|
+
if (filed.Vol) dest.FieldColor.Vol=filed.Vol;
|
|
68899
|
+
if (filed.Amount) dest.FieldColor.Amount=filed.Amount;
|
|
68900
|
+
if (filed.Index) dest.FieldColor.Index=filed.Index;
|
|
68901
|
+
if (filed.Text) dest.FieldColor.Text=filed.Text;
|
|
68902
|
+
if (filed.Position) dest.FieldColor.Position=filed.Position;
|
|
68903
|
+
}
|
|
68904
|
+
|
|
68905
|
+
if (item.MarkBorder)
|
|
68906
|
+
{
|
|
68907
|
+
var subIem=item.MarkBorder;
|
|
68908
|
+
if (subIem.MaxPositionColor) dest.MarkBorder.MaxPositionColor=subIem.MaxPositionColor;
|
|
68909
|
+
}
|
|
68910
|
+
|
|
68911
|
+
}
|
|
68751
68912
|
}
|
|
68752
68913
|
|
|
68753
68914
|
var g_JSChartResource=new JSChartResource();
|
|
@@ -70599,6 +70760,7 @@ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
|
|
|
70599
70760
|
frame.XSplitOperator.Frame=frame;
|
|
70600
70761
|
frame.XSplitOperator.ChartBorder=border;
|
|
70601
70762
|
frame.XSplitOperator.ShowText=false;
|
|
70763
|
+
frame.XSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); }
|
|
70602
70764
|
frame.YSplitOperator.GetEventCallback=(id)=> { return this.GetEventCallback(id); };
|
|
70603
70765
|
frame.YSplitOperator.GetKLineChartCallback=()=> { return this.GetKLineChart(); };
|
|
70604
70766
|
frame.YSplitOperator.HQChart=this;
|
|
@@ -120424,6 +120586,59 @@ function GetBlackStyle()
|
|
|
120424
120586
|
}
|
|
120425
120587
|
},
|
|
120426
120588
|
|
|
120589
|
+
//T型报价
|
|
120590
|
+
TReport:
|
|
120591
|
+
{
|
|
120592
|
+
BorderColor:'rgb(38,38,41)', //边框线
|
|
120593
|
+
SelectedColor:"rgb(180,180,180)", //选中行
|
|
120594
|
+
Header:
|
|
120595
|
+
{
|
|
120596
|
+
Color:"rgb(187,187,187)", //表头文字颜色
|
|
120597
|
+
SortColor:"rgb(255,0,0)", //排序箭头颜色
|
|
120598
|
+
Mergin:{ Left:5, Right:5, Top:4, Bottom:2}, //表头四周间距
|
|
120599
|
+
Font:{ Size:14, Name:"微软雅黑" } //表头字体
|
|
120600
|
+
},
|
|
120601
|
+
|
|
120602
|
+
Item:
|
|
120603
|
+
{
|
|
120604
|
+
Mergin:{ Top:2, Bottom:0,Left:5, Right:5 }, //单元格四周间距
|
|
120605
|
+
Font:{ Size:15, Name:"微软雅黑"},
|
|
120606
|
+
BarMergin:{ Top:2, Left:3, Right:3, Bottom:2 },//单元格字体
|
|
120607
|
+
NameFont:{ Size:14, Name:"微软雅黑" },
|
|
120608
|
+
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
120609
|
+
},
|
|
120610
|
+
|
|
120611
|
+
CenterItem:
|
|
120612
|
+
{
|
|
120613
|
+
TextColor:"rgb(16,226,217)",
|
|
120614
|
+
BaseTextColor:"rgb(60,60,83)",
|
|
120615
|
+
BGColor:"rgb(65,65,65)"
|
|
120616
|
+
},
|
|
120617
|
+
|
|
120618
|
+
FieldColor:
|
|
120619
|
+
{
|
|
120620
|
+
Index:"rgb(250,250,250)", //序号
|
|
120621
|
+
Symbol:"rgb(60,60,60)",
|
|
120622
|
+
Name:"rgb(250,250,250)",
|
|
120623
|
+
Vol:"rgb(192,165,3)", //成交量
|
|
120624
|
+
Position:"rgb(250,250,250)", //持仓量
|
|
120625
|
+
Amount:"rgb(16,226,217)", //成交金额
|
|
120626
|
+
Text:"rgb(250,250,250)", //默认文本
|
|
120627
|
+
},
|
|
120628
|
+
|
|
120629
|
+
UpTextColor:"rgb(238,21,21)", //上涨文字颜色
|
|
120630
|
+
DownTextColor:"rgb(25,158,0)", //下跌文字颜色
|
|
120631
|
+
UnchangeTextColor:"rgb(187,187,187)", //平盘文字颜色
|
|
120632
|
+
|
|
120633
|
+
UpBGColor:"rgb(35,5,5)",
|
|
120634
|
+
DownBGColor:"rgb(5,35,5)",
|
|
120635
|
+
|
|
120636
|
+
MarkBorder:
|
|
120637
|
+
{
|
|
120638
|
+
MaxPositionColor:"rgb(192,192,0)"
|
|
120639
|
+
},
|
|
120640
|
+
},
|
|
120641
|
+
|
|
120427
120642
|
ScrollBar:
|
|
120428
120643
|
{
|
|
120429
120644
|
BorderColor:'rgb(38,38,41)', //边框线
|
|
@@ -125387,7 +125602,7 @@ function ChartReport()
|
|
|
125387
125602
|
}
|
|
125388
125603
|
else
|
|
125389
125604
|
{
|
|
125390
|
-
result.
|
|
125605
|
+
result.Start=0;
|
|
125391
125606
|
result.End=0;
|
|
125392
125607
|
result.IsEnd=true;
|
|
125393
125608
|
result.IsSinglePage=true;
|
|
@@ -130750,7 +130965,7 @@ function ScrollBarBGChart()
|
|
|
130750
130965
|
|
|
130751
130966
|
|
|
130752
130967
|
|
|
130753
|
-
var HQCHART_VERSION="1.1.
|
|
130968
|
+
var HQCHART_VERSION="1.1.13083";
|
|
130754
130969
|
|
|
130755
130970
|
function PrintHQChartVersion()
|
|
130756
130971
|
{
|