hqchart 1.1.13095 → 1.1.13105
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 +77 -59
- package/package.json +1 -1
- package/src/jscommon/umychart.js +251 -210
- package/src/jscommon/umychart.report.js +334 -2
- package/src/jscommon/umychart.style.js +10 -0
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +596 -213
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +596 -213
package/package.json
CHANGED
package/src/jscommon/umychart.js
CHANGED
|
@@ -51336,6 +51336,7 @@ function DynamicChartTitlePainting()
|
|
|
51336
51336
|
this.BGBorderColor=g_JSChartResource.IndexTitleBorderColor;
|
|
51337
51337
|
this.BGBorderMoveOnColor=g_JSChartResource.IndexTitleBorderMoveOnColor;
|
|
51338
51338
|
this.BorderRoundRadius=2; //圆角矩形角度
|
|
51339
|
+
this.NameButtonStyle=g_JSChartResource.IndexTitleBorderStyle,
|
|
51339
51340
|
|
|
51340
51341
|
this.OnDrawEvent;
|
|
51341
51342
|
this.ParamSpace=2; //参数显示的间距
|
|
@@ -52631,7 +52632,6 @@ function DynamicChartTitlePainting()
|
|
|
52631
52632
|
var roundRadius=this.BorderRoundRadius*pixelRatio;
|
|
52632
52633
|
var bgWidth=textWidth+4*pixelRatio+roundRadius*2;
|
|
52633
52634
|
|
|
52634
|
-
|
|
52635
52635
|
rtButton.Top=rtButton.YCenter-bgHeight/2-1,
|
|
52636
52636
|
rtButton.Width=bgWidth;
|
|
52637
52637
|
rtButton.Height=bgHeight;
|
|
@@ -52649,19 +52649,33 @@ function DynamicChartTitlePainting()
|
|
|
52649
52649
|
}
|
|
52650
52650
|
}
|
|
52651
52651
|
|
|
52652
|
-
this.
|
|
52653
|
-
|
|
52654
|
-
|
|
52652
|
+
if (this.NameButtonStyle==1)
|
|
52653
|
+
{
|
|
52654
|
+
this.Canvas.beginPath();
|
|
52655
|
+
this.Canvas.roundRect(ToFixedPoint(rtButton.Left), ToFixedPoint(rtButton.Top), ToFixedRect(rtButton.Width), ToFixedRect(rtButton.Height), [roundRadius]);
|
|
52656
|
+
this.Canvas.closePath();
|
|
52655
52657
|
|
|
52656
|
-
|
|
52657
|
-
|
|
52658
|
+
this.Canvas.fillStyle=this.BGColor;
|
|
52659
|
+
this.Canvas.fill();
|
|
52658
52660
|
|
|
52659
|
-
|
|
52661
|
+
if (borderColor)
|
|
52662
|
+
{
|
|
52663
|
+
this.Canvas.strokeStyle=borderColor;
|
|
52664
|
+
this.Canvas.stroke();
|
|
52665
|
+
}
|
|
52666
|
+
}
|
|
52667
|
+
else
|
|
52660
52668
|
{
|
|
52661
|
-
this.Canvas.
|
|
52662
|
-
this.Canvas.
|
|
52669
|
+
this.Canvas.fillStyle=this.BGColor;
|
|
52670
|
+
this.Canvas.fillRect(rtButton.Left, rtButton.Top, rtButton.Width, rtButton.Height);
|
|
52671
|
+
|
|
52672
|
+
if (borderColor)
|
|
52673
|
+
{
|
|
52674
|
+
this.Canvas.strokeStyle=borderColor;
|
|
52675
|
+
this.Canvas.strokeRect(ToFixedPoint(rtButton.Left), ToFixedPoint(rtButton.Top), ToFixedRect(rtButton.Width), ToFixedRect(rtButton.Height), [roundRadius]);
|
|
52676
|
+
}
|
|
52663
52677
|
}
|
|
52664
|
-
|
|
52678
|
+
|
|
52665
52679
|
this.Canvas.fillStyle=this.TitleColor;
|
|
52666
52680
|
this.Canvas.fillText(title,rtButton.Left+roundRadius+2*pixelRatio,rtButton.YCenter,textWidth);
|
|
52667
52681
|
}
|
|
@@ -63010,7 +63024,8 @@ function JSChartResource()
|
|
|
63010
63024
|
this.TitleFont=13*GetDevicePixelRatio() +'px 微软雅黑'; //指标显示,tooltip显示字体
|
|
63011
63025
|
this.IndexTitleBGColor='rgb(250,250,250)'; //指标名字背景色
|
|
63012
63026
|
this.IndexTitleBorderColor='rgb(180,180,180)'; //指标名字边框颜色
|
|
63013
|
-
this.IndexTitleBorderMoveOnColor='rgb(0,0,0)';
|
|
63027
|
+
this.IndexTitleBorderMoveOnColor='rgb(0,0,0)'; //指标名字边框颜色(鼠标在上面)
|
|
63028
|
+
this.IndexTitleBorderStyle=1, //0=直角边框 1=圆角变量
|
|
63014
63029
|
this.IndexTitleColor="rgb(43,54,69)"; //指标名字颜色
|
|
63015
63030
|
this.IndexTitleSelectedColor="rgb(65,105,225)";
|
|
63016
63031
|
this.OverlayIndexTitleBGColor='rgba(255,255,255,0.7)';
|
|
@@ -63984,6 +63999,16 @@ function JSChartResource()
|
|
|
63984
63999
|
|
|
63985
64000
|
MoveRowColor:'rgb(240,128,128)',
|
|
63986
64001
|
SrcRowColor:'rgb(180,240,240)',
|
|
64002
|
+
},
|
|
64003
|
+
|
|
64004
|
+
VScrollbar:
|
|
64005
|
+
{
|
|
64006
|
+
ScrollBarHeight:60,
|
|
64007
|
+
ButtonColor:"rgba(252,252,252,0.8)",
|
|
64008
|
+
BarColor:"rgba(168,168,168,0.9)",
|
|
64009
|
+
BorderColor:'rgba(180,180,180,0.9)',
|
|
64010
|
+
BGColor:"rgba(234,239,248,0.9)",
|
|
64011
|
+
BarWidth:{ Size:12 }
|
|
63987
64012
|
}
|
|
63988
64013
|
},
|
|
63989
64014
|
|
|
@@ -64174,6 +64199,7 @@ function JSChartResource()
|
|
|
64174
64199
|
if (style.IndexTitleBGColor) this.IndexTitleBGColor=style.IndexTitleBGColor;
|
|
64175
64200
|
if (style.IndexTitleBorderColor) this.IndexTitleBorderColor=style.IndexTitleBorderColor;
|
|
64176
64201
|
if (style.IndexTitleBorderMoveOnColor) this.IndexTitleBorderMoveOnColor=style.IndexTitleBorderMoveOnColor;
|
|
64202
|
+
if (IFrameSplitOperator.IsNumber(style.IndexTitleBorderStyle)) this.IndexTitleBorderStyle=style.IndexTitleBorderStyle;
|
|
64177
64203
|
if (style.IndexTitleColor) this.IndexTitleColor=style.IndexTitleColor;
|
|
64178
64204
|
if (style.IndexTitleSelectedColor) this.IndexTitleSelectedColor=style.IndexTitleSelectedColor;
|
|
64179
64205
|
if (style.OverlayIndexTitleBGColor) this.OverlayIndexTitleBGColor=style.OverlayIndexTitleBGColor;
|
|
@@ -64621,205 +64647,8 @@ function JSChartResource()
|
|
|
64621
64647
|
}
|
|
64622
64648
|
}
|
|
64623
64649
|
|
|
64624
|
-
if (style.Report)
|
|
64625
|
-
|
|
64626
|
-
var item=style.Report;
|
|
64627
|
-
if (item.BorderColor) this.Report.BorderColor=item.BorderColor;
|
|
64628
|
-
if (item.UpTextColor) this.Report.UpTextColor=item.UpTextColor;
|
|
64629
|
-
if (item.DownTextColor) this.Report.DownTextColor=item.DownTextColor;
|
|
64630
|
-
if (item.UnchagneTextColor) this.Report.UnchagneTextColor=item.UnchagneTextColor;
|
|
64631
|
-
if (item.BorderColor) this.Report.SelectedColor=item.SelectedColor;
|
|
64632
|
-
|
|
64633
|
-
|
|
64634
|
-
if (item.CloseLine)
|
|
64635
|
-
{
|
|
64636
|
-
var closeLine=item.CloseLine;
|
|
64637
|
-
if (closeLine.CloseColor) this.Report.CloseLine.CloseColor=closeLine.CloseColor;
|
|
64638
|
-
if (closeLine.YCloseColor) this.Report.CloseLine.YCloseColor=closeLine.YCloseColor;
|
|
64639
|
-
if (closeLine.AreaColor) this.Report.CloseLine.AreaColor=closeLine.AreaColor;
|
|
64640
|
-
}
|
|
64641
|
-
|
|
64642
|
-
if (item.KLine)
|
|
64643
|
-
{
|
|
64644
|
-
var kline=item.KLine;
|
|
64645
|
-
if (kline.UpColor) this.Report.KLine.UpColor=kline.UpColor;
|
|
64646
|
-
if (kline.DownColor) this.Report.KLine.DownColor=kline.DownColor;
|
|
64647
|
-
if (kline.UnchagneColor) this.Report.KLine.UnchagneColor=kline.UnchagneColor;
|
|
64648
|
-
|
|
64649
|
-
if (IFrameSplitOperator.IsNumber(kline.DataWidth)) this.Report.KLine.DataWidth=kline.DataWidth;
|
|
64650
|
-
if (IFrameSplitOperator.IsNumber(kline.DistanceWidth)) this.Report.KLine.DistanceWidth=kline.DistanceWidth;
|
|
64651
|
-
}
|
|
64652
|
-
|
|
64653
|
-
if (item.Header)
|
|
64654
|
-
{
|
|
64655
|
-
var header=item.Header;
|
|
64656
|
-
if (header.Color) this.Report.Header.Color=header.Color;
|
|
64657
|
-
if (header.SortColor) this.Report.Header.SortColor=header.SortColor;
|
|
64658
|
-
if (header.Mergin)
|
|
64659
|
-
{
|
|
64660
|
-
var mergin=header.Mergin;
|
|
64661
|
-
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.Header.Mergin.Left=mergin.Left;
|
|
64662
|
-
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.Header.Mergin.Left=mergin.Right;
|
|
64663
|
-
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.Header.Mergin.Top=mergin.Top;
|
|
64664
|
-
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.Header.Mergin.Bottom=mergin.Bottom;
|
|
64665
|
-
}
|
|
64666
|
-
if (header.Font)
|
|
64667
|
-
{
|
|
64668
|
-
var font=header.Font;
|
|
64669
|
-
if (font.Name) this.Report.Header.Font.Name=font.Name;
|
|
64670
|
-
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Header.Font.Size=font.Size;
|
|
64671
|
-
}
|
|
64672
|
-
}
|
|
64673
|
-
|
|
64674
|
-
if (item.Item)
|
|
64675
|
-
{
|
|
64676
|
-
var row=item.Item;
|
|
64677
|
-
if (row.Mergin)
|
|
64678
|
-
{
|
|
64679
|
-
var mergin=row.Mergin;
|
|
64680
|
-
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.Item.Mergin.Left=mergin.Left;
|
|
64681
|
-
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.Item.Mergin.Right=mergin.Right;
|
|
64682
|
-
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.Item.Mergin.Top=mergin.Top;
|
|
64683
|
-
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.Item.Mergin.Bottom=mergin.Bottom;
|
|
64684
|
-
}
|
|
64685
|
-
|
|
64686
|
-
if (row.Font)
|
|
64687
|
-
{
|
|
64688
|
-
var font=row.Font;
|
|
64689
|
-
if (font.Name) this.Report.Item.Font.Name=font.Name;
|
|
64690
|
-
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Item.Font.Size=font.Size;
|
|
64691
|
-
}
|
|
64692
|
-
|
|
64693
|
-
if (row.BarMergin)
|
|
64694
|
-
{
|
|
64695
|
-
var mergin=row.BarMergin;
|
|
64696
|
-
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.Item.BarMergin.Left=mergin.Left;
|
|
64697
|
-
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.Item.BarMergin.Top=mergin.Top;
|
|
64698
|
-
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.Item.BarMergin.Right=mergin.Right;
|
|
64699
|
-
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.Item.BarMergin.Bottom=mergin.Bottom;
|
|
64700
|
-
}
|
|
64701
|
-
|
|
64702
|
-
if (row.NameFont)
|
|
64703
|
-
{
|
|
64704
|
-
var font=row.NameFont;
|
|
64705
|
-
if (font.Name) this.Report.Item.NameFont.Name=font.Name;
|
|
64706
|
-
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Item.NameFont.Size=font.Size;
|
|
64707
|
-
}
|
|
64708
|
-
|
|
64709
|
-
if (row.SymbolFont)
|
|
64710
|
-
{
|
|
64711
|
-
var font=row.SymbolFont;
|
|
64712
|
-
if (font.Name) this.Report.Item.SymbolFont.Name=font.Name;
|
|
64713
|
-
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Item.SymbolFont.Size=font.Size;
|
|
64714
|
-
}
|
|
64715
|
-
}
|
|
64716
|
-
|
|
64717
|
-
if (item.FixedItem)
|
|
64718
|
-
{
|
|
64719
|
-
var row=item.FixedItem;
|
|
64720
|
-
if (row.Font)
|
|
64721
|
-
{
|
|
64722
|
-
var font=row.Font;
|
|
64723
|
-
if (font.Name) this.Report.FixedItem.Font.Name=font.Name;
|
|
64724
|
-
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.FixedItem.Font.Size=font.Size;
|
|
64725
|
-
}
|
|
64726
|
-
}
|
|
64727
|
-
|
|
64728
|
-
if (item.LimitBorder)
|
|
64729
|
-
{
|
|
64730
|
-
var limit=item.LimitBorder;
|
|
64731
|
-
if (limit.Color) this.Report.LimitBorder.Color=limit.Color;
|
|
64732
|
-
if (limit.Mergin)
|
|
64733
|
-
{
|
|
64734
|
-
var mergin=limit.Mergin;
|
|
64735
|
-
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.LimitBorder.Mergin.Left=mergin.Left;
|
|
64736
|
-
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.LimitBorder.Mergin.Top=mergin.Top;
|
|
64737
|
-
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.LimitBorder.Mergin.Right=mergin.Right;
|
|
64738
|
-
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.LimitBorder.Mergin.Bottom=mergin.Bottom;
|
|
64739
|
-
}
|
|
64740
|
-
}
|
|
64741
|
-
|
|
64742
|
-
if (item.LimitColor)
|
|
64743
|
-
{
|
|
64744
|
-
var limit=item.LimitColor;
|
|
64745
|
-
if (limit.UpColor) this.Report.LimitColor.UpColor=limit.UpColor;
|
|
64746
|
-
if (limit.DownColor) this.Report.LimitColor.DownColor=limit.DownColor;
|
|
64747
|
-
if (limit.TextColor) this.Report.LimitColor.UpColor=limit.TextColor;
|
|
64748
|
-
}
|
|
64749
|
-
|
|
64750
|
-
if (item.FieldColor)
|
|
64751
|
-
{
|
|
64752
|
-
var filed=item.FieldColor;
|
|
64753
|
-
if (filed.Name) this.Report.FieldColor.Name=filed.Name;
|
|
64754
|
-
if (filed.Symbol) this.Report.FieldColor.Symbol=filed.Symbol;
|
|
64755
|
-
if (filed.Vol) this.Report.FieldColor.Vol=filed.Vol;
|
|
64756
|
-
if (filed.Amount) this.Report.FieldColor.Amount=filed.Amount;
|
|
64757
|
-
if (filed.Index) this.Report.FieldColor.Index=filed.Index;
|
|
64758
|
-
if (filed.BarTitle) this.Report.FieldColor.BarTitle=filed.BarTitle;
|
|
64759
|
-
if (filed.Text) this.Report.FieldColor.Text=filed.Text;
|
|
64760
|
-
|
|
64761
|
-
if (IFrameSplitOperator.IsNonEmptyArray(filed.Bar))
|
|
64762
|
-
{
|
|
64763
|
-
for(var i=0;i<filed.Bar.length;++i)
|
|
64764
|
-
this.Report.FieldColor.Bar[i]=filed.Bar[i];
|
|
64765
|
-
}
|
|
64766
|
-
}
|
|
64767
|
-
|
|
64768
|
-
if (item.Tab)
|
|
64769
|
-
{
|
|
64770
|
-
var tab=item.Tab;
|
|
64771
|
-
if (tab.Font)
|
|
64772
|
-
{
|
|
64773
|
-
var font=tab.Font;
|
|
64774
|
-
if (font.Name) this.Report.Tab.Font.Name=font.Name;
|
|
64775
|
-
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Tab.Font.Size=font.Size;
|
|
64776
|
-
}
|
|
64777
|
-
|
|
64778
|
-
if (IFrameSplitOperator.IsNumber(tab.ScrollBarWidth)) this.Report.Tab.ScrollBarWidth=tab.ScrollBarWidth;
|
|
64779
|
-
if (tab.ButtonColor) this.Report.Tab.ButtonColor=tab.ButtonColor;
|
|
64780
|
-
if (tab.BarColor) this.Report.Tab.BarColor=tab.BarColor;
|
|
64781
|
-
if (tab.BorderColor) this.Report.Tab.BorderColor=tab.BorderColor;
|
|
64782
|
-
|
|
64783
|
-
if (tab.TabTitleColor) this.Report.Tab.TabTitleColor=tab.TabTitleColor;
|
|
64784
|
-
if (tab.TabSelectedTitleColor) this.Report.Tab.TabSelectedTitleColor=tab.TabSelectedTitleColor;
|
|
64785
|
-
if (tab.TabSelectedBGColor) this.Report.Tab.TabSelectedBGColor=tab.TabSelectedBGColor;
|
|
64786
|
-
if (tab.TabMoveOnTitleColor) this.Report.Tab.TabMoveOnTitleColor=tab.TabMoveOnTitleColor;
|
|
64787
|
-
if (tab.TabBGColor) this.Report.Tab.TabBGColor=tab.TabBGColor;
|
|
64788
|
-
}
|
|
64789
|
-
|
|
64790
|
-
if (item.PageInfo)
|
|
64791
|
-
{
|
|
64792
|
-
var pageinfo=item.PageInfo;
|
|
64793
|
-
if (pageinfo.Font)
|
|
64794
|
-
{
|
|
64795
|
-
var font=pageinfo.Font;
|
|
64796
|
-
if (font.Name) this.Report.PageInfo.Font.Name=font.Name;
|
|
64797
|
-
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.PageInfo.Font.Size=font.Size;
|
|
64798
|
-
}
|
|
64799
|
-
|
|
64800
|
-
if (pageinfo.TextColor) this.Report.PageInfo.TextColor=pageinfo.TextColor;
|
|
64801
|
-
if (pageinfo.BGColor) this.Report.PageInfo.BGColor=pageinfo.BGColor;
|
|
64802
|
-
|
|
64803
|
-
if (pageinfo.Mergin)
|
|
64804
|
-
{
|
|
64805
|
-
var mergin=pageinfo.Mergin;
|
|
64806
|
-
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.PageInfo.Mergin.Left=mergin.Left;
|
|
64807
|
-
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.PageInfo.Mergin.Top=mergin.Top;
|
|
64808
|
-
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.PageInfo.Mergin.Right=mergin.Right;
|
|
64809
|
-
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.PageInfo.Mergin.Bottom=mergin.Bottom;
|
|
64810
|
-
}
|
|
64811
|
-
}
|
|
64812
|
-
|
|
64813
|
-
if (item.DragRow)
|
|
64814
|
-
{
|
|
64815
|
-
var dragRow=item.DragRow;
|
|
64816
|
-
if (dragRow.Color) this.Report.DragRow.Color=dragRow.Color;
|
|
64817
|
-
if (dragRow.TextColor) this.Report.DragRow.TextColor=dragRow.TextColor;
|
|
64818
|
-
if (dragRow.MoveRowColor) this.Report.DragRow.MoveRowColor=dragRow.MoveRowColor;
|
|
64819
|
-
if (dragRow.SrcRowColor) this.Report.DragRow.SrcRowColor=dragRow.SrcRowColor;
|
|
64820
|
-
}
|
|
64821
|
-
}
|
|
64822
|
-
|
|
64650
|
+
if (style.Report) this.SetReportStyle(style.Report);
|
|
64651
|
+
|
|
64823
64652
|
if (style.TReport) this.SetTReportStyle(style.TReport);
|
|
64824
64653
|
|
|
64825
64654
|
if (style.SelectedChart)
|
|
@@ -64922,6 +64751,218 @@ function JSChartResource()
|
|
|
64922
64751
|
}
|
|
64923
64752
|
}
|
|
64924
64753
|
|
|
64754
|
+
this.SetReportStyle=function(style)
|
|
64755
|
+
{
|
|
64756
|
+
var item=style;
|
|
64757
|
+
var dest=this.Report;
|
|
64758
|
+
|
|
64759
|
+
if (item.BorderColor) this.Report.BorderColor=item.BorderColor;
|
|
64760
|
+
if (item.UpTextColor) this.Report.UpTextColor=item.UpTextColor;
|
|
64761
|
+
if (item.DownTextColor) this.Report.DownTextColor=item.DownTextColor;
|
|
64762
|
+
if (item.UnchagneTextColor) this.Report.UnchagneTextColor=item.UnchagneTextColor;
|
|
64763
|
+
if (item.BorderColor) this.Report.SelectedColor=item.SelectedColor;
|
|
64764
|
+
|
|
64765
|
+
|
|
64766
|
+
if (item.CloseLine)
|
|
64767
|
+
{
|
|
64768
|
+
var closeLine=item.CloseLine;
|
|
64769
|
+
if (closeLine.CloseColor) this.Report.CloseLine.CloseColor=closeLine.CloseColor;
|
|
64770
|
+
if (closeLine.YCloseColor) this.Report.CloseLine.YCloseColor=closeLine.YCloseColor;
|
|
64771
|
+
if (closeLine.AreaColor) this.Report.CloseLine.AreaColor=closeLine.AreaColor;
|
|
64772
|
+
}
|
|
64773
|
+
|
|
64774
|
+
if (item.KLine)
|
|
64775
|
+
{
|
|
64776
|
+
var kline=item.KLine;
|
|
64777
|
+
if (kline.UpColor) this.Report.KLine.UpColor=kline.UpColor;
|
|
64778
|
+
if (kline.DownColor) this.Report.KLine.DownColor=kline.DownColor;
|
|
64779
|
+
if (kline.UnchagneColor) this.Report.KLine.UnchagneColor=kline.UnchagneColor;
|
|
64780
|
+
|
|
64781
|
+
if (IFrameSplitOperator.IsNumber(kline.DataWidth)) this.Report.KLine.DataWidth=kline.DataWidth;
|
|
64782
|
+
if (IFrameSplitOperator.IsNumber(kline.DistanceWidth)) this.Report.KLine.DistanceWidth=kline.DistanceWidth;
|
|
64783
|
+
}
|
|
64784
|
+
|
|
64785
|
+
if (item.Header)
|
|
64786
|
+
{
|
|
64787
|
+
var header=item.Header;
|
|
64788
|
+
if (header.Color) this.Report.Header.Color=header.Color;
|
|
64789
|
+
if (header.SortColor) this.Report.Header.SortColor=header.SortColor;
|
|
64790
|
+
if (header.Mergin)
|
|
64791
|
+
{
|
|
64792
|
+
var mergin=header.Mergin;
|
|
64793
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.Header.Mergin.Left=mergin.Left;
|
|
64794
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.Header.Mergin.Left=mergin.Right;
|
|
64795
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.Header.Mergin.Top=mergin.Top;
|
|
64796
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.Header.Mergin.Bottom=mergin.Bottom;
|
|
64797
|
+
}
|
|
64798
|
+
if (header.Font)
|
|
64799
|
+
{
|
|
64800
|
+
var font=header.Font;
|
|
64801
|
+
if (font.Name) this.Report.Header.Font.Name=font.Name;
|
|
64802
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Header.Font.Size=font.Size;
|
|
64803
|
+
}
|
|
64804
|
+
}
|
|
64805
|
+
|
|
64806
|
+
if (item.Item)
|
|
64807
|
+
{
|
|
64808
|
+
var row=item.Item;
|
|
64809
|
+
if (row.Mergin)
|
|
64810
|
+
{
|
|
64811
|
+
var mergin=row.Mergin;
|
|
64812
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.Item.Mergin.Left=mergin.Left;
|
|
64813
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.Item.Mergin.Right=mergin.Right;
|
|
64814
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.Item.Mergin.Top=mergin.Top;
|
|
64815
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.Item.Mergin.Bottom=mergin.Bottom;
|
|
64816
|
+
}
|
|
64817
|
+
|
|
64818
|
+
if (row.Font)
|
|
64819
|
+
{
|
|
64820
|
+
var font=row.Font;
|
|
64821
|
+
if (font.Name) this.Report.Item.Font.Name=font.Name;
|
|
64822
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Item.Font.Size=font.Size;
|
|
64823
|
+
}
|
|
64824
|
+
|
|
64825
|
+
if (row.BarMergin)
|
|
64826
|
+
{
|
|
64827
|
+
var mergin=row.BarMergin;
|
|
64828
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.Item.BarMergin.Left=mergin.Left;
|
|
64829
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.Item.BarMergin.Top=mergin.Top;
|
|
64830
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.Item.BarMergin.Right=mergin.Right;
|
|
64831
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.Item.BarMergin.Bottom=mergin.Bottom;
|
|
64832
|
+
}
|
|
64833
|
+
|
|
64834
|
+
if (row.NameFont)
|
|
64835
|
+
{
|
|
64836
|
+
var font=row.NameFont;
|
|
64837
|
+
if (font.Name) this.Report.Item.NameFont.Name=font.Name;
|
|
64838
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Item.NameFont.Size=font.Size;
|
|
64839
|
+
}
|
|
64840
|
+
|
|
64841
|
+
if (row.SymbolFont)
|
|
64842
|
+
{
|
|
64843
|
+
var font=row.SymbolFont;
|
|
64844
|
+
if (font.Name) this.Report.Item.SymbolFont.Name=font.Name;
|
|
64845
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Item.SymbolFont.Size=font.Size;
|
|
64846
|
+
}
|
|
64847
|
+
}
|
|
64848
|
+
|
|
64849
|
+
if (item.FixedItem)
|
|
64850
|
+
{
|
|
64851
|
+
var row=item.FixedItem;
|
|
64852
|
+
if (row.Font)
|
|
64853
|
+
{
|
|
64854
|
+
var font=row.Font;
|
|
64855
|
+
if (font.Name) this.Report.FixedItem.Font.Name=font.Name;
|
|
64856
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.FixedItem.Font.Size=font.Size;
|
|
64857
|
+
}
|
|
64858
|
+
}
|
|
64859
|
+
|
|
64860
|
+
if (item.LimitBorder)
|
|
64861
|
+
{
|
|
64862
|
+
var limit=item.LimitBorder;
|
|
64863
|
+
if (limit.Color) this.Report.LimitBorder.Color=limit.Color;
|
|
64864
|
+
if (limit.Mergin)
|
|
64865
|
+
{
|
|
64866
|
+
var mergin=limit.Mergin;
|
|
64867
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.LimitBorder.Mergin.Left=mergin.Left;
|
|
64868
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.LimitBorder.Mergin.Top=mergin.Top;
|
|
64869
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.LimitBorder.Mergin.Right=mergin.Right;
|
|
64870
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.LimitBorder.Mergin.Bottom=mergin.Bottom;
|
|
64871
|
+
}
|
|
64872
|
+
}
|
|
64873
|
+
|
|
64874
|
+
if (item.LimitColor)
|
|
64875
|
+
{
|
|
64876
|
+
var limit=item.LimitColor;
|
|
64877
|
+
if (limit.UpColor) this.Report.LimitColor.UpColor=limit.UpColor;
|
|
64878
|
+
if (limit.DownColor) this.Report.LimitColor.DownColor=limit.DownColor;
|
|
64879
|
+
if (limit.TextColor) this.Report.LimitColor.UpColor=limit.TextColor;
|
|
64880
|
+
}
|
|
64881
|
+
|
|
64882
|
+
if (item.FieldColor)
|
|
64883
|
+
{
|
|
64884
|
+
var filed=item.FieldColor;
|
|
64885
|
+
if (filed.Name) this.Report.FieldColor.Name=filed.Name;
|
|
64886
|
+
if (filed.Symbol) this.Report.FieldColor.Symbol=filed.Symbol;
|
|
64887
|
+
if (filed.Vol) this.Report.FieldColor.Vol=filed.Vol;
|
|
64888
|
+
if (filed.Amount) this.Report.FieldColor.Amount=filed.Amount;
|
|
64889
|
+
if (filed.Index) this.Report.FieldColor.Index=filed.Index;
|
|
64890
|
+
if (filed.BarTitle) this.Report.FieldColor.BarTitle=filed.BarTitle;
|
|
64891
|
+
if (filed.Text) this.Report.FieldColor.Text=filed.Text;
|
|
64892
|
+
|
|
64893
|
+
if (IFrameSplitOperator.IsNonEmptyArray(filed.Bar))
|
|
64894
|
+
{
|
|
64895
|
+
for(var i=0;i<filed.Bar.length;++i)
|
|
64896
|
+
this.Report.FieldColor.Bar[i]=filed.Bar[i];
|
|
64897
|
+
}
|
|
64898
|
+
}
|
|
64899
|
+
|
|
64900
|
+
if (item.Tab)
|
|
64901
|
+
{
|
|
64902
|
+
var tab=item.Tab;
|
|
64903
|
+
if (tab.Font)
|
|
64904
|
+
{
|
|
64905
|
+
var font=tab.Font;
|
|
64906
|
+
if (font.Name) this.Report.Tab.Font.Name=font.Name;
|
|
64907
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.Tab.Font.Size=font.Size;
|
|
64908
|
+
}
|
|
64909
|
+
|
|
64910
|
+
if (IFrameSplitOperator.IsNumber(tab.ScrollBarWidth)) this.Report.Tab.ScrollBarWidth=tab.ScrollBarWidth;
|
|
64911
|
+
if (tab.ButtonColor) this.Report.Tab.ButtonColor=tab.ButtonColor;
|
|
64912
|
+
if (tab.BarColor) this.Report.Tab.BarColor=tab.BarColor;
|
|
64913
|
+
if (tab.BorderColor) this.Report.Tab.BorderColor=tab.BorderColor;
|
|
64914
|
+
|
|
64915
|
+
if (tab.TabTitleColor) this.Report.Tab.TabTitleColor=tab.TabTitleColor;
|
|
64916
|
+
if (tab.TabSelectedTitleColor) this.Report.Tab.TabSelectedTitleColor=tab.TabSelectedTitleColor;
|
|
64917
|
+
if (tab.TabSelectedBGColor) this.Report.Tab.TabSelectedBGColor=tab.TabSelectedBGColor;
|
|
64918
|
+
if (tab.TabMoveOnTitleColor) this.Report.Tab.TabMoveOnTitleColor=tab.TabMoveOnTitleColor;
|
|
64919
|
+
if (tab.TabBGColor) this.Report.Tab.TabBGColor=tab.TabBGColor;
|
|
64920
|
+
}
|
|
64921
|
+
|
|
64922
|
+
if (item.PageInfo)
|
|
64923
|
+
{
|
|
64924
|
+
var pageinfo=item.PageInfo;
|
|
64925
|
+
if (pageinfo.Font)
|
|
64926
|
+
{
|
|
64927
|
+
var font=pageinfo.Font;
|
|
64928
|
+
if (font.Name) this.Report.PageInfo.Font.Name=font.Name;
|
|
64929
|
+
if (IFrameSplitOperator.IsNumber(font.Size)) this.Report.PageInfo.Font.Size=font.Size;
|
|
64930
|
+
}
|
|
64931
|
+
|
|
64932
|
+
if (pageinfo.TextColor) this.Report.PageInfo.TextColor=pageinfo.TextColor;
|
|
64933
|
+
if (pageinfo.BGColor) this.Report.PageInfo.BGColor=pageinfo.BGColor;
|
|
64934
|
+
|
|
64935
|
+
if (pageinfo.Mergin)
|
|
64936
|
+
{
|
|
64937
|
+
var mergin=pageinfo.Mergin;
|
|
64938
|
+
if (IFrameSplitOperator.IsNumber(mergin.Left)) this.Report.PageInfo.Mergin.Left=mergin.Left;
|
|
64939
|
+
if (IFrameSplitOperator.IsNumber(mergin.Top)) this.Report.PageInfo.Mergin.Top=mergin.Top;
|
|
64940
|
+
if (IFrameSplitOperator.IsNumber(mergin.Right)) this.Report.PageInfo.Mergin.Right=mergin.Right;
|
|
64941
|
+
if (IFrameSplitOperator.IsNumber(mergin.Bottom)) this.Report.PageInfo.Mergin.Bottom=mergin.Bottom;
|
|
64942
|
+
}
|
|
64943
|
+
}
|
|
64944
|
+
|
|
64945
|
+
if (item.DragRow)
|
|
64946
|
+
{
|
|
64947
|
+
var dragRow=item.DragRow;
|
|
64948
|
+
if (dragRow.Color) this.Report.DragRow.Color=dragRow.Color;
|
|
64949
|
+
if (dragRow.TextColor) this.Report.DragRow.TextColor=dragRow.TextColor;
|
|
64950
|
+
if (dragRow.MoveRowColor) this.Report.DragRow.MoveRowColor=dragRow.MoveRowColor;
|
|
64951
|
+
if (dragRow.SrcRowColor) this.Report.DragRow.SrcRowColor=dragRow.SrcRowColor;
|
|
64952
|
+
}
|
|
64953
|
+
|
|
64954
|
+
if (item.VScrollbar)
|
|
64955
|
+
{
|
|
64956
|
+
var subItem=item.VScrollbar;
|
|
64957
|
+
if (IFrameSplitOperator.IsNumber(subItem.ScrollBarHeight)) dest.VScrollbar.ScrollBarHeight=subItem.ScrollBarHeight;
|
|
64958
|
+
if (subItem.ButtonColor) dest.VScrollbar.ButtonColor=subItem.ButtonColor;
|
|
64959
|
+
if (subItem.BarColor) dest.VScrollbar.BarColor=subItem.BarColor;
|
|
64960
|
+
if (subItem.BorderColor) dest.VScrollbar.BorderColor=subItem.BorderColor;
|
|
64961
|
+
if (subItem.BGColor) dest.VScrollbar.BGColor=subItem.BGColor;
|
|
64962
|
+
}
|
|
64963
|
+
|
|
64964
|
+
}
|
|
64965
|
+
|
|
64925
64966
|
this.SetTReportStyle=function(style)
|
|
64926
64967
|
{
|
|
64927
64968
|
var item=style;
|