hqchart 1.1.13081 → 1.1.13090
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 +314 -27
- package/package.json +1 -1
- package/src/jscommon/umychart.TReport.js +2398 -0
- package/src/jscommon/umychart.js +118 -14
- 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 +173 -16
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +2739 -180
package/src/jscommon/umychart.js
CHANGED
|
@@ -2486,6 +2486,12 @@ var JSCHART_EVENT_ID=
|
|
|
2486
2486
|
|
|
2487
2487
|
//T型报价
|
|
2488
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型报价列表本地排序
|
|
2494
|
+
ON_CLICK_TREPORT_ROW:127, //左键点击点击T型报价列表
|
|
2489
2495
|
}
|
|
2490
2496
|
|
|
2491
2497
|
var JSCHART_OPERATOR_ID=
|
|
@@ -63985,7 +63991,7 @@ function JSChartResource()
|
|
|
63985
63991
|
this.TReport=
|
|
63986
63992
|
{
|
|
63987
63993
|
BorderColor:'rgb(192,192,192)', //边框线
|
|
63988
|
-
SelectedColor:"rgb(
|
|
63994
|
+
SelectedColor:"rgb(3,89,245)", //选中行
|
|
63989
63995
|
Header:
|
|
63990
63996
|
{
|
|
63991
63997
|
Color:"rgb(60,60,60)", //表头文字颜色
|
|
@@ -64003,6 +64009,13 @@ function JSChartResource()
|
|
|
64003
64009
|
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
64004
64010
|
},
|
|
64005
64011
|
|
|
64012
|
+
CenterItem:
|
|
64013
|
+
{
|
|
64014
|
+
TextColor:"rgb(60,60,83)",
|
|
64015
|
+
BaseTextColor:"rgb(60,60,83)",
|
|
64016
|
+
BGColor:"rgb(180,180,180)"
|
|
64017
|
+
},
|
|
64018
|
+
|
|
64006
64019
|
FieldColor:
|
|
64007
64020
|
{
|
|
64008
64021
|
Index:"rgb(60,60,60)", //序号
|
|
@@ -64016,22 +64029,14 @@ function JSChartResource()
|
|
|
64016
64029
|
|
|
64017
64030
|
UpTextColor:"rgb(238,21,21)", //上涨文字颜色
|
|
64018
64031
|
DownTextColor:"rgb(25,158,0)", //下跌文字颜色
|
|
64019
|
-
|
|
64032
|
+
UnchangeTextColor:"rgb(90,90,90)", //平盘文字颜色
|
|
64020
64033
|
|
|
64021
|
-
|
|
64022
|
-
|
|
64023
|
-
CloseColor:"rgb(30,144,255)",
|
|
64024
|
-
YCloseColor:"rgba(105,105,105,0.5)", //昨收线
|
|
64025
|
-
AreaColor:'rgba(0,191,255,0.2)',
|
|
64026
|
-
},
|
|
64034
|
+
UpBGColor:"rgb(255,220,220)",
|
|
64035
|
+
DownBGColor:"rgb(190,220,190)",
|
|
64027
64036
|
|
|
64028
|
-
|
|
64037
|
+
MarkBorder:
|
|
64029
64038
|
{
|
|
64030
|
-
|
|
64031
|
-
DownColor:"rgb(0,128,0)",
|
|
64032
|
-
UnchagneColor:'rgb(90,90,90)',
|
|
64033
|
-
DataWidth:16,
|
|
64034
|
-
DistanceWidth:3
|
|
64039
|
+
MaxPositionColor:"rgb(192,192,192)"
|
|
64035
64040
|
},
|
|
64036
64041
|
},
|
|
64037
64042
|
|
|
@@ -64815,6 +64820,8 @@ function JSChartResource()
|
|
|
64815
64820
|
}
|
|
64816
64821
|
}
|
|
64817
64822
|
|
|
64823
|
+
if (style.TReport) this.SetTReportStyle(style.TReport);
|
|
64824
|
+
|
|
64818
64825
|
if (style.SelectedChart)
|
|
64819
64826
|
{
|
|
64820
64827
|
var item=style.SelectedChart;
|
|
@@ -64914,6 +64921,103 @@ function JSChartResource()
|
|
|
64914
64921
|
|
|
64915
64922
|
}
|
|
64916
64923
|
}
|
|
64924
|
+
|
|
64925
|
+
this.SetTReportStyle=function(style)
|
|
64926
|
+
{
|
|
64927
|
+
var item=style;
|
|
64928
|
+
var dest=this.TReport;
|
|
64929
|
+
|
|
64930
|
+
if (item.BorderColor) dest.BorderColor=item.BorderColor;
|
|
64931
|
+
if (item.UpTextColor) dest.UpTextColor=item.UpTextColor;
|
|
64932
|
+
if (item.DownTextColor) dest.DownTextColor=item.DownTextColor;
|
|
64933
|
+
if (item.UnchangeTextColor) dest.UnchangeTextColor=item.UnchangeTextColor;
|
|
64934
|
+
if (item.BorderColor) dest.SelectedColor=item.SelectedColor;
|
|
64935
|
+
|
|
64936
|
+
if (item.UpBGColor) dest.UpBGColor=item.UpBGColor;
|
|
64937
|
+
if (item.DownBGColor) dest.DownBGColor=item.DownBGColor;
|
|
64938
|
+
|
|
64939
|
+
if (item.Header)
|
|
64940
|
+
{
|
|
64941
|
+
var header=item.Header;
|
|
64942
|
+
if (header.Color) dest.Header.Color=header.Color;
|
|
64943
|
+
if (header.SortColor) dest.Header.SortColor=header.SortColor;
|
|
64944
|
+
if (header.Mergin)
|
|
64945
|
+
{
|
|
64946
|
+
var mergin=header.Mergin;
|
|
64947
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Header.Mergin.Left=mergin.Left;
|
|
64948
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Header.Mergin.Left=mergin.Right;
|
|
64949
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Header.Mergin.Top=mergin.Top;
|
|
64950
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Header.Mergin.Bottom=mergin.Bottom;
|
|
64951
|
+
}
|
|
64952
|
+
if (header.Font)
|
|
64953
|
+
{
|
|
64954
|
+
var font=header.Font;
|
|
64955
|
+
if (font.Name) dest.Header.Font.Name=font.Name;
|
|
64956
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Header.Font.Size=font.Size;
|
|
64957
|
+
}
|
|
64958
|
+
}
|
|
64959
|
+
|
|
64960
|
+
if (item.CenterItem)
|
|
64961
|
+
{
|
|
64962
|
+
var cell=item.CenterItem;
|
|
64963
|
+
if (cell.TextColor) dest.CenterItem.TextColor=cell.TextColor;
|
|
64964
|
+
if (cell.BaseTextColor) dest.CenterItem.BaseTextColor=cell.BaseTextColor;
|
|
64965
|
+
if (cell.BGColor) dest.CenterItem.BGColor=cell.BGColor;
|
|
64966
|
+
}
|
|
64967
|
+
|
|
64968
|
+
if (item.Item)
|
|
64969
|
+
{
|
|
64970
|
+
var row=item.Item;
|
|
64971
|
+
if (row.Mergin)
|
|
64972
|
+
{
|
|
64973
|
+
var mergin=row.Mergin;
|
|
64974
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Item.Mergin.Left=mergin.Left;
|
|
64975
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Item.Mergin.Right=mergin.Right;
|
|
64976
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Item.Mergin.Top=mergin.Top;
|
|
64977
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Item.Mergin.Bottom=mergin.Bottom;
|
|
64978
|
+
}
|
|
64979
|
+
|
|
64980
|
+
if (row.Font)
|
|
64981
|
+
{
|
|
64982
|
+
var font=row.Font;
|
|
64983
|
+
if (font.Name) dest.Item.Font.Name=font.Name;
|
|
64984
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.Font.Size=font.Size;
|
|
64985
|
+
}
|
|
64986
|
+
|
|
64987
|
+
if (row.NameFont)
|
|
64988
|
+
{
|
|
64989
|
+
var font=row.NameFont;
|
|
64990
|
+
if (font.Name) dest.Item.NameFont.Name=font.Name;
|
|
64991
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.NameFont.Size=font.Size;
|
|
64992
|
+
}
|
|
64993
|
+
|
|
64994
|
+
if (row.SymbolFont)
|
|
64995
|
+
{
|
|
64996
|
+
var font=row.SymbolFont;
|
|
64997
|
+
if (font.Name) dest.Item.SymbolFont.Name=font.Name;
|
|
64998
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.SymbolFont.Size=font.Size;
|
|
64999
|
+
}
|
|
65000
|
+
}
|
|
65001
|
+
|
|
65002
|
+
if (item.FieldColor)
|
|
65003
|
+
{
|
|
65004
|
+
var filed=item.FieldColor;
|
|
65005
|
+
if (filed.Name) dest.FieldColor.Name=filed.Name;
|
|
65006
|
+
if (filed.Symbol) dest.FieldColor.Symbol=filed.Symbol;
|
|
65007
|
+
if (filed.Vol) dest.FieldColor.Vol=filed.Vol;
|
|
65008
|
+
if (filed.Amount) dest.FieldColor.Amount=filed.Amount;
|
|
65009
|
+
if (filed.Index) dest.FieldColor.Index=filed.Index;
|
|
65010
|
+
if (filed.Text) dest.FieldColor.Text=filed.Text;
|
|
65011
|
+
if (filed.Position) dest.FieldColor.Position=filed.Position;
|
|
65012
|
+
}
|
|
65013
|
+
|
|
65014
|
+
if (item.MarkBorder)
|
|
65015
|
+
{
|
|
65016
|
+
var subIem=item.MarkBorder;
|
|
65017
|
+
if (subIem.MaxPositionColor) dest.MarkBorder.MaxPositionColor=subIem.MaxPositionColor;
|
|
65018
|
+
}
|
|
65019
|
+
|
|
65020
|
+
}
|
|
64917
65021
|
}
|
|
64918
65022
|
|
|
64919
65023
|
var g_JSChartResource=new JSChartResource();
|
|
@@ -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)', //边框线
|
|
@@ -6378,6 +6378,12 @@ var JSCHART_EVENT_ID=
|
|
|
6378
6378
|
|
|
6379
6379
|
//T型报价
|
|
6380
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型报价列表本地排序
|
|
6386
|
+
ON_CLICK_TREPORT_ROW:127, //左键点击点击T型报价列表
|
|
6381
6387
|
}
|
|
6382
6388
|
|
|
6383
6389
|
var JSCHART_OPERATOR_ID=
|
|
@@ -67877,7 +67883,7 @@ function JSChartResource()
|
|
|
67877
67883
|
this.TReport=
|
|
67878
67884
|
{
|
|
67879
67885
|
BorderColor:'rgb(192,192,192)', //边框线
|
|
67880
|
-
SelectedColor:"rgb(
|
|
67886
|
+
SelectedColor:"rgb(3,89,245)", //选中行
|
|
67881
67887
|
Header:
|
|
67882
67888
|
{
|
|
67883
67889
|
Color:"rgb(60,60,60)", //表头文字颜色
|
|
@@ -67895,6 +67901,13 @@ function JSChartResource()
|
|
|
67895
67901
|
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
67896
67902
|
},
|
|
67897
67903
|
|
|
67904
|
+
CenterItem:
|
|
67905
|
+
{
|
|
67906
|
+
TextColor:"rgb(60,60,83)",
|
|
67907
|
+
BaseTextColor:"rgb(60,60,83)",
|
|
67908
|
+
BGColor:"rgb(180,180,180)"
|
|
67909
|
+
},
|
|
67910
|
+
|
|
67898
67911
|
FieldColor:
|
|
67899
67912
|
{
|
|
67900
67913
|
Index:"rgb(60,60,60)", //序号
|
|
@@ -67908,22 +67921,14 @@ function JSChartResource()
|
|
|
67908
67921
|
|
|
67909
67922
|
UpTextColor:"rgb(238,21,21)", //上涨文字颜色
|
|
67910
67923
|
DownTextColor:"rgb(25,158,0)", //下跌文字颜色
|
|
67911
|
-
|
|
67924
|
+
UnchangeTextColor:"rgb(90,90,90)", //平盘文字颜色
|
|
67912
67925
|
|
|
67913
|
-
|
|
67914
|
-
|
|
67915
|
-
CloseColor:"rgb(30,144,255)",
|
|
67916
|
-
YCloseColor:"rgba(105,105,105,0.5)", //昨收线
|
|
67917
|
-
AreaColor:'rgba(0,191,255,0.2)',
|
|
67918
|
-
},
|
|
67926
|
+
UpBGColor:"rgb(255,220,220)",
|
|
67927
|
+
DownBGColor:"rgb(190,220,190)",
|
|
67919
67928
|
|
|
67920
|
-
|
|
67929
|
+
MarkBorder:
|
|
67921
67930
|
{
|
|
67922
|
-
|
|
67923
|
-
DownColor:"rgb(0,128,0)",
|
|
67924
|
-
UnchagneColor:'rgb(90,90,90)',
|
|
67925
|
-
DataWidth:16,
|
|
67926
|
-
DistanceWidth:3
|
|
67931
|
+
MaxPositionColor:"rgb(192,192,192)"
|
|
67927
67932
|
},
|
|
67928
67933
|
},
|
|
67929
67934
|
|
|
@@ -68707,6 +68712,8 @@ function JSChartResource()
|
|
|
68707
68712
|
}
|
|
68708
68713
|
}
|
|
68709
68714
|
|
|
68715
|
+
if (style.TReport) this.SetTReportStyle(style.TReport);
|
|
68716
|
+
|
|
68710
68717
|
if (style.SelectedChart)
|
|
68711
68718
|
{
|
|
68712
68719
|
var item=style.SelectedChart;
|
|
@@ -68806,6 +68813,103 @@ function JSChartResource()
|
|
|
68806
68813
|
|
|
68807
68814
|
}
|
|
68808
68815
|
}
|
|
68816
|
+
|
|
68817
|
+
this.SetTReportStyle=function(style)
|
|
68818
|
+
{
|
|
68819
|
+
var item=style;
|
|
68820
|
+
var dest=this.TReport;
|
|
68821
|
+
|
|
68822
|
+
if (item.BorderColor) dest.BorderColor=item.BorderColor;
|
|
68823
|
+
if (item.UpTextColor) dest.UpTextColor=item.UpTextColor;
|
|
68824
|
+
if (item.DownTextColor) dest.DownTextColor=item.DownTextColor;
|
|
68825
|
+
if (item.UnchangeTextColor) dest.UnchangeTextColor=item.UnchangeTextColor;
|
|
68826
|
+
if (item.BorderColor) dest.SelectedColor=item.SelectedColor;
|
|
68827
|
+
|
|
68828
|
+
if (item.UpBGColor) dest.UpBGColor=item.UpBGColor;
|
|
68829
|
+
if (item.DownBGColor) dest.DownBGColor=item.DownBGColor;
|
|
68830
|
+
|
|
68831
|
+
if (item.Header)
|
|
68832
|
+
{
|
|
68833
|
+
var header=item.Header;
|
|
68834
|
+
if (header.Color) dest.Header.Color=header.Color;
|
|
68835
|
+
if (header.SortColor) dest.Header.SortColor=header.SortColor;
|
|
68836
|
+
if (header.Mergin)
|
|
68837
|
+
{
|
|
68838
|
+
var mergin=header.Mergin;
|
|
68839
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Header.Mergin.Left=mergin.Left;
|
|
68840
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Header.Mergin.Left=mergin.Right;
|
|
68841
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Header.Mergin.Top=mergin.Top;
|
|
68842
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Header.Mergin.Bottom=mergin.Bottom;
|
|
68843
|
+
}
|
|
68844
|
+
if (header.Font)
|
|
68845
|
+
{
|
|
68846
|
+
var font=header.Font;
|
|
68847
|
+
if (font.Name) dest.Header.Font.Name=font.Name;
|
|
68848
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Header.Font.Size=font.Size;
|
|
68849
|
+
}
|
|
68850
|
+
}
|
|
68851
|
+
|
|
68852
|
+
if (item.CenterItem)
|
|
68853
|
+
{
|
|
68854
|
+
var cell=item.CenterItem;
|
|
68855
|
+
if (cell.TextColor) dest.CenterItem.TextColor=cell.TextColor;
|
|
68856
|
+
if (cell.BaseTextColor) dest.CenterItem.BaseTextColor=cell.BaseTextColor;
|
|
68857
|
+
if (cell.BGColor) dest.CenterItem.BGColor=cell.BGColor;
|
|
68858
|
+
}
|
|
68859
|
+
|
|
68860
|
+
if (item.Item)
|
|
68861
|
+
{
|
|
68862
|
+
var row=item.Item;
|
|
68863
|
+
if (row.Mergin)
|
|
68864
|
+
{
|
|
68865
|
+
var mergin=row.Mergin;
|
|
68866
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) dest.Item.Mergin.Left=mergin.Left;
|
|
68867
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) dest.Item.Mergin.Right=mergin.Right;
|
|
68868
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) dest.Item.Mergin.Top=mergin.Top;
|
|
68869
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) dest.Item.Mergin.Bottom=mergin.Bottom;
|
|
68870
|
+
}
|
|
68871
|
+
|
|
68872
|
+
if (row.Font)
|
|
68873
|
+
{
|
|
68874
|
+
var font=row.Font;
|
|
68875
|
+
if (font.Name) dest.Item.Font.Name=font.Name;
|
|
68876
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.Font.Size=font.Size;
|
|
68877
|
+
}
|
|
68878
|
+
|
|
68879
|
+
if (row.NameFont)
|
|
68880
|
+
{
|
|
68881
|
+
var font=row.NameFont;
|
|
68882
|
+
if (font.Name) dest.Item.NameFont.Name=font.Name;
|
|
68883
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.NameFont.Size=font.Size;
|
|
68884
|
+
}
|
|
68885
|
+
|
|
68886
|
+
if (row.SymbolFont)
|
|
68887
|
+
{
|
|
68888
|
+
var font=row.SymbolFont;
|
|
68889
|
+
if (font.Name) dest.Item.SymbolFont.Name=font.Name;
|
|
68890
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) dest.Item.SymbolFont.Size=font.Size;
|
|
68891
|
+
}
|
|
68892
|
+
}
|
|
68893
|
+
|
|
68894
|
+
if (item.FieldColor)
|
|
68895
|
+
{
|
|
68896
|
+
var filed=item.FieldColor;
|
|
68897
|
+
if (filed.Name) dest.FieldColor.Name=filed.Name;
|
|
68898
|
+
if (filed.Symbol) dest.FieldColor.Symbol=filed.Symbol;
|
|
68899
|
+
if (filed.Vol) dest.FieldColor.Vol=filed.Vol;
|
|
68900
|
+
if (filed.Amount) dest.FieldColor.Amount=filed.Amount;
|
|
68901
|
+
if (filed.Index) dest.FieldColor.Index=filed.Index;
|
|
68902
|
+
if (filed.Text) dest.FieldColor.Text=filed.Text;
|
|
68903
|
+
if (filed.Position) dest.FieldColor.Position=filed.Position;
|
|
68904
|
+
}
|
|
68905
|
+
|
|
68906
|
+
if (item.MarkBorder)
|
|
68907
|
+
{
|
|
68908
|
+
var subIem=item.MarkBorder;
|
|
68909
|
+
if (subIem.MaxPositionColor) dest.MarkBorder.MaxPositionColor=subIem.MaxPositionColor;
|
|
68910
|
+
}
|
|
68911
|
+
|
|
68912
|
+
}
|
|
68809
68913
|
}
|
|
68810
68914
|
|
|
68811
68915
|
var g_JSChartResource=new JSChartResource();
|
|
@@ -120483,6 +120587,59 @@ function GetBlackStyle()
|
|
|
120483
120587
|
}
|
|
120484
120588
|
},
|
|
120485
120589
|
|
|
120590
|
+
//T型报价
|
|
120591
|
+
TReport:
|
|
120592
|
+
{
|
|
120593
|
+
BorderColor:'rgb(38,38,41)', //边框线
|
|
120594
|
+
SelectedColor:"rgb(180,180,180)", //选中行
|
|
120595
|
+
Header:
|
|
120596
|
+
{
|
|
120597
|
+
Color:"rgb(187,187,187)", //表头文字颜色
|
|
120598
|
+
SortColor:"rgb(255,0,0)", //排序箭头颜色
|
|
120599
|
+
Mergin:{ Left:5, Right:5, Top:4, Bottom:2}, //表头四周间距
|
|
120600
|
+
Font:{ Size:14, Name:"微软雅黑" } //表头字体
|
|
120601
|
+
},
|
|
120602
|
+
|
|
120603
|
+
Item:
|
|
120604
|
+
{
|
|
120605
|
+
Mergin:{ Top:2, Bottom:0,Left:5, Right:5 }, //单元格四周间距
|
|
120606
|
+
Font:{ Size:15, Name:"微软雅黑"},
|
|
120607
|
+
BarMergin:{ Top:2, Left:3, Right:3, Bottom:2 },//单元格字体
|
|
120608
|
+
NameFont:{ Size:14, Name:"微软雅黑" },
|
|
120609
|
+
SymbolFont:{ Size:12, Name:"微软雅黑" }
|
|
120610
|
+
},
|
|
120611
|
+
|
|
120612
|
+
CenterItem:
|
|
120613
|
+
{
|
|
120614
|
+
TextColor:"rgb(16,226,217)",
|
|
120615
|
+
BaseTextColor:"rgb(60,60,83)",
|
|
120616
|
+
BGColor:"rgb(65,65,65)"
|
|
120617
|
+
},
|
|
120618
|
+
|
|
120619
|
+
FieldColor:
|
|
120620
|
+
{
|
|
120621
|
+
Index:"rgb(250,250,250)", //序号
|
|
120622
|
+
Symbol:"rgb(60,60,60)",
|
|
120623
|
+
Name:"rgb(250,250,250)",
|
|
120624
|
+
Vol:"rgb(192,165,3)", //成交量
|
|
120625
|
+
Position:"rgb(250,250,250)", //持仓量
|
|
120626
|
+
Amount:"rgb(16,226,217)", //成交金额
|
|
120627
|
+
Text:"rgb(250,250,250)", //默认文本
|
|
120628
|
+
},
|
|
120629
|
+
|
|
120630
|
+
UpTextColor:"rgb(238,21,21)", //上涨文字颜色
|
|
120631
|
+
DownTextColor:"rgb(25,158,0)", //下跌文字颜色
|
|
120632
|
+
UnchangeTextColor:"rgb(187,187,187)", //平盘文字颜色
|
|
120633
|
+
|
|
120634
|
+
UpBGColor:"rgb(35,5,5)",
|
|
120635
|
+
DownBGColor:"rgb(5,35,5)",
|
|
120636
|
+
|
|
120637
|
+
MarkBorder:
|
|
120638
|
+
{
|
|
120639
|
+
MaxPositionColor:"rgb(192,192,0)"
|
|
120640
|
+
},
|
|
120641
|
+
},
|
|
120642
|
+
|
|
120486
120643
|
ScrollBar:
|
|
120487
120644
|
{
|
|
120488
120645
|
BorderColor:'rgb(38,38,41)', //边框线
|
|
@@ -125446,7 +125603,7 @@ function ChartReport()
|
|
|
125446
125603
|
}
|
|
125447
125604
|
else
|
|
125448
125605
|
{
|
|
125449
|
-
result.
|
|
125606
|
+
result.Start=0;
|
|
125450
125607
|
result.End=0;
|
|
125451
125608
|
result.IsEnd=true;
|
|
125452
125609
|
result.IsSinglePage=true;
|
|
@@ -130809,7 +130966,7 @@ function ScrollBarBGChart()
|
|
|
130809
130966
|
|
|
130810
130967
|
|
|
130811
130968
|
|
|
130812
|
-
var HQCHART_VERSION="1.1.
|
|
130969
|
+
var HQCHART_VERSION="1.1.13089";
|
|
130813
130970
|
|
|
130814
130971
|
function PrintHQChartVersion()
|
|
130815
130972
|
{
|