hqchart 1.1.12680 → 1.1.12687

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "hqchart",
3
3
  "description": "stock chart",
4
4
  "author": "jones2000",
5
- "version": "1.1.12680",
5
+ "version": "1.1.12687",
6
6
  "main": "lib/main.js",
7
7
  "private": false,
8
8
  "license": "Apache License 2.0",
@@ -4630,6 +4630,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
4630
4630
  this.UpdatePointByCursorIndex();
4631
4631
  this.UpdataDataoffset();
4632
4632
  this.UpdateFrameMaxMin();
4633
+ //this.ResetFrameXSplit();
4633
4634
  this.Draw();
4634
4635
  this.ShowTooltipByKeyDown();
4635
4636
  this.StopDragTimer();
@@ -4644,6 +4645,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
4644
4645
  this.UpdataDataoffset();
4645
4646
  this.UpdatePointByCursorIndex();
4646
4647
  this.UpdateFrameMaxMin();
4648
+ //this.ResetFrameXSplit();
4647
4649
  this.Draw();
4648
4650
  this.ShowTooltipByKeyDown();
4649
4651
  this.StopDragTimer();
@@ -5995,6 +5997,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
5995
5997
  this.UpdataDataoffset();
5996
5998
  this.UpdatePointByCursorIndex();
5997
5999
  this.UpdateFrameMaxMin();
6000
+ this.ResetFrameXSplit();
5998
6001
  this.Draw();
5999
6002
  this.ShowTooltipByKeyDown();
6000
6003
  this.OnKLinePageChange("keydown");
@@ -6023,6 +6026,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
6023
6026
  this.UpdataDataoffset();
6024
6027
  this.UpdatePointByCursorIndex();
6025
6028
  this.UpdateFrameMaxMin();
6029
+ this.ResetFrameXSplit();
6026
6030
  this.Draw();
6027
6031
  this.ShowTooltipByKeyDown();
6028
6032
  this.OnKLinePageChange("keydown");
@@ -6051,6 +6055,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
6051
6055
  this.UpdatePointByCursorIndex();
6052
6056
  this.UpdataDataoffset();
6053
6057
  this.UpdateFrameMaxMin();
6058
+ this.ResetFrameXSplit();
6054
6059
  this.Draw();
6055
6060
  this.ShowTooltipByKeyDown();
6056
6061
  this.OnKLinePageChange("keydown");
@@ -6064,6 +6069,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
6064
6069
  this.UpdataDataoffset();
6065
6070
  this.UpdatePointByCursorIndex();
6066
6071
  this.UpdateFrameMaxMin();
6072
+ this.ResetFrameXSplit();
6067
6073
  this.Draw();
6068
6074
  this.ShowTooltipByKeyDown();
6069
6075
  this.OnKLinePageChange("keydown");
@@ -6671,6 +6677,12 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
6671
6677
  this.Frame.ResetXYSplit();
6672
6678
  }
6673
6679
 
6680
+ this.ResetFrameXSplit=function()
6681
+ {
6682
+ if (typeof(this.Frame.ResetXSplit)=='function')
6683
+ this.Frame.ResetXSplit();
6684
+ }
6685
+
6674
6686
  this.UpdateFrameMaxMinV2=function()
6675
6687
  {
6676
6688
  var mapFrame=new Map(); //key=frameid, value:{ ChartPaint:[] }
@@ -6780,6 +6792,10 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
6780
6792
  frame.HorizontalMax=max;
6781
6793
  frame.HorizontalMin=min;
6782
6794
  }
6795
+ else
6796
+ {
6797
+ frame.XSplit=true;
6798
+ }
6783
6799
 
6784
6800
  //共享Y轴叠加指标同步下坐标
6785
6801
  for(var j=0;j<item.OverlayFrame.length;++j)
@@ -9170,6 +9186,7 @@ function IChartFramePainting()
9170
9186
  this.IsShow=true; //是否显示
9171
9187
  this.SizeChange=true; //大小是否改变
9172
9188
  this.XYSplit=true; //XY轴坐标信息改变
9189
+ this.XSplit=true; //X轴变化
9173
9190
 
9174
9191
  this.HorizontalMax; //Y轴最大值
9175
9192
  this.HorizontalMin; //Y轴最小值
@@ -9242,6 +9259,7 @@ function IChartFramePainting()
9242
9259
 
9243
9260
  this.SizeChange=false;
9244
9261
  this.XYSplit=false;
9262
+ this.XSplit=false;
9245
9263
  }
9246
9264
 
9247
9265
  this.DrawFrame=function() { }
@@ -13927,7 +13945,15 @@ function KLineFrame()
13927
13945
  //分割x,y轴坐标信息
13928
13946
  this.SplitXYCoordinate=function()
13929
13947
  {
13930
- if (this.XYSplit==false) return;
13948
+ if (this.XYSplit==false)
13949
+ {
13950
+ if (this.XSplit)
13951
+ {
13952
+ if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
13953
+ }
13954
+ return;
13955
+ }
13956
+
13931
13957
  if (this.YSplitOperator!=null) this.YSplitOperator.Operator();
13932
13958
  if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
13933
13959
  if (this.Logarithmic) this.SplitLogarithmicXYCoordinate();
@@ -14603,6 +14629,7 @@ function OverlayKLineFrame()
14603
14629
 
14604
14630
  this.SizeChange=false;
14605
14631
  this.XYSplit=false;
14632
+ this.XSplit=false;
14606
14633
  }
14607
14634
 
14608
14635
  this.DrawTitle=function() //画标题
@@ -17141,6 +17168,14 @@ function HQTradeFrame()
17141
17168
  }
17142
17169
  }
17143
17170
 
17171
+ this.ResetXSplit=function()
17172
+ {
17173
+ for(let i in this.SubFrame)
17174
+ {
17175
+ this.SubFrame[i].Frame.XSplit=true;
17176
+ }
17177
+ }
17178
+
17144
17179
  this.SetLanguage=function(languageID)
17145
17180
  {
17146
17181
  for(let i in this.SubFrame)
@@ -65023,6 +65058,7 @@ function KLineChartContainer(uielement,OffscreenElement)
65023
65058
  this.UpdataDataoffset();
65024
65059
  this.UpdatePointByCursorIndex();
65025
65060
  this.UpdateFrameMaxMin();
65061
+ this.ResetFrameXSplit();
65026
65062
  this.Draw();
65027
65063
  }
65028
65064
  else if (id===JSCHART_OPERATOR_ID.OP_GOTO_HOME)
@@ -65478,6 +65514,7 @@ function KLineChartContainer(uielement,OffscreenElement)
65478
65514
  {
65479
65515
  this.UpdataDataoffset(); //更新数据偏移
65480
65516
  this.UpdateFrameMaxMin(); //调整坐标最大 最小值
65517
+ this.ResetFrameXSplit();
65481
65518
  this.Frame.SetSizeChage(true);
65482
65519
  this.Draw();
65483
65520
  this.UpdatePointByCursorIndex(); //更新十字光标位子
@@ -65516,6 +65553,7 @@ function KLineChartContainer(uielement,OffscreenElement)
65516
65553
  this.UpdataDataoffset();
65517
65554
  this.UpdatePointByCursorIndex();
65518
65555
  this.UpdateFrameMaxMin();
65556
+ this.ResetFrameXSplit();
65519
65557
  this.Draw();
65520
65558
  this.OnKLinePageChange("wheel");
65521
65559
  }
@@ -65532,6 +65570,7 @@ function KLineChartContainer(uielement,OffscreenElement)
65532
65570
  this.UpdatePointByCursorIndex();
65533
65571
  this.UpdataDataoffset();
65534
65572
  this.UpdateFrameMaxMin();
65573
+ this.ResetFrameXSplit();
65535
65574
  this.Draw();
65536
65575
  this.OnKLinePageChange("wheel");
65537
65576
  }
@@ -68425,6 +68464,7 @@ function KLineChartContainer(uielement,OffscreenElement)
68425
68464
  {
68426
68465
  if (!this.DeleteOverlayIndex(identify, null)) return;
68427
68466
 
68467
+ this.UpdateFrameMaxMin(); //重新计算坐标范围
68428
68468
  this.Frame.ResetXYSplit(true);
68429
68469
  this.Draw();
68430
68470
  }
@@ -8774,6 +8774,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
8774
8774
  this.UpdatePointByCursorIndex();
8775
8775
  this.UpdataDataoffset();
8776
8776
  this.UpdateFrameMaxMin();
8777
+ //this.ResetFrameXSplit();
8777
8778
  this.Draw();
8778
8779
  this.ShowTooltipByKeyDown();
8779
8780
  this.StopDragTimer();
@@ -8788,6 +8789,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
8788
8789
  this.UpdataDataoffset();
8789
8790
  this.UpdatePointByCursorIndex();
8790
8791
  this.UpdateFrameMaxMin();
8792
+ //this.ResetFrameXSplit();
8791
8793
  this.Draw();
8792
8794
  this.ShowTooltipByKeyDown();
8793
8795
  this.StopDragTimer();
@@ -10139,6 +10141,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10139
10141
  this.UpdataDataoffset();
10140
10142
  this.UpdatePointByCursorIndex();
10141
10143
  this.UpdateFrameMaxMin();
10144
+ this.ResetFrameXSplit();
10142
10145
  this.Draw();
10143
10146
  this.ShowTooltipByKeyDown();
10144
10147
  this.OnKLinePageChange("keydown");
@@ -10167,6 +10170,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10167
10170
  this.UpdataDataoffset();
10168
10171
  this.UpdatePointByCursorIndex();
10169
10172
  this.UpdateFrameMaxMin();
10173
+ this.ResetFrameXSplit();
10170
10174
  this.Draw();
10171
10175
  this.ShowTooltipByKeyDown();
10172
10176
  this.OnKLinePageChange("keydown");
@@ -10195,6 +10199,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10195
10199
  this.UpdatePointByCursorIndex();
10196
10200
  this.UpdataDataoffset();
10197
10201
  this.UpdateFrameMaxMin();
10202
+ this.ResetFrameXSplit();
10198
10203
  this.Draw();
10199
10204
  this.ShowTooltipByKeyDown();
10200
10205
  this.OnKLinePageChange("keydown");
@@ -10208,6 +10213,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10208
10213
  this.UpdataDataoffset();
10209
10214
  this.UpdatePointByCursorIndex();
10210
10215
  this.UpdateFrameMaxMin();
10216
+ this.ResetFrameXSplit();
10211
10217
  this.Draw();
10212
10218
  this.ShowTooltipByKeyDown();
10213
10219
  this.OnKLinePageChange("keydown");
@@ -10815,6 +10821,12 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10815
10821
  this.Frame.ResetXYSplit();
10816
10822
  }
10817
10823
 
10824
+ this.ResetFrameXSplit=function()
10825
+ {
10826
+ if (typeof(this.Frame.ResetXSplit)=='function')
10827
+ this.Frame.ResetXSplit();
10828
+ }
10829
+
10818
10830
  this.UpdateFrameMaxMinV2=function()
10819
10831
  {
10820
10832
  var mapFrame=new Map(); //key=frameid, value:{ ChartPaint:[] }
@@ -10924,6 +10936,10 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10924
10936
  frame.HorizontalMax=max;
10925
10937
  frame.HorizontalMin=min;
10926
10938
  }
10939
+ else
10940
+ {
10941
+ frame.XSplit=true;
10942
+ }
10927
10943
 
10928
10944
  //共享Y轴叠加指标同步下坐标
10929
10945
  for(var j=0;j<item.OverlayFrame.length;++j)
@@ -13314,6 +13330,7 @@ function IChartFramePainting()
13314
13330
  this.IsShow=true; //是否显示
13315
13331
  this.SizeChange=true; //大小是否改变
13316
13332
  this.XYSplit=true; //XY轴坐标信息改变
13333
+ this.XSplit=true; //X轴变化
13317
13334
 
13318
13335
  this.HorizontalMax; //Y轴最大值
13319
13336
  this.HorizontalMin; //Y轴最小值
@@ -13386,6 +13403,7 @@ function IChartFramePainting()
13386
13403
 
13387
13404
  this.SizeChange=false;
13388
13405
  this.XYSplit=false;
13406
+ this.XSplit=false;
13389
13407
  }
13390
13408
 
13391
13409
  this.DrawFrame=function() { }
@@ -18071,7 +18089,15 @@ function KLineFrame()
18071
18089
  //分割x,y轴坐标信息
18072
18090
  this.SplitXYCoordinate=function()
18073
18091
  {
18074
- if (this.XYSplit==false) return;
18092
+ if (this.XYSplit==false)
18093
+ {
18094
+ if (this.XSplit)
18095
+ {
18096
+ if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
18097
+ }
18098
+ return;
18099
+ }
18100
+
18075
18101
  if (this.YSplitOperator!=null) this.YSplitOperator.Operator();
18076
18102
  if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
18077
18103
  if (this.Logarithmic) this.SplitLogarithmicXYCoordinate();
@@ -18747,6 +18773,7 @@ function OverlayKLineFrame()
18747
18773
 
18748
18774
  this.SizeChange=false;
18749
18775
  this.XYSplit=false;
18776
+ this.XSplit=false;
18750
18777
  }
18751
18778
 
18752
18779
  this.DrawTitle=function() //画标题
@@ -21285,6 +21312,14 @@ function HQTradeFrame()
21285
21312
  }
21286
21313
  }
21287
21314
 
21315
+ this.ResetXSplit=function()
21316
+ {
21317
+ for(let i in this.SubFrame)
21318
+ {
21319
+ this.SubFrame[i].Frame.XSplit=true;
21320
+ }
21321
+ }
21322
+
21288
21323
  this.SetLanguage=function(languageID)
21289
21324
  {
21290
21325
  for(let i in this.SubFrame)
@@ -69167,6 +69202,7 @@ function KLineChartContainer(uielement,OffscreenElement)
69167
69202
  this.UpdataDataoffset();
69168
69203
  this.UpdatePointByCursorIndex();
69169
69204
  this.UpdateFrameMaxMin();
69205
+ this.ResetFrameXSplit();
69170
69206
  this.Draw();
69171
69207
  }
69172
69208
  else if (id===JSCHART_OPERATOR_ID.OP_GOTO_HOME)
@@ -69622,6 +69658,7 @@ function KLineChartContainer(uielement,OffscreenElement)
69622
69658
  {
69623
69659
  this.UpdataDataoffset(); //更新数据偏移
69624
69660
  this.UpdateFrameMaxMin(); //调整坐标最大 最小值
69661
+ this.ResetFrameXSplit();
69625
69662
  this.Frame.SetSizeChage(true);
69626
69663
  this.Draw();
69627
69664
  this.UpdatePointByCursorIndex(); //更新十字光标位子
@@ -69660,6 +69697,7 @@ function KLineChartContainer(uielement,OffscreenElement)
69660
69697
  this.UpdataDataoffset();
69661
69698
  this.UpdatePointByCursorIndex();
69662
69699
  this.UpdateFrameMaxMin();
69700
+ this.ResetFrameXSplit();
69663
69701
  this.Draw();
69664
69702
  this.OnKLinePageChange("wheel");
69665
69703
  }
@@ -69676,6 +69714,7 @@ function KLineChartContainer(uielement,OffscreenElement)
69676
69714
  this.UpdatePointByCursorIndex();
69677
69715
  this.UpdataDataoffset();
69678
69716
  this.UpdateFrameMaxMin();
69717
+ this.ResetFrameXSplit();
69679
69718
  this.Draw();
69680
69719
  this.OnKLinePageChange("wheel");
69681
69720
  }
@@ -72569,6 +72608,7 @@ function KLineChartContainer(uielement,OffscreenElement)
72569
72608
  {
72570
72609
  if (!this.DeleteOverlayIndex(identify, null)) return;
72571
72610
 
72611
+ this.UpdateFrameMaxMin(); //重新计算坐标范围
72572
72612
  this.Frame.ResetXYSplit(true);
72573
72613
  this.Draw();
72574
72614
  }
@@ -130534,7 +130574,7 @@ function ScrollBarBGChart()
130534
130574
 
130535
130575
 
130536
130576
 
130537
- var HQCHART_VERSION="1.1.12679";
130577
+ var HQCHART_VERSION="1.1.12686";
130538
130578
 
130539
130579
  function PrintHQChartVersion()
130540
130580
  {
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var HQCHART_VERSION="1.1.12679";
8
+ var HQCHART_VERSION="1.1.12686";
9
9
 
10
10
  function PrintHQChartVersion()
11
11
  {
@@ -8818,6 +8818,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
8818
8818
  this.UpdatePointByCursorIndex();
8819
8819
  this.UpdataDataoffset();
8820
8820
  this.UpdateFrameMaxMin();
8821
+ //this.ResetFrameXSplit();
8821
8822
  this.Draw();
8822
8823
  this.ShowTooltipByKeyDown();
8823
8824
  this.StopDragTimer();
@@ -8832,6 +8833,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
8832
8833
  this.UpdataDataoffset();
8833
8834
  this.UpdatePointByCursorIndex();
8834
8835
  this.UpdateFrameMaxMin();
8836
+ //this.ResetFrameXSplit();
8835
8837
  this.Draw();
8836
8838
  this.ShowTooltipByKeyDown();
8837
8839
  this.StopDragTimer();
@@ -10183,6 +10185,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10183
10185
  this.UpdataDataoffset();
10184
10186
  this.UpdatePointByCursorIndex();
10185
10187
  this.UpdateFrameMaxMin();
10188
+ this.ResetFrameXSplit();
10186
10189
  this.Draw();
10187
10190
  this.ShowTooltipByKeyDown();
10188
10191
  this.OnKLinePageChange("keydown");
@@ -10211,6 +10214,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10211
10214
  this.UpdataDataoffset();
10212
10215
  this.UpdatePointByCursorIndex();
10213
10216
  this.UpdateFrameMaxMin();
10217
+ this.ResetFrameXSplit();
10214
10218
  this.Draw();
10215
10219
  this.ShowTooltipByKeyDown();
10216
10220
  this.OnKLinePageChange("keydown");
@@ -10239,6 +10243,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10239
10243
  this.UpdatePointByCursorIndex();
10240
10244
  this.UpdataDataoffset();
10241
10245
  this.UpdateFrameMaxMin();
10246
+ this.ResetFrameXSplit();
10242
10247
  this.Draw();
10243
10248
  this.ShowTooltipByKeyDown();
10244
10249
  this.OnKLinePageChange("keydown");
@@ -10252,6 +10257,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10252
10257
  this.UpdataDataoffset();
10253
10258
  this.UpdatePointByCursorIndex();
10254
10259
  this.UpdateFrameMaxMin();
10260
+ this.ResetFrameXSplit();
10255
10261
  this.Draw();
10256
10262
  this.ShowTooltipByKeyDown();
10257
10263
  this.OnKLinePageChange("keydown");
@@ -10859,6 +10865,12 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10859
10865
  this.Frame.ResetXYSplit();
10860
10866
  }
10861
10867
 
10868
+ this.ResetFrameXSplit=function()
10869
+ {
10870
+ if (typeof(this.Frame.ResetXSplit)=='function')
10871
+ this.Frame.ResetXSplit();
10872
+ }
10873
+
10862
10874
  this.UpdateFrameMaxMinV2=function()
10863
10875
  {
10864
10876
  var mapFrame=new Map(); //key=frameid, value:{ ChartPaint:[] }
@@ -10968,6 +10980,10 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
10968
10980
  frame.HorizontalMax=max;
10969
10981
  frame.HorizontalMin=min;
10970
10982
  }
10983
+ else
10984
+ {
10985
+ frame.XSplit=true;
10986
+ }
10971
10987
 
10972
10988
  //共享Y轴叠加指标同步下坐标
10973
10989
  for(var j=0;j<item.OverlayFrame.length;++j)
@@ -13358,6 +13374,7 @@ function IChartFramePainting()
13358
13374
  this.IsShow=true; //是否显示
13359
13375
  this.SizeChange=true; //大小是否改变
13360
13376
  this.XYSplit=true; //XY轴坐标信息改变
13377
+ this.XSplit=true; //X轴变化
13361
13378
 
13362
13379
  this.HorizontalMax; //Y轴最大值
13363
13380
  this.HorizontalMin; //Y轴最小值
@@ -13430,6 +13447,7 @@ function IChartFramePainting()
13430
13447
 
13431
13448
  this.SizeChange=false;
13432
13449
  this.XYSplit=false;
13450
+ this.XSplit=false;
13433
13451
  }
13434
13452
 
13435
13453
  this.DrawFrame=function() { }
@@ -18115,7 +18133,15 @@ function KLineFrame()
18115
18133
  //分割x,y轴坐标信息
18116
18134
  this.SplitXYCoordinate=function()
18117
18135
  {
18118
- if (this.XYSplit==false) return;
18136
+ if (this.XYSplit==false)
18137
+ {
18138
+ if (this.XSplit)
18139
+ {
18140
+ if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
18141
+ }
18142
+ return;
18143
+ }
18144
+
18119
18145
  if (this.YSplitOperator!=null) this.YSplitOperator.Operator();
18120
18146
  if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
18121
18147
  if (this.Logarithmic) this.SplitLogarithmicXYCoordinate();
@@ -18791,6 +18817,7 @@ function OverlayKLineFrame()
18791
18817
 
18792
18818
  this.SizeChange=false;
18793
18819
  this.XYSplit=false;
18820
+ this.XSplit=false;
18794
18821
  }
18795
18822
 
18796
18823
  this.DrawTitle=function() //画标题
@@ -21329,6 +21356,14 @@ function HQTradeFrame()
21329
21356
  }
21330
21357
  }
21331
21358
 
21359
+ this.ResetXSplit=function()
21360
+ {
21361
+ for(let i in this.SubFrame)
21362
+ {
21363
+ this.SubFrame[i].Frame.XSplit=true;
21364
+ }
21365
+ }
21366
+
21332
21367
  this.SetLanguage=function(languageID)
21333
21368
  {
21334
21369
  for(let i in this.SubFrame)
@@ -69211,6 +69246,7 @@ function KLineChartContainer(uielement,OffscreenElement)
69211
69246
  this.UpdataDataoffset();
69212
69247
  this.UpdatePointByCursorIndex();
69213
69248
  this.UpdateFrameMaxMin();
69249
+ this.ResetFrameXSplit();
69214
69250
  this.Draw();
69215
69251
  }
69216
69252
  else if (id===JSCHART_OPERATOR_ID.OP_GOTO_HOME)
@@ -69666,6 +69702,7 @@ function KLineChartContainer(uielement,OffscreenElement)
69666
69702
  {
69667
69703
  this.UpdataDataoffset(); //更新数据偏移
69668
69704
  this.UpdateFrameMaxMin(); //调整坐标最大 最小值
69705
+ this.ResetFrameXSplit();
69669
69706
  this.Frame.SetSizeChage(true);
69670
69707
  this.Draw();
69671
69708
  this.UpdatePointByCursorIndex(); //更新十字光标位子
@@ -69704,6 +69741,7 @@ function KLineChartContainer(uielement,OffscreenElement)
69704
69741
  this.UpdataDataoffset();
69705
69742
  this.UpdatePointByCursorIndex();
69706
69743
  this.UpdateFrameMaxMin();
69744
+ this.ResetFrameXSplit();
69707
69745
  this.Draw();
69708
69746
  this.OnKLinePageChange("wheel");
69709
69747
  }
@@ -69720,6 +69758,7 @@ function KLineChartContainer(uielement,OffscreenElement)
69720
69758
  this.UpdatePointByCursorIndex();
69721
69759
  this.UpdataDataoffset();
69722
69760
  this.UpdateFrameMaxMin();
69761
+ this.ResetFrameXSplit();
69723
69762
  this.Draw();
69724
69763
  this.OnKLinePageChange("wheel");
69725
69764
  }
@@ -72613,6 +72652,7 @@ function KLineChartContainer(uielement,OffscreenElement)
72613
72652
  {
72614
72653
  if (!this.DeleteOverlayIndex(identify, null)) return;
72615
72654
 
72655
+ this.UpdateFrameMaxMin(); //重新计算坐标范围
72616
72656
  this.Frame.ResetXYSplit(true);
72617
72657
  this.Draw();
72618
72658
  }
@@ -130692,7 +130732,7 @@ function HQChartScriptWorker()
130692
130732
 
130693
130733
 
130694
130734
 
130695
- var HQCHART_VERSION="1.1.12679";
130735
+ var HQCHART_VERSION="1.1.12686";
130696
130736
 
130697
130737
  function PrintHQChartVersion()
130698
130738
  {
@@ -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)
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var HQCHART_VERSION="1.1.12676";
8
+ var HQCHART_VERSION="1.1.12681";
9
9
 
10
10
  function PrintHQChartVersion()
11
11
  {
@@ -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)