hqchart 1.1.13764 → 1.1.13773

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.
@@ -13942,6 +13942,9 @@ function CoordinateInfo()
13942
13942
  //百分比 { PriceColor:, PercentageColor:, SplitColor:, Font: }
13943
13943
  //自定义刻度 { Custom:{ Position: 1=强制内部 }}
13944
13944
  this.AreaData; //区域: { Start:, End:, BGColor:, Position:[0=左, 1=右] }
13945
+
13946
+ //不在当前屏范围
13947
+ //this.OutRange={ BGColor:"", TextColor:, BorderColor: TopYOffset:, BottomYOffset: }
13945
13948
  }
13946
13949
 
13947
13950
 
@@ -16126,11 +16129,117 @@ function AverageWidthFrame()
16126
16129
  return { MaxWidth:width, Text:aryText };
16127
16130
  }
16128
16131
 
16132
+ this.DrawOutRangeCustomItem=function(item, mapTextRect)
16133
+ {
16134
+ if (this.IsHScreen===true) return;
16135
+ if (!this.IsShow && !this.IsYDrawMainFrame) return;
16136
+ if (!item.Message[1] && !item.Message[0]) return;
16137
+ if (!item.OutRange) return;
16138
+ var position=0; //1=top 2=bottom
16139
+ if (item.Value>this.HorizontalMax) position=1;
16140
+ else if (item.Value<this.HorizontalMin) position=2;
16141
+ else return;
16142
+
16143
+ this.Canvas.save();
16144
+ var outRange=item.OutRange;
16145
+ var border=this.GetBorder();
16146
+ var left=border.Left;
16147
+ var right=border.Right;
16148
+ var bottom=border.Bottom;
16149
+ var top=border.Top;
16150
+ var borderRight = this.ChartBorder.Right;
16151
+ var borderLeft = this.ChartBorder.Left;
16152
+ var titleHeight = this.ChartBorder.TitleHeight;
16153
+
16154
+ if (this.IsHScreen)
16155
+ {
16156
+ borderLeft=this.ChartBorder.Top;
16157
+ borderRight=this.ChartBorder.Bottom;
16158
+ top=border.Top;
16159
+ bottom=border.Bottom;
16160
+ }
16161
+
16162
+ var pixelTatio = GetDevicePixelRatio();
16163
+ var defaultTextHeight=18*pixelTatio;
16164
+ var textHeight=defaultTextHeight;
16165
+
16166
+ if (item.Message[0] && borderLeft>=10)
16167
+ {
16168
+
16169
+ }
16170
+ else if (item.Message[1] && borderRight>=10)
16171
+ {
16172
+ if (item.Font != null) this.Canvas.font = item.Font;
16173
+ var textInfo=this.GetCustomItemTextInfo(item,false,pixelTatio);
16174
+ var textWidth=textInfo.MaxWidth;
16175
+ var itemRight=right+textWidth;
16176
+ var fontHeight=this.GetFontHeight();
16177
+ var textHeight=fontHeight>defaultTextHeight? fontHeight:defaultTextHeight;
16178
+ this.Canvas.textAlign = "left";
16179
+ this.Canvas.textBaseline = "middle";
16180
+
16181
+ var yText=null;
16182
+ if (position==1)
16183
+ {
16184
+ yText=border.TopEx;
16185
+ if (IFrameSplitOperator.IsNumber(outRange.TopYOffset)) yText+=outRange.TopYOffset;
16186
+ }
16187
+ else if (position==2)
16188
+ {
16189
+ yText=border.BottomEx+textHeight;
16190
+ if (IFrameSplitOperator.IsNumber(outRange.BottomYOffset)) yText+=outRange.BottomYOffset;
16191
+ }
16192
+
16193
+ for(var i=0;i<textInfo.Text.length;++i)
16194
+ {
16195
+ var itemText=textInfo.Text[i];
16196
+ var rtBG={ Right:itemRight, Width:itemText.Width, Bottom:yText, Height:textHeight };
16197
+ rtBG.Top=rtBG.Bottom-rtBG.Height;
16198
+ rtBG.Left=rtBG.Right-rtBG.Width;
16199
+
16200
+ if (item.ExtendLine && item.ExtendLine[1]) //右侧延长线
16201
+ {
16202
+ var exLine=item.ExtendLine[1];
16203
+ if (IFrameSplitOperator.IsNumber(exLine.Width))
16204
+ {
16205
+ var yLine=rtBG.Bottom;
16206
+ if (position==2) yLine=rtBG.Top;
16207
+ var lineType=item.LineType;
16208
+ if (IFrameSplitOperator.IsNumber(outRange.ExtendLine.Type)) lineType=outRange.ExtendLine.Type;
16209
+ if (i==0) this.DrawLine(right,right+exLine.Width,yLine,item.LineColor,lineType,item);
16210
+
16211
+ rtBG.Left+=exLine.Width;
16212
+ rtBG.Right+=exLine.Width;
16213
+ }
16214
+ }
16215
+
16216
+ this.Canvas.fillStyle=outRange.BGColor;
16217
+ this.Canvas.fillRect(rtBG.Left,rtBG.Top,rtBG.Width,rtBG.Height);
16218
+ if (outRange.Border && outRange.Border.Color)
16219
+ {
16220
+ if (IFrameSplitOperator.IsNonEmptyArray(outRange.Border.LineDash))
16221
+ this.Canvas.setLineDash(outRange.Border.LineDash); //虚线
16222
+
16223
+ this.Canvas.strokeStyle = outRange.Border.Color;
16224
+ this.Canvas.strokeRect(ToFixedPoint(rtBG.Left), ToFixedPoint(rtBG.Top), ToFixedRect(rtBG.Width), ToFixedRect(rtBG.Height));
16225
+ }
16226
+
16227
+ this.Canvas.fillStyle = outRange.TextColor;
16228
+ this.Canvas.fillText(itemText.Text, rtBG.Left + 1*pixelTatio, rtBG.Top+rtBG.Height/2+1*pixelTatio);
16229
+
16230
+ yText+=textHeight+1;
16231
+ }
16232
+ }
16233
+
16234
+ this.Canvas.restore();
16235
+ }
16236
+
16129
16237
  this.DrawCustomItem=function(item, mapTextRect) //显示自定义Y刻度
16130
16238
  {
16131
16239
  if (!item.Message[1] && !item.Message[0]) return;
16132
16240
  if (item.Value>this.HorizontalMax || item.Value<this.HorizontalMin)
16133
16241
  {
16242
+ this.DrawOutRangeCustomItem(item, mapTextRect);
16134
16243
  this.SendDrawCountDownEvent( { IsShow:false } );
16135
16244
  return;
16136
16245
  }
@@ -20983,6 +21092,7 @@ function OverlayKLineFrame()
20983
21092
  if (!item.Message[1] && !item.Message[0]) return;
20984
21093
  if (item.Value>this.HorizontalMax || item.Value<this.HorizontalMin)
20985
21094
  {
21095
+ //this.DrawOutRangeCustomItem(item, mapTextRect);
20986
21096
  this.SendDrawCountDownEvent( { IsShow:false } );
20987
21097
  return;
20988
21098
  }
@@ -121113,6 +121223,9 @@ function OverlayScriptIndex(name,script,args,option)
121113
121223
  case SCRIPT_CHART_NAME.OVERLAY_BARS:
121114
121224
  this.CreateStackedBar(hqChart,windowIndex,item,i);
121115
121225
  break;
121226
+ case "DRAWCOLORKLINE":
121227
+ this.CreateDrawColorKLine(hqChart,windowIndex,item,i);
121228
+ break;
121116
121229
 
121117
121230
  default:
121118
121231
  {
@@ -121730,6 +121843,24 @@ function OverlayScriptIndex(name,script,args,option)
121730
121843
  frame.ChartPaint.push(chart);
121731
121844
  }
121732
121845
 
121846
+ this.CreateDrawColorKLine=function(hqChart,windowIndex,varItem,id)
121847
+ {
121848
+ var overlayIndex=this.OverlayIndex;
121849
+ var frame=overlayIndex.Frame;
121850
+ let chart=new ChartColorKline();
121851
+ chart.Canvas=hqChart.Canvas;
121852
+ chart.Name=varItem.Name;
121853
+ chart.DrawName="DRAWCOLORKLINE";
121854
+ chart.ChartBorder=frame.Frame.ChartBorder;
121855
+ chart.ChartFrame=frame.Frame;
121856
+ chart.Identify=overlayIndex.Identify;
121857
+
121858
+ chart.Data.Data=varItem.Draw.DrawData;
121859
+ if (IFrameSplitOperator.IsBool(varItem.Draw.IsEmptyBar)) chart.IsEmptyBar=varItem.Draw.IsEmptyBar;
121860
+ if (varItem.Draw.Color) chart.Color=varItem.Draw.Color;
121861
+ frame.ChartPaint.push(chart);
121862
+ }
121863
+
121733
121864
  //创建图标
121734
121865
  this.CreateIcon=function(hqChart,windowIndex,varItem,id)
121735
121866
  {
@@ -122966,6 +123097,8 @@ function APIScriptIndex(name,script,args,option, isOverlay)
122966
123097
  if (IFrameSplitOperator.IsBool(item.isshow)) outVarItem.IsShow = item.isshow; //是否绘制线段
122967
123098
  if (item.isexdata==true) outVarItem.IsExData = true;
122968
123099
  if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
123100
+ if (item.UpColor) outVarItem.UpColor=item.UpColor;
123101
+ if (item.DownColor) outVarItem.DownColor=item.DownColor;
122969
123102
  if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
122970
123103
  if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
122971
123104
  if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
@@ -123227,6 +123360,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
123227
123360
 
123228
123361
  result.push(outVarItem);
123229
123362
  }
123363
+ else if (draw.DrawType=="DRAWCOLORKLINE")
123364
+ {
123365
+ drawItem.Name=draw.Name;
123366
+ drawItem.Type=draw.Type;
123367
+ drawItem.DrawType=draw.DrawType;
123368
+ drawItem.DrawData=this.FittingArray(draw.DrawData,date,time,hqChart,1);
123369
+
123370
+ outVarItem.Draw=drawItem;
123371
+ if (draw.Color) drawItem.Color=draw.Color;
123372
+ if (IFrameSplitOperator.IsBool(draw.IsEmptyBar)) drawItem.IsEmptyBar=draw.IsEmptyBar;
123373
+
123374
+ result.push(outVarItem);
123375
+ }
123230
123376
  else
123231
123377
  {
123232
123378
  var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
@@ -123441,6 +123587,9 @@ function APIScriptIndex(name,script,args,option, isOverlay)
123441
123587
  if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
123442
123588
  if (item.UpColor) outVarItem.UpColor=item.UpColor;
123443
123589
  if (item.DownColor) outVarItem.DownColor=item.DownColor;
123590
+ if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
123591
+ if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
123592
+ if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
123444
123593
 
123445
123594
  result.push(outVarItem);
123446
123595
  }
@@ -123581,6 +123730,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
123581
123730
 
123582
123731
  result.push(outVarItem);
123583
123732
  }
123733
+ else if (draw.DrawType=="DRAWCOLORKLINE")
123734
+ {
123735
+ drawItem.Name=draw.Name;
123736
+ drawItem.Type=draw.Type;
123737
+ drawItem.DrawType=draw.DrawType;
123738
+ drawItem.DrawData=this.FittingArray(draw.DrawData,date,time,hqChart,1);
123739
+
123740
+ outVarItem.Draw=drawItem;
123741
+ if (draw.Color) drawItem.Color=draw.Color;
123742
+ if (IFrameSplitOperator.IsBool(draw.IsEmptyBar)) drawItem.IsEmptyBar=draw.IsEmptyBar;
123743
+
123744
+ result.push(outVarItem);
123745
+ }
123584
123746
  else
123585
123747
  {
123586
123748
  var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
@@ -138669,7 +138831,7 @@ function ScrollBarBGChart()
138669
138831
 
138670
138832
 
138671
138833
 
138672
- var HQCHART_VERSION="1.1.13763";
138834
+ var HQCHART_VERSION="1.1.13770";
138673
138835
 
138674
138836
  function PrintHQChartVersion()
138675
138837
  {
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var HQCHART_VERSION="1.1.13763";
8
+ var HQCHART_VERSION="1.1.13770";
9
9
 
10
10
  function PrintHQChartVersion()
11
11
  {
@@ -13986,6 +13986,9 @@ function CoordinateInfo()
13986
13986
  //百分比 { PriceColor:, PercentageColor:, SplitColor:, Font: }
13987
13987
  //自定义刻度 { Custom:{ Position: 1=强制内部 }}
13988
13988
  this.AreaData; //区域: { Start:, End:, BGColor:, Position:[0=左, 1=右] }
13989
+
13990
+ //不在当前屏范围
13991
+ //this.OutRange={ BGColor:"", TextColor:, BorderColor: TopYOffset:, BottomYOffset: }
13989
13992
  }
13990
13993
 
13991
13994
 
@@ -16170,11 +16173,117 @@ function AverageWidthFrame()
16170
16173
  return { MaxWidth:width, Text:aryText };
16171
16174
  }
16172
16175
 
16176
+ this.DrawOutRangeCustomItem=function(item, mapTextRect)
16177
+ {
16178
+ if (this.IsHScreen===true) return;
16179
+ if (!this.IsShow && !this.IsYDrawMainFrame) return;
16180
+ if (!item.Message[1] && !item.Message[0]) return;
16181
+ if (!item.OutRange) return;
16182
+ var position=0; //1=top 2=bottom
16183
+ if (item.Value>this.HorizontalMax) position=1;
16184
+ else if (item.Value<this.HorizontalMin) position=2;
16185
+ else return;
16186
+
16187
+ this.Canvas.save();
16188
+ var outRange=item.OutRange;
16189
+ var border=this.GetBorder();
16190
+ var left=border.Left;
16191
+ var right=border.Right;
16192
+ var bottom=border.Bottom;
16193
+ var top=border.Top;
16194
+ var borderRight = this.ChartBorder.Right;
16195
+ var borderLeft = this.ChartBorder.Left;
16196
+ var titleHeight = this.ChartBorder.TitleHeight;
16197
+
16198
+ if (this.IsHScreen)
16199
+ {
16200
+ borderLeft=this.ChartBorder.Top;
16201
+ borderRight=this.ChartBorder.Bottom;
16202
+ top=border.Top;
16203
+ bottom=border.Bottom;
16204
+ }
16205
+
16206
+ var pixelTatio = GetDevicePixelRatio();
16207
+ var defaultTextHeight=18*pixelTatio;
16208
+ var textHeight=defaultTextHeight;
16209
+
16210
+ if (item.Message[0] && borderLeft>=10)
16211
+ {
16212
+
16213
+ }
16214
+ else if (item.Message[1] && borderRight>=10)
16215
+ {
16216
+ if (item.Font != null) this.Canvas.font = item.Font;
16217
+ var textInfo=this.GetCustomItemTextInfo(item,false,pixelTatio);
16218
+ var textWidth=textInfo.MaxWidth;
16219
+ var itemRight=right+textWidth;
16220
+ var fontHeight=this.GetFontHeight();
16221
+ var textHeight=fontHeight>defaultTextHeight? fontHeight:defaultTextHeight;
16222
+ this.Canvas.textAlign = "left";
16223
+ this.Canvas.textBaseline = "middle";
16224
+
16225
+ var yText=null;
16226
+ if (position==1)
16227
+ {
16228
+ yText=border.TopEx;
16229
+ if (IFrameSplitOperator.IsNumber(outRange.TopYOffset)) yText+=outRange.TopYOffset;
16230
+ }
16231
+ else if (position==2)
16232
+ {
16233
+ yText=border.BottomEx+textHeight;
16234
+ if (IFrameSplitOperator.IsNumber(outRange.BottomYOffset)) yText+=outRange.BottomYOffset;
16235
+ }
16236
+
16237
+ for(var i=0;i<textInfo.Text.length;++i)
16238
+ {
16239
+ var itemText=textInfo.Text[i];
16240
+ var rtBG={ Right:itemRight, Width:itemText.Width, Bottom:yText, Height:textHeight };
16241
+ rtBG.Top=rtBG.Bottom-rtBG.Height;
16242
+ rtBG.Left=rtBG.Right-rtBG.Width;
16243
+
16244
+ if (item.ExtendLine && item.ExtendLine[1]) //右侧延长线
16245
+ {
16246
+ var exLine=item.ExtendLine[1];
16247
+ if (IFrameSplitOperator.IsNumber(exLine.Width))
16248
+ {
16249
+ var yLine=rtBG.Bottom;
16250
+ if (position==2) yLine=rtBG.Top;
16251
+ var lineType=item.LineType;
16252
+ if (IFrameSplitOperator.IsNumber(outRange.ExtendLine.Type)) lineType=outRange.ExtendLine.Type;
16253
+ if (i==0) this.DrawLine(right,right+exLine.Width,yLine,item.LineColor,lineType,item);
16254
+
16255
+ rtBG.Left+=exLine.Width;
16256
+ rtBG.Right+=exLine.Width;
16257
+ }
16258
+ }
16259
+
16260
+ this.Canvas.fillStyle=outRange.BGColor;
16261
+ this.Canvas.fillRect(rtBG.Left,rtBG.Top,rtBG.Width,rtBG.Height);
16262
+ if (outRange.Border && outRange.Border.Color)
16263
+ {
16264
+ if (IFrameSplitOperator.IsNonEmptyArray(outRange.Border.LineDash))
16265
+ this.Canvas.setLineDash(outRange.Border.LineDash); //虚线
16266
+
16267
+ this.Canvas.strokeStyle = outRange.Border.Color;
16268
+ this.Canvas.strokeRect(ToFixedPoint(rtBG.Left), ToFixedPoint(rtBG.Top), ToFixedRect(rtBG.Width), ToFixedRect(rtBG.Height));
16269
+ }
16270
+
16271
+ this.Canvas.fillStyle = outRange.TextColor;
16272
+ this.Canvas.fillText(itemText.Text, rtBG.Left + 1*pixelTatio, rtBG.Top+rtBG.Height/2+1*pixelTatio);
16273
+
16274
+ yText+=textHeight+1;
16275
+ }
16276
+ }
16277
+
16278
+ this.Canvas.restore();
16279
+ }
16280
+
16173
16281
  this.DrawCustomItem=function(item, mapTextRect) //显示自定义Y刻度
16174
16282
  {
16175
16283
  if (!item.Message[1] && !item.Message[0]) return;
16176
16284
  if (item.Value>this.HorizontalMax || item.Value<this.HorizontalMin)
16177
16285
  {
16286
+ this.DrawOutRangeCustomItem(item, mapTextRect);
16178
16287
  this.SendDrawCountDownEvent( { IsShow:false } );
16179
16288
  return;
16180
16289
  }
@@ -21027,6 +21136,7 @@ function OverlayKLineFrame()
21027
21136
  if (!item.Message[1] && !item.Message[0]) return;
21028
21137
  if (item.Value>this.HorizontalMax || item.Value<this.HorizontalMin)
21029
21138
  {
21139
+ //this.DrawOutRangeCustomItem(item, mapTextRect);
21030
21140
  this.SendDrawCountDownEvent( { IsShow:false } );
21031
21141
  return;
21032
21142
  }
@@ -121157,6 +121267,9 @@ function OverlayScriptIndex(name,script,args,option)
121157
121267
  case SCRIPT_CHART_NAME.OVERLAY_BARS:
121158
121268
  this.CreateStackedBar(hqChart,windowIndex,item,i);
121159
121269
  break;
121270
+ case "DRAWCOLORKLINE":
121271
+ this.CreateDrawColorKLine(hqChart,windowIndex,item,i);
121272
+ break;
121160
121273
 
121161
121274
  default:
121162
121275
  {
@@ -121774,6 +121887,24 @@ function OverlayScriptIndex(name,script,args,option)
121774
121887
  frame.ChartPaint.push(chart);
121775
121888
  }
121776
121889
 
121890
+ this.CreateDrawColorKLine=function(hqChart,windowIndex,varItem,id)
121891
+ {
121892
+ var overlayIndex=this.OverlayIndex;
121893
+ var frame=overlayIndex.Frame;
121894
+ let chart=new ChartColorKline();
121895
+ chart.Canvas=hqChart.Canvas;
121896
+ chart.Name=varItem.Name;
121897
+ chart.DrawName="DRAWCOLORKLINE";
121898
+ chart.ChartBorder=frame.Frame.ChartBorder;
121899
+ chart.ChartFrame=frame.Frame;
121900
+ chart.Identify=overlayIndex.Identify;
121901
+
121902
+ chart.Data.Data=varItem.Draw.DrawData;
121903
+ if (IFrameSplitOperator.IsBool(varItem.Draw.IsEmptyBar)) chart.IsEmptyBar=varItem.Draw.IsEmptyBar;
121904
+ if (varItem.Draw.Color) chart.Color=varItem.Draw.Color;
121905
+ frame.ChartPaint.push(chart);
121906
+ }
121907
+
121777
121908
  //创建图标
121778
121909
  this.CreateIcon=function(hqChart,windowIndex,varItem,id)
121779
121910
  {
@@ -123010,6 +123141,8 @@ function APIScriptIndex(name,script,args,option, isOverlay)
123010
123141
  if (IFrameSplitOperator.IsBool(item.isshow)) outVarItem.IsShow = item.isshow; //是否绘制线段
123011
123142
  if (item.isexdata==true) outVarItem.IsExData = true;
123012
123143
  if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
123144
+ if (item.UpColor) outVarItem.UpColor=item.UpColor;
123145
+ if (item.DownColor) outVarItem.DownColor=item.DownColor;
123013
123146
  if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
123014
123147
  if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
123015
123148
  if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
@@ -123271,6 +123404,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
123271
123404
 
123272
123405
  result.push(outVarItem);
123273
123406
  }
123407
+ else if (draw.DrawType=="DRAWCOLORKLINE")
123408
+ {
123409
+ drawItem.Name=draw.Name;
123410
+ drawItem.Type=draw.Type;
123411
+ drawItem.DrawType=draw.DrawType;
123412
+ drawItem.DrawData=this.FittingArray(draw.DrawData,date,time,hqChart,1);
123413
+
123414
+ outVarItem.Draw=drawItem;
123415
+ if (draw.Color) drawItem.Color=draw.Color;
123416
+ if (IFrameSplitOperator.IsBool(draw.IsEmptyBar)) drawItem.IsEmptyBar=draw.IsEmptyBar;
123417
+
123418
+ result.push(outVarItem);
123419
+ }
123274
123420
  else
123275
123421
  {
123276
123422
  var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
@@ -123485,6 +123631,9 @@ function APIScriptIndex(name,script,args,option, isOverlay)
123485
123631
  if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
123486
123632
  if (item.UpColor) outVarItem.UpColor=item.UpColor;
123487
123633
  if (item.DownColor) outVarItem.DownColor=item.DownColor;
123634
+ if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
123635
+ if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
123636
+ if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
123488
123637
 
123489
123638
  result.push(outVarItem);
123490
123639
  }
@@ -123625,6 +123774,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
123625
123774
 
123626
123775
  result.push(outVarItem);
123627
123776
  }
123777
+ else if (draw.DrawType=="DRAWCOLORKLINE")
123778
+ {
123779
+ drawItem.Name=draw.Name;
123780
+ drawItem.Type=draw.Type;
123781
+ drawItem.DrawType=draw.DrawType;
123782
+ drawItem.DrawData=this.FittingArray(draw.DrawData,date,time,hqChart,1);
123783
+
123784
+ outVarItem.Draw=drawItem;
123785
+ if (draw.Color) drawItem.Color=draw.Color;
123786
+ if (IFrameSplitOperator.IsBool(draw.IsEmptyBar)) drawItem.IsEmptyBar=draw.IsEmptyBar;
123787
+
123788
+ result.push(outVarItem);
123789
+ }
123628
123790
  else
123629
123791
  {
123630
123792
  var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
@@ -143225,7 +143387,7 @@ function HQChartScriptWorker()
143225
143387
 
143226
143388
 
143227
143389
 
143228
- var HQCHART_VERSION="1.1.13763";
143390
+ var HQCHART_VERSION="1.1.13770";
143229
143391
 
143230
143392
  function PrintHQChartVersion()
143231
143393
  {