hqchart 1.1.13764 → 1.1.13771
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 +7 -7
- package/package.json +1 -1
- package/src/jscommon/umychart.complier.js +52 -0
- package/src/jscommon/umychart.node/umychart.node.js +10610 -4088
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +53 -1
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +53 -1
|
@@ -121113,6 +121113,9 @@ function OverlayScriptIndex(name,script,args,option)
|
|
|
121113
121113
|
case SCRIPT_CHART_NAME.OVERLAY_BARS:
|
|
121114
121114
|
this.CreateStackedBar(hqChart,windowIndex,item,i);
|
|
121115
121115
|
break;
|
|
121116
|
+
case "DRAWCOLORKLINE":
|
|
121117
|
+
this.CreateDrawColorKLine(hqChart,windowIndex,item,i);
|
|
121118
|
+
break;
|
|
121116
121119
|
|
|
121117
121120
|
default:
|
|
121118
121121
|
{
|
|
@@ -121730,6 +121733,24 @@ function OverlayScriptIndex(name,script,args,option)
|
|
|
121730
121733
|
frame.ChartPaint.push(chart);
|
|
121731
121734
|
}
|
|
121732
121735
|
|
|
121736
|
+
this.CreateDrawColorKLine=function(hqChart,windowIndex,varItem,id)
|
|
121737
|
+
{
|
|
121738
|
+
var overlayIndex=this.OverlayIndex;
|
|
121739
|
+
var frame=overlayIndex.Frame;
|
|
121740
|
+
let chart=new ChartColorKline();
|
|
121741
|
+
chart.Canvas=hqChart.Canvas;
|
|
121742
|
+
chart.Name=varItem.Name;
|
|
121743
|
+
chart.DrawName="DRAWCOLORKLINE";
|
|
121744
|
+
chart.ChartBorder=frame.Frame.ChartBorder;
|
|
121745
|
+
chart.ChartFrame=frame.Frame;
|
|
121746
|
+
chart.Identify=overlayIndex.Identify;
|
|
121747
|
+
|
|
121748
|
+
chart.Data.Data=varItem.Draw.DrawData;
|
|
121749
|
+
if (IFrameSplitOperator.IsBool(varItem.Draw.IsEmptyBar)) chart.IsEmptyBar=varItem.Draw.IsEmptyBar;
|
|
121750
|
+
if (varItem.Draw.Color) chart.Color=varItem.Draw.Color;
|
|
121751
|
+
frame.ChartPaint.push(chart);
|
|
121752
|
+
}
|
|
121753
|
+
|
|
121733
121754
|
//创建图标
|
|
121734
121755
|
this.CreateIcon=function(hqChart,windowIndex,varItem,id)
|
|
121735
121756
|
{
|
|
@@ -122966,6 +122987,8 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
122966
122987
|
if (IFrameSplitOperator.IsBool(item.isshow)) outVarItem.IsShow = item.isshow; //是否绘制线段
|
|
122967
122988
|
if (item.isexdata==true) outVarItem.IsExData = true;
|
|
122968
122989
|
if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
|
|
122990
|
+
if (item.UpColor) outVarItem.UpColor=item.UpColor;
|
|
122991
|
+
if (item.DownColor) outVarItem.DownColor=item.DownColor;
|
|
122969
122992
|
if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
|
|
122970
122993
|
if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
|
|
122971
122994
|
if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
|
|
@@ -123227,6 +123250,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123227
123250
|
|
|
123228
123251
|
result.push(outVarItem);
|
|
123229
123252
|
}
|
|
123253
|
+
else if (draw.DrawType=="DRAWCOLORKLINE")
|
|
123254
|
+
{
|
|
123255
|
+
drawItem.Name=draw.Name;
|
|
123256
|
+
drawItem.Type=draw.Type;
|
|
123257
|
+
drawItem.DrawType=draw.DrawType;
|
|
123258
|
+
drawItem.DrawData=this.FittingArray(draw.DrawData,date,time,hqChart,1);
|
|
123259
|
+
|
|
123260
|
+
outVarItem.Draw=drawItem;
|
|
123261
|
+
if (draw.Color) drawItem.Color=draw.Color;
|
|
123262
|
+
if (IFrameSplitOperator.IsBool(draw.IsEmptyBar)) drawItem.IsEmptyBar=draw.IsEmptyBar;
|
|
123263
|
+
|
|
123264
|
+
result.push(outVarItem);
|
|
123265
|
+
}
|
|
123230
123266
|
else
|
|
123231
123267
|
{
|
|
123232
123268
|
var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
|
|
@@ -123441,6 +123477,9 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123441
123477
|
if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
|
|
123442
123478
|
if (item.UpColor) outVarItem.UpColor=item.UpColor;
|
|
123443
123479
|
if (item.DownColor) outVarItem.DownColor=item.DownColor;
|
|
123480
|
+
if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
|
|
123481
|
+
if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
|
|
123482
|
+
if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
|
|
123444
123483
|
|
|
123445
123484
|
result.push(outVarItem);
|
|
123446
123485
|
}
|
|
@@ -123581,6 +123620,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123581
123620
|
|
|
123582
123621
|
result.push(outVarItem);
|
|
123583
123622
|
}
|
|
123623
|
+
else if (draw.DrawType=="DRAWCOLORKLINE")
|
|
123624
|
+
{
|
|
123625
|
+
drawItem.Name=draw.Name;
|
|
123626
|
+
drawItem.Type=draw.Type;
|
|
123627
|
+
drawItem.DrawType=draw.DrawType;
|
|
123628
|
+
drawItem.DrawData=this.FittingArray(draw.DrawData,date,time,hqChart,1);
|
|
123629
|
+
|
|
123630
|
+
outVarItem.Draw=drawItem;
|
|
123631
|
+
if (draw.Color) drawItem.Color=draw.Color;
|
|
123632
|
+
if (IFrameSplitOperator.IsBool(draw.IsEmptyBar)) drawItem.IsEmptyBar=draw.IsEmptyBar;
|
|
123633
|
+
|
|
123634
|
+
result.push(outVarItem);
|
|
123635
|
+
}
|
|
123584
123636
|
else
|
|
123585
123637
|
{
|
|
123586
123638
|
var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
|
|
@@ -138669,7 +138721,7 @@ function ScrollBarBGChart()
|
|
|
138669
138721
|
|
|
138670
138722
|
|
|
138671
138723
|
|
|
138672
|
-
var HQCHART_VERSION="1.1.
|
|
138724
|
+
var HQCHART_VERSION="1.1.13770";
|
|
138673
138725
|
|
|
138674
138726
|
function PrintHQChartVersion()
|
|
138675
138727
|
{
|
|
@@ -121157,6 +121157,9 @@ function OverlayScriptIndex(name,script,args,option)
|
|
|
121157
121157
|
case SCRIPT_CHART_NAME.OVERLAY_BARS:
|
|
121158
121158
|
this.CreateStackedBar(hqChart,windowIndex,item,i);
|
|
121159
121159
|
break;
|
|
121160
|
+
case "DRAWCOLORKLINE":
|
|
121161
|
+
this.CreateDrawColorKLine(hqChart,windowIndex,item,i);
|
|
121162
|
+
break;
|
|
121160
121163
|
|
|
121161
121164
|
default:
|
|
121162
121165
|
{
|
|
@@ -121774,6 +121777,24 @@ function OverlayScriptIndex(name,script,args,option)
|
|
|
121774
121777
|
frame.ChartPaint.push(chart);
|
|
121775
121778
|
}
|
|
121776
121779
|
|
|
121780
|
+
this.CreateDrawColorKLine=function(hqChart,windowIndex,varItem,id)
|
|
121781
|
+
{
|
|
121782
|
+
var overlayIndex=this.OverlayIndex;
|
|
121783
|
+
var frame=overlayIndex.Frame;
|
|
121784
|
+
let chart=new ChartColorKline();
|
|
121785
|
+
chart.Canvas=hqChart.Canvas;
|
|
121786
|
+
chart.Name=varItem.Name;
|
|
121787
|
+
chart.DrawName="DRAWCOLORKLINE";
|
|
121788
|
+
chart.ChartBorder=frame.Frame.ChartBorder;
|
|
121789
|
+
chart.ChartFrame=frame.Frame;
|
|
121790
|
+
chart.Identify=overlayIndex.Identify;
|
|
121791
|
+
|
|
121792
|
+
chart.Data.Data=varItem.Draw.DrawData;
|
|
121793
|
+
if (IFrameSplitOperator.IsBool(varItem.Draw.IsEmptyBar)) chart.IsEmptyBar=varItem.Draw.IsEmptyBar;
|
|
121794
|
+
if (varItem.Draw.Color) chart.Color=varItem.Draw.Color;
|
|
121795
|
+
frame.ChartPaint.push(chart);
|
|
121796
|
+
}
|
|
121797
|
+
|
|
121777
121798
|
//创建图标
|
|
121778
121799
|
this.CreateIcon=function(hqChart,windowIndex,varItem,id)
|
|
121779
121800
|
{
|
|
@@ -123010,6 +123031,8 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123010
123031
|
if (IFrameSplitOperator.IsBool(item.isshow)) outVarItem.IsShow = item.isshow; //是否绘制线段
|
|
123011
123032
|
if (item.isexdata==true) outVarItem.IsExData = true;
|
|
123012
123033
|
if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
|
|
123034
|
+
if (item.UpColor) outVarItem.UpColor=item.UpColor;
|
|
123035
|
+
if (item.DownColor) outVarItem.DownColor=item.DownColor;
|
|
123013
123036
|
if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
|
|
123014
123037
|
if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
|
|
123015
123038
|
if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
|
|
@@ -123271,6 +123294,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123271
123294
|
|
|
123272
123295
|
result.push(outVarItem);
|
|
123273
123296
|
}
|
|
123297
|
+
else if (draw.DrawType=="DRAWCOLORKLINE")
|
|
123298
|
+
{
|
|
123299
|
+
drawItem.Name=draw.Name;
|
|
123300
|
+
drawItem.Type=draw.Type;
|
|
123301
|
+
drawItem.DrawType=draw.DrawType;
|
|
123302
|
+
drawItem.DrawData=this.FittingArray(draw.DrawData,date,time,hqChart,1);
|
|
123303
|
+
|
|
123304
|
+
outVarItem.Draw=drawItem;
|
|
123305
|
+
if (draw.Color) drawItem.Color=draw.Color;
|
|
123306
|
+
if (IFrameSplitOperator.IsBool(draw.IsEmptyBar)) drawItem.IsEmptyBar=draw.IsEmptyBar;
|
|
123307
|
+
|
|
123308
|
+
result.push(outVarItem);
|
|
123309
|
+
}
|
|
123274
123310
|
else
|
|
123275
123311
|
{
|
|
123276
123312
|
var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
|
|
@@ -123485,6 +123521,9 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123485
123521
|
if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
|
|
123486
123522
|
if (item.UpColor) outVarItem.UpColor=item.UpColor;
|
|
123487
123523
|
if (item.DownColor) outVarItem.DownColor=item.DownColor;
|
|
123524
|
+
if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
|
|
123525
|
+
if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
|
|
123526
|
+
if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
|
|
123488
123527
|
|
|
123489
123528
|
result.push(outVarItem);
|
|
123490
123529
|
}
|
|
@@ -123625,6 +123664,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123625
123664
|
|
|
123626
123665
|
result.push(outVarItem);
|
|
123627
123666
|
}
|
|
123667
|
+
else if (draw.DrawType=="DRAWCOLORKLINE")
|
|
123668
|
+
{
|
|
123669
|
+
drawItem.Name=draw.Name;
|
|
123670
|
+
drawItem.Type=draw.Type;
|
|
123671
|
+
drawItem.DrawType=draw.DrawType;
|
|
123672
|
+
drawItem.DrawData=this.FittingArray(draw.DrawData,date,time,hqChart,1);
|
|
123673
|
+
|
|
123674
|
+
outVarItem.Draw=drawItem;
|
|
123675
|
+
if (draw.Color) drawItem.Color=draw.Color;
|
|
123676
|
+
if (IFrameSplitOperator.IsBool(draw.IsEmptyBar)) drawItem.IsEmptyBar=draw.IsEmptyBar;
|
|
123677
|
+
|
|
123678
|
+
result.push(outVarItem);
|
|
123679
|
+
}
|
|
123628
123680
|
else
|
|
123629
123681
|
{
|
|
123630
123682
|
var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
|
|
@@ -143225,7 +143277,7 @@ function HQChartScriptWorker()
|
|
|
143225
143277
|
|
|
143226
143278
|
|
|
143227
143279
|
|
|
143228
|
-
var HQCHART_VERSION="1.1.
|
|
143280
|
+
var HQCHART_VERSION="1.1.13770";
|
|
143229
143281
|
|
|
143230
143282
|
function PrintHQChartVersion()
|
|
143231
143283
|
{
|