hqchart 1.1.12680 → 1.1.12685
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 +188 -186
- package/package.json +1 -1
- package/src/jscommon/umychart.js +33 -1
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +34 -2
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +34 -2
- package/src/jscommon/umychart.wechat/umychart.framesplit.wechat.js +21 -0
- package/src/jscommon/umychart.wechat/umychart.version.wechat.js +1 -1
- package/src/jscommon/umychart.wechat/umychart.wechat.3.0.js +5 -5
package/package.json
CHANGED
package/src/jscommon/umychart.js
CHANGED
|
@@ -5995,6 +5995,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
5995
5995
|
this.UpdataDataoffset();
|
|
5996
5996
|
this.UpdatePointByCursorIndex();
|
|
5997
5997
|
this.UpdateFrameMaxMin();
|
|
5998
|
+
this.ResetFrameXSplit();
|
|
5998
5999
|
this.Draw();
|
|
5999
6000
|
this.ShowTooltipByKeyDown();
|
|
6000
6001
|
this.OnKLinePageChange("keydown");
|
|
@@ -6023,6 +6024,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
6023
6024
|
this.UpdataDataoffset();
|
|
6024
6025
|
this.UpdatePointByCursorIndex();
|
|
6025
6026
|
this.UpdateFrameMaxMin();
|
|
6027
|
+
this.ResetFrameXSplit();
|
|
6026
6028
|
this.Draw();
|
|
6027
6029
|
this.ShowTooltipByKeyDown();
|
|
6028
6030
|
this.OnKLinePageChange("keydown");
|
|
@@ -6051,6 +6053,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
6051
6053
|
this.UpdatePointByCursorIndex();
|
|
6052
6054
|
this.UpdataDataoffset();
|
|
6053
6055
|
this.UpdateFrameMaxMin();
|
|
6056
|
+
this.ResetFrameXSplit();
|
|
6054
6057
|
this.Draw();
|
|
6055
6058
|
this.ShowTooltipByKeyDown();
|
|
6056
6059
|
this.OnKLinePageChange("keydown");
|
|
@@ -6064,6 +6067,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
6064
6067
|
this.UpdataDataoffset();
|
|
6065
6068
|
this.UpdatePointByCursorIndex();
|
|
6066
6069
|
this.UpdateFrameMaxMin();
|
|
6070
|
+
this.ResetFrameXSplit();
|
|
6067
6071
|
this.Draw();
|
|
6068
6072
|
this.ShowTooltipByKeyDown();
|
|
6069
6073
|
this.OnKLinePageChange("keydown");
|
|
@@ -6671,6 +6675,12 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
6671
6675
|
this.Frame.ResetXYSplit();
|
|
6672
6676
|
}
|
|
6673
6677
|
|
|
6678
|
+
this.ResetFrameXSplit=function()
|
|
6679
|
+
{
|
|
6680
|
+
if (typeof(this.Frame.ResetXSplit)=='function')
|
|
6681
|
+
this.Frame.ResetXSplit();
|
|
6682
|
+
}
|
|
6683
|
+
|
|
6674
6684
|
this.UpdateFrameMaxMinV2=function()
|
|
6675
6685
|
{
|
|
6676
6686
|
var mapFrame=new Map(); //key=frameid, value:{ ChartPaint:[] }
|
|
@@ -9170,6 +9180,7 @@ function IChartFramePainting()
|
|
|
9170
9180
|
this.IsShow=true; //是否显示
|
|
9171
9181
|
this.SizeChange=true; //大小是否改变
|
|
9172
9182
|
this.XYSplit=true; //XY轴坐标信息改变
|
|
9183
|
+
this.XSplit=true; //X轴变化
|
|
9173
9184
|
|
|
9174
9185
|
this.HorizontalMax; //Y轴最大值
|
|
9175
9186
|
this.HorizontalMin; //Y轴最小值
|
|
@@ -9242,6 +9253,7 @@ function IChartFramePainting()
|
|
|
9242
9253
|
|
|
9243
9254
|
this.SizeChange=false;
|
|
9244
9255
|
this.XYSplit=false;
|
|
9256
|
+
this.XSplit=false;
|
|
9245
9257
|
}
|
|
9246
9258
|
|
|
9247
9259
|
this.DrawFrame=function() { }
|
|
@@ -13927,7 +13939,15 @@ function KLineFrame()
|
|
|
13927
13939
|
//分割x,y轴坐标信息
|
|
13928
13940
|
this.SplitXYCoordinate=function()
|
|
13929
13941
|
{
|
|
13930
|
-
if (this.XYSplit==false)
|
|
13942
|
+
if (this.XYSplit==false)
|
|
13943
|
+
{
|
|
13944
|
+
if (this.XSplit)
|
|
13945
|
+
{
|
|
13946
|
+
if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
|
|
13947
|
+
}
|
|
13948
|
+
return;
|
|
13949
|
+
}
|
|
13950
|
+
|
|
13931
13951
|
if (this.YSplitOperator!=null) this.YSplitOperator.Operator();
|
|
13932
13952
|
if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
|
|
13933
13953
|
if (this.Logarithmic) this.SplitLogarithmicXYCoordinate();
|
|
@@ -14603,6 +14623,7 @@ function OverlayKLineFrame()
|
|
|
14603
14623
|
|
|
14604
14624
|
this.SizeChange=false;
|
|
14605
14625
|
this.XYSplit=false;
|
|
14626
|
+
this.XSplit=false;
|
|
14606
14627
|
}
|
|
14607
14628
|
|
|
14608
14629
|
this.DrawTitle=function() //画标题
|
|
@@ -17141,6 +17162,14 @@ function HQTradeFrame()
|
|
|
17141
17162
|
}
|
|
17142
17163
|
}
|
|
17143
17164
|
|
|
17165
|
+
this.ResetXSplit=function()
|
|
17166
|
+
{
|
|
17167
|
+
for(let i in this.SubFrame)
|
|
17168
|
+
{
|
|
17169
|
+
this.SubFrame[i].Frame.XSplit=true;
|
|
17170
|
+
}
|
|
17171
|
+
}
|
|
17172
|
+
|
|
17144
17173
|
this.SetLanguage=function(languageID)
|
|
17145
17174
|
{
|
|
17146
17175
|
for(let i in this.SubFrame)
|
|
@@ -65516,6 +65545,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
65516
65545
|
this.UpdataDataoffset();
|
|
65517
65546
|
this.UpdatePointByCursorIndex();
|
|
65518
65547
|
this.UpdateFrameMaxMin();
|
|
65548
|
+
this.ResetFrameXSplit();
|
|
65519
65549
|
this.Draw();
|
|
65520
65550
|
this.OnKLinePageChange("wheel");
|
|
65521
65551
|
}
|
|
@@ -65532,6 +65562,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
65532
65562
|
this.UpdatePointByCursorIndex();
|
|
65533
65563
|
this.UpdataDataoffset();
|
|
65534
65564
|
this.UpdateFrameMaxMin();
|
|
65565
|
+
this.ResetFrameXSplit();
|
|
65535
65566
|
this.Draw();
|
|
65536
65567
|
this.OnKLinePageChange("wheel");
|
|
65537
65568
|
}
|
|
@@ -68425,6 +68456,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
68425
68456
|
{
|
|
68426
68457
|
if (!this.DeleteOverlayIndex(identify, null)) return;
|
|
68427
68458
|
|
|
68459
|
+
this.UpdateFrameMaxMin(); //重新计算坐标范围
|
|
68428
68460
|
this.Frame.ResetXYSplit(true);
|
|
68429
68461
|
this.Draw();
|
|
68430
68462
|
}
|
|
@@ -10139,6 +10139,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10139
10139
|
this.UpdataDataoffset();
|
|
10140
10140
|
this.UpdatePointByCursorIndex();
|
|
10141
10141
|
this.UpdateFrameMaxMin();
|
|
10142
|
+
this.ResetFrameXSplit();
|
|
10142
10143
|
this.Draw();
|
|
10143
10144
|
this.ShowTooltipByKeyDown();
|
|
10144
10145
|
this.OnKLinePageChange("keydown");
|
|
@@ -10167,6 +10168,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10167
10168
|
this.UpdataDataoffset();
|
|
10168
10169
|
this.UpdatePointByCursorIndex();
|
|
10169
10170
|
this.UpdateFrameMaxMin();
|
|
10171
|
+
this.ResetFrameXSplit();
|
|
10170
10172
|
this.Draw();
|
|
10171
10173
|
this.ShowTooltipByKeyDown();
|
|
10172
10174
|
this.OnKLinePageChange("keydown");
|
|
@@ -10195,6 +10197,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10195
10197
|
this.UpdatePointByCursorIndex();
|
|
10196
10198
|
this.UpdataDataoffset();
|
|
10197
10199
|
this.UpdateFrameMaxMin();
|
|
10200
|
+
this.ResetFrameXSplit();
|
|
10198
10201
|
this.Draw();
|
|
10199
10202
|
this.ShowTooltipByKeyDown();
|
|
10200
10203
|
this.OnKLinePageChange("keydown");
|
|
@@ -10208,6 +10211,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10208
10211
|
this.UpdataDataoffset();
|
|
10209
10212
|
this.UpdatePointByCursorIndex();
|
|
10210
10213
|
this.UpdateFrameMaxMin();
|
|
10214
|
+
this.ResetFrameXSplit();
|
|
10211
10215
|
this.Draw();
|
|
10212
10216
|
this.ShowTooltipByKeyDown();
|
|
10213
10217
|
this.OnKLinePageChange("keydown");
|
|
@@ -10815,6 +10819,12 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10815
10819
|
this.Frame.ResetXYSplit();
|
|
10816
10820
|
}
|
|
10817
10821
|
|
|
10822
|
+
this.ResetFrameXSplit=function()
|
|
10823
|
+
{
|
|
10824
|
+
if (typeof(this.Frame.ResetXSplit)=='function')
|
|
10825
|
+
this.Frame.ResetXSplit();
|
|
10826
|
+
}
|
|
10827
|
+
|
|
10818
10828
|
this.UpdateFrameMaxMinV2=function()
|
|
10819
10829
|
{
|
|
10820
10830
|
var mapFrame=new Map(); //key=frameid, value:{ ChartPaint:[] }
|
|
@@ -13314,6 +13324,7 @@ function IChartFramePainting()
|
|
|
13314
13324
|
this.IsShow=true; //是否显示
|
|
13315
13325
|
this.SizeChange=true; //大小是否改变
|
|
13316
13326
|
this.XYSplit=true; //XY轴坐标信息改变
|
|
13327
|
+
this.XSplit=true; //X轴变化
|
|
13317
13328
|
|
|
13318
13329
|
this.HorizontalMax; //Y轴最大值
|
|
13319
13330
|
this.HorizontalMin; //Y轴最小值
|
|
@@ -13386,6 +13397,7 @@ function IChartFramePainting()
|
|
|
13386
13397
|
|
|
13387
13398
|
this.SizeChange=false;
|
|
13388
13399
|
this.XYSplit=false;
|
|
13400
|
+
this.XSplit=false;
|
|
13389
13401
|
}
|
|
13390
13402
|
|
|
13391
13403
|
this.DrawFrame=function() { }
|
|
@@ -18071,7 +18083,15 @@ function KLineFrame()
|
|
|
18071
18083
|
//分割x,y轴坐标信息
|
|
18072
18084
|
this.SplitXYCoordinate=function()
|
|
18073
18085
|
{
|
|
18074
|
-
if (this.XYSplit==false)
|
|
18086
|
+
if (this.XYSplit==false)
|
|
18087
|
+
{
|
|
18088
|
+
if (this.XSplit)
|
|
18089
|
+
{
|
|
18090
|
+
if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
|
|
18091
|
+
}
|
|
18092
|
+
return;
|
|
18093
|
+
}
|
|
18094
|
+
|
|
18075
18095
|
if (this.YSplitOperator!=null) this.YSplitOperator.Operator();
|
|
18076
18096
|
if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
|
|
18077
18097
|
if (this.Logarithmic) this.SplitLogarithmicXYCoordinate();
|
|
@@ -18747,6 +18767,7 @@ function OverlayKLineFrame()
|
|
|
18747
18767
|
|
|
18748
18768
|
this.SizeChange=false;
|
|
18749
18769
|
this.XYSplit=false;
|
|
18770
|
+
this.XSplit=false;
|
|
18750
18771
|
}
|
|
18751
18772
|
|
|
18752
18773
|
this.DrawTitle=function() //画标题
|
|
@@ -21285,6 +21306,14 @@ function HQTradeFrame()
|
|
|
21285
21306
|
}
|
|
21286
21307
|
}
|
|
21287
21308
|
|
|
21309
|
+
this.ResetXSplit=function()
|
|
21310
|
+
{
|
|
21311
|
+
for(let i in this.SubFrame)
|
|
21312
|
+
{
|
|
21313
|
+
this.SubFrame[i].Frame.XSplit=true;
|
|
21314
|
+
}
|
|
21315
|
+
}
|
|
21316
|
+
|
|
21288
21317
|
this.SetLanguage=function(languageID)
|
|
21289
21318
|
{
|
|
21290
21319
|
for(let i in this.SubFrame)
|
|
@@ -69660,6 +69689,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
69660
69689
|
this.UpdataDataoffset();
|
|
69661
69690
|
this.UpdatePointByCursorIndex();
|
|
69662
69691
|
this.UpdateFrameMaxMin();
|
|
69692
|
+
this.ResetFrameXSplit();
|
|
69663
69693
|
this.Draw();
|
|
69664
69694
|
this.OnKLinePageChange("wheel");
|
|
69665
69695
|
}
|
|
@@ -69676,6 +69706,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
69676
69706
|
this.UpdatePointByCursorIndex();
|
|
69677
69707
|
this.UpdataDataoffset();
|
|
69678
69708
|
this.UpdateFrameMaxMin();
|
|
69709
|
+
this.ResetFrameXSplit();
|
|
69679
69710
|
this.Draw();
|
|
69680
69711
|
this.OnKLinePageChange("wheel");
|
|
69681
69712
|
}
|
|
@@ -72569,6 +72600,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
72569
72600
|
{
|
|
72570
72601
|
if (!this.DeleteOverlayIndex(identify, null)) return;
|
|
72571
72602
|
|
|
72603
|
+
this.UpdateFrameMaxMin(); //重新计算坐标范围
|
|
72572
72604
|
this.Frame.ResetXYSplit(true);
|
|
72573
72605
|
this.Draw();
|
|
72574
72606
|
}
|
|
@@ -130534,7 +130566,7 @@ function ScrollBarBGChart()
|
|
|
130534
130566
|
|
|
130535
130567
|
|
|
130536
130568
|
|
|
130537
|
-
var HQCHART_VERSION="1.1.
|
|
130569
|
+
var HQCHART_VERSION="1.1.12684";
|
|
130538
130570
|
|
|
130539
130571
|
function PrintHQChartVersion()
|
|
130540
130572
|
{
|
|
@@ -10183,6 +10183,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10183
10183
|
this.UpdataDataoffset();
|
|
10184
10184
|
this.UpdatePointByCursorIndex();
|
|
10185
10185
|
this.UpdateFrameMaxMin();
|
|
10186
|
+
this.ResetFrameXSplit();
|
|
10186
10187
|
this.Draw();
|
|
10187
10188
|
this.ShowTooltipByKeyDown();
|
|
10188
10189
|
this.OnKLinePageChange("keydown");
|
|
@@ -10211,6 +10212,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10211
10212
|
this.UpdataDataoffset();
|
|
10212
10213
|
this.UpdatePointByCursorIndex();
|
|
10213
10214
|
this.UpdateFrameMaxMin();
|
|
10215
|
+
this.ResetFrameXSplit();
|
|
10214
10216
|
this.Draw();
|
|
10215
10217
|
this.ShowTooltipByKeyDown();
|
|
10216
10218
|
this.OnKLinePageChange("keydown");
|
|
@@ -10239,6 +10241,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10239
10241
|
this.UpdatePointByCursorIndex();
|
|
10240
10242
|
this.UpdataDataoffset();
|
|
10241
10243
|
this.UpdateFrameMaxMin();
|
|
10244
|
+
this.ResetFrameXSplit();
|
|
10242
10245
|
this.Draw();
|
|
10243
10246
|
this.ShowTooltipByKeyDown();
|
|
10244
10247
|
this.OnKLinePageChange("keydown");
|
|
@@ -10252,6 +10255,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10252
10255
|
this.UpdataDataoffset();
|
|
10253
10256
|
this.UpdatePointByCursorIndex();
|
|
10254
10257
|
this.UpdateFrameMaxMin();
|
|
10258
|
+
this.ResetFrameXSplit();
|
|
10255
10259
|
this.Draw();
|
|
10256
10260
|
this.ShowTooltipByKeyDown();
|
|
10257
10261
|
this.OnKLinePageChange("keydown");
|
|
@@ -10859,6 +10863,12 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
|
|
|
10859
10863
|
this.Frame.ResetXYSplit();
|
|
10860
10864
|
}
|
|
10861
10865
|
|
|
10866
|
+
this.ResetFrameXSplit=function()
|
|
10867
|
+
{
|
|
10868
|
+
if (typeof(this.Frame.ResetXSplit)=='function')
|
|
10869
|
+
this.Frame.ResetXSplit();
|
|
10870
|
+
}
|
|
10871
|
+
|
|
10862
10872
|
this.UpdateFrameMaxMinV2=function()
|
|
10863
10873
|
{
|
|
10864
10874
|
var mapFrame=new Map(); //key=frameid, value:{ ChartPaint:[] }
|
|
@@ -13358,6 +13368,7 @@ function IChartFramePainting()
|
|
|
13358
13368
|
this.IsShow=true; //是否显示
|
|
13359
13369
|
this.SizeChange=true; //大小是否改变
|
|
13360
13370
|
this.XYSplit=true; //XY轴坐标信息改变
|
|
13371
|
+
this.XSplit=true; //X轴变化
|
|
13361
13372
|
|
|
13362
13373
|
this.HorizontalMax; //Y轴最大值
|
|
13363
13374
|
this.HorizontalMin; //Y轴最小值
|
|
@@ -13430,6 +13441,7 @@ function IChartFramePainting()
|
|
|
13430
13441
|
|
|
13431
13442
|
this.SizeChange=false;
|
|
13432
13443
|
this.XYSplit=false;
|
|
13444
|
+
this.XSplit=false;
|
|
13433
13445
|
}
|
|
13434
13446
|
|
|
13435
13447
|
this.DrawFrame=function() { }
|
|
@@ -18115,7 +18127,15 @@ function KLineFrame()
|
|
|
18115
18127
|
//分割x,y轴坐标信息
|
|
18116
18128
|
this.SplitXYCoordinate=function()
|
|
18117
18129
|
{
|
|
18118
|
-
if (this.XYSplit==false)
|
|
18130
|
+
if (this.XYSplit==false)
|
|
18131
|
+
{
|
|
18132
|
+
if (this.XSplit)
|
|
18133
|
+
{
|
|
18134
|
+
if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
|
|
18135
|
+
}
|
|
18136
|
+
return;
|
|
18137
|
+
}
|
|
18138
|
+
|
|
18119
18139
|
if (this.YSplitOperator!=null) this.YSplitOperator.Operator();
|
|
18120
18140
|
if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
|
|
18121
18141
|
if (this.Logarithmic) this.SplitLogarithmicXYCoordinate();
|
|
@@ -18791,6 +18811,7 @@ function OverlayKLineFrame()
|
|
|
18791
18811
|
|
|
18792
18812
|
this.SizeChange=false;
|
|
18793
18813
|
this.XYSplit=false;
|
|
18814
|
+
this.XSplit=false;
|
|
18794
18815
|
}
|
|
18795
18816
|
|
|
18796
18817
|
this.DrawTitle=function() //画标题
|
|
@@ -21329,6 +21350,14 @@ function HQTradeFrame()
|
|
|
21329
21350
|
}
|
|
21330
21351
|
}
|
|
21331
21352
|
|
|
21353
|
+
this.ResetXSplit=function()
|
|
21354
|
+
{
|
|
21355
|
+
for(let i in this.SubFrame)
|
|
21356
|
+
{
|
|
21357
|
+
this.SubFrame[i].Frame.XSplit=true;
|
|
21358
|
+
}
|
|
21359
|
+
}
|
|
21360
|
+
|
|
21332
21361
|
this.SetLanguage=function(languageID)
|
|
21333
21362
|
{
|
|
21334
21363
|
for(let i in this.SubFrame)
|
|
@@ -69704,6 +69733,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
69704
69733
|
this.UpdataDataoffset();
|
|
69705
69734
|
this.UpdatePointByCursorIndex();
|
|
69706
69735
|
this.UpdateFrameMaxMin();
|
|
69736
|
+
this.ResetFrameXSplit();
|
|
69707
69737
|
this.Draw();
|
|
69708
69738
|
this.OnKLinePageChange("wheel");
|
|
69709
69739
|
}
|
|
@@ -69720,6 +69750,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
69720
69750
|
this.UpdatePointByCursorIndex();
|
|
69721
69751
|
this.UpdataDataoffset();
|
|
69722
69752
|
this.UpdateFrameMaxMin();
|
|
69753
|
+
this.ResetFrameXSplit();
|
|
69723
69754
|
this.Draw();
|
|
69724
69755
|
this.OnKLinePageChange("wheel");
|
|
69725
69756
|
}
|
|
@@ -72613,6 +72644,7 @@ function KLineChartContainer(uielement,OffscreenElement)
|
|
|
72613
72644
|
{
|
|
72614
72645
|
if (!this.DeleteOverlayIndex(identify, null)) return;
|
|
72615
72646
|
|
|
72647
|
+
this.UpdateFrameMaxMin(); //重新计算坐标范围
|
|
72616
72648
|
this.Frame.ResetXYSplit(true);
|
|
72617
72649
|
this.Draw();
|
|
72618
72650
|
}
|
|
@@ -130692,7 +130724,7 @@ function HQChartScriptWorker()
|
|
|
130692
130724
|
|
|
130693
130725
|
|
|
130694
130726
|
|
|
130695
|
-
var HQCHART_VERSION="1.1.
|
|
130727
|
+
var HQCHART_VERSION="1.1.12684";
|
|
130696
130728
|
|
|
130697
130729
|
function PrintHQChartVersion()
|
|
130698
130730
|
{
|
|
@@ -555,6 +555,17 @@ function FrameSplitKLinePriceY()
|
|
|
555
555
|
splitData.Max = this.Frame.HorizontalMax;
|
|
556
556
|
splitData.Min = this.Frame.HorizontalMin;
|
|
557
557
|
splitData.Count = this.SplitCount;
|
|
558
|
+
|
|
559
|
+
if (this.Frame.YMaxMin) //原始的数据范围
|
|
560
|
+
{
|
|
561
|
+
var item=this.Frame.YMaxMin;
|
|
562
|
+
if (IFrameSplitOperator.IsNumber(item.Max) && IFrameSplitOperator.IsNumber(item.Min))
|
|
563
|
+
{
|
|
564
|
+
splitData.Max=item.Max;
|
|
565
|
+
splitData.Min=item.Min;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
558
569
|
if (splitData.Max==splitData.Min) //如果一样上下扩大下
|
|
559
570
|
{
|
|
560
571
|
splitData.Max+=splitData.Max*0.01;
|
|
@@ -795,6 +806,16 @@ function FrameSplitY()
|
|
|
795
806
|
splitData.Max = this.Frame.HorizontalMax;
|
|
796
807
|
splitData.Min = this.Frame.HorizontalMin;
|
|
797
808
|
|
|
809
|
+
if (this.Frame.YMaxMin) //原始的数据范围
|
|
810
|
+
{
|
|
811
|
+
var item=this.Frame.YMaxMin;
|
|
812
|
+
if (IFrameSplitOperator.IsNumber(item.Max) && IFrameSplitOperator.IsNumber(item.Min))
|
|
813
|
+
{
|
|
814
|
+
splitData.Max=item.Max;
|
|
815
|
+
splitData.Min=item.Min;
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
|
|
798
819
|
if (splitData.Max==splitData.Min) //如果一样上下扩大下
|
|
799
820
|
{
|
|
800
821
|
if (splitData.Max==0)
|
|
@@ -2738,13 +2738,13 @@ function JSChartContainer(uielement)
|
|
|
2738
2738
|
|
|
2739
2739
|
frame.HorizontalMax=max;
|
|
2740
2740
|
frame.HorizontalMin=min;
|
|
2741
|
-
|
|
2742
|
-
for(var j=0;j<item.OverlayFrame.length;++j)
|
|
2743
|
-
{
|
|
2744
|
-
item.OverlayFrame[j].XYSplit=true;
|
|
2745
|
-
}
|
|
2746
2741
|
}
|
|
2747
2742
|
|
|
2743
|
+
//共享Y轴叠加指标坐标同步
|
|
2744
|
+
for(var j=0;j<item.OverlayFrame.length;++j)
|
|
2745
|
+
{
|
|
2746
|
+
item.OverlayFrame[j].XYSplit=true;
|
|
2747
|
+
}
|
|
2748
2748
|
|
|
2749
2749
|
//独立坐标叠加指标
|
|
2750
2750
|
for(var i=0;i<item.SingleOverlay.length;++i)
|