hqchart 1.1.12685 → 1.1.12693

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.
@@ -65,6 +65,7 @@ function IChartFramePainting()
65
65
  this.IsShow = true; //是否显示
66
66
  this.SizeChange = true; //大小是否改变
67
67
  this.XYSplit = true; //XY轴坐标信息改变
68
+ this.XSplit=true; //X轴坐标信息改变
68
69
 
69
70
  this.HorizontalMax; //Y轴最大值
70
71
  this.HorizontalMin; //Y轴最小值
@@ -100,6 +101,7 @@ function IChartFramePainting()
100
101
 
101
102
  this.SizeChange = false;
102
103
  this.XYSplit = false;
104
+ this.XSplit=false;
103
105
  }
104
106
 
105
107
  this.DrawFrame = function () { }
@@ -1557,6 +1559,7 @@ function OverlayMinuteFrame()
1557
1559
 
1558
1560
  this.SizeChange=false;
1559
1561
  this.XYSplit=false;
1562
+ this.XSplit=false;
1560
1563
  }
1561
1564
 
1562
1565
  this.GetScaleTextWidth=function()
@@ -2011,7 +2014,15 @@ function KLineFrame()
2011
2014
  //分割x,y轴坐标信息
2012
2015
  this.SplitXYCoordinate = function ()
2013
2016
  {
2014
- if (this.XYSplit == false) return;
2017
+ if (this.XYSplit == false)
2018
+ {
2019
+ if (this.XSplit)
2020
+ {
2021
+ if (this.XSplitOperator!=null) this.XSplitOperator.Operator();
2022
+ }
2023
+ return;
2024
+ }
2025
+
2015
2026
  if (this.YSplitOperator != null) this.YSplitOperator.Operator();
2016
2027
  if (this.XSplitOperator != null) this.XSplitOperator.Operator();
2017
2028
  }
@@ -2739,6 +2739,10 @@ function JSChartContainer(uielement)
2739
2739
  frame.HorizontalMax=max;
2740
2740
  frame.HorizontalMin=min;
2741
2741
  }
2742
+ else
2743
+ {
2744
+ frame.XSplit=true;
2745
+ }
2742
2746
 
2743
2747
  //共享Y轴叠加指标坐标同步
2744
2748
  for(var j=0;j<item.OverlayFrame.length;++j)