hqchart 1.1.13760 → 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 +55 -0
- package/src/jscommon/umychart.node/umychart.node.js +10610 -4088
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +56 -1
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +56 -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,11 @@ 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;
|
|
122992
|
+
if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
|
|
122993
|
+
if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
|
|
122994
|
+
if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
|
|
122969
122995
|
|
|
122970
122996
|
result.push(outVarItem);
|
|
122971
122997
|
}
|
|
@@ -123224,6 +123250,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123224
123250
|
|
|
123225
123251
|
result.push(outVarItem);
|
|
123226
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
|
+
}
|
|
123227
123266
|
else
|
|
123228
123267
|
{
|
|
123229
123268
|
var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
|
|
@@ -123438,6 +123477,9 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123438
123477
|
if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
|
|
123439
123478
|
if (item.UpColor) outVarItem.UpColor=item.UpColor;
|
|
123440
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;
|
|
123441
123483
|
|
|
123442
123484
|
result.push(outVarItem);
|
|
123443
123485
|
}
|
|
@@ -123578,6 +123620,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123578
123620
|
|
|
123579
123621
|
result.push(outVarItem);
|
|
123580
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
|
+
}
|
|
123581
123636
|
else
|
|
123582
123637
|
{
|
|
123583
123638
|
var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
|
|
@@ -138666,7 +138721,7 @@ function ScrollBarBGChart()
|
|
|
138666
138721
|
|
|
138667
138722
|
|
|
138668
138723
|
|
|
138669
|
-
var HQCHART_VERSION="1.1.
|
|
138724
|
+
var HQCHART_VERSION="1.1.13770";
|
|
138670
138725
|
|
|
138671
138726
|
function PrintHQChartVersion()
|
|
138672
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,11 @@ 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;
|
|
123036
|
+
if (IFrameSplitOperator.IsBool(item.isDotLine)) outVarItem.IsDotLine = item.isDotLine;
|
|
123037
|
+
if (IFrameSplitOperator.IsNonEmptyArray(item.lineDash)) outVarItem.LineDash=item.lineDash;
|
|
123038
|
+
if (IFrameSplitOperator.IsBool(item.isSingleLine)) outVarItem.IsSingleLine=item.isSingleLine;
|
|
123013
123039
|
|
|
123014
123040
|
result.push(outVarItem);
|
|
123015
123041
|
}
|
|
@@ -123268,6 +123294,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123268
123294
|
|
|
123269
123295
|
result.push(outVarItem);
|
|
123270
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
|
+
}
|
|
123271
123310
|
else
|
|
123272
123311
|
{
|
|
123273
123312
|
var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
|
|
@@ -123482,6 +123521,9 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123482
123521
|
if (item.BreakPoint) outVarItem.BreakPoint=item.BreakPoint;
|
|
123483
123522
|
if (item.UpColor) outVarItem.UpColor=item.UpColor;
|
|
123484
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;
|
|
123485
123527
|
|
|
123486
123528
|
result.push(outVarItem);
|
|
123487
123529
|
}
|
|
@@ -123622,6 +123664,19 @@ function APIScriptIndex(name,script,args,option, isOverlay)
|
|
|
123622
123664
|
|
|
123623
123665
|
result.push(outVarItem);
|
|
123624
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
|
+
}
|
|
123625
123680
|
else
|
|
123626
123681
|
{
|
|
123627
123682
|
var find=g_ScriptIndexChartFactory.Get(draw.DrawType); //外部挂接
|
|
@@ -143222,7 +143277,7 @@ function HQChartScriptWorker()
|
|
|
143222
143277
|
|
|
143223
143278
|
|
|
143224
143279
|
|
|
143225
|
-
var HQCHART_VERSION="1.1.
|
|
143280
|
+
var HQCHART_VERSION="1.1.13770";
|
|
143226
143281
|
|
|
143227
143282
|
function PrintHQChartVersion()
|
|
143228
143283
|
{
|