hqchart 1.1.13014 → 1.1.13016
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.
|
@@ -56339,6 +56339,7 @@ function IChartDrawPicture()
|
|
|
56339
56339
|
|
|
56340
56340
|
this.IsDrawFirst=false;
|
|
56341
56341
|
this.IsShowYCoordinate=false; //是否在Y轴显示点的刻度
|
|
56342
|
+
this.IsShow=true; //是否显示
|
|
56342
56343
|
|
|
56343
56344
|
this.LineColor=g_JSChartResource.DrawPicture.LineColor[0]; //线段颜色
|
|
56344
56345
|
//this.LineColor="#1e90ff"; //线段颜色,input type="color" 不支持rgb和rgba 的格式
|
|
@@ -57408,6 +57409,8 @@ function IChartDrawPicture()
|
|
|
57408
57409
|
this.GetXYCoordinate_default=function()
|
|
57409
57410
|
{
|
|
57410
57411
|
if (this.IsFrameMinSize()) return null;
|
|
57412
|
+
if (!this.IsShow) return null;
|
|
57413
|
+
|
|
57411
57414
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:true, IsCheckY:true} );
|
|
57412
57415
|
|
|
57413
57416
|
return this.PointRange(drawPoint);
|
|
@@ -57863,6 +57866,7 @@ function ChartDrawPictureLine()
|
|
|
57863
57866
|
{
|
|
57864
57867
|
this.LinePoint=[];
|
|
57865
57868
|
if (this.IsFrameMinSize()) return;
|
|
57869
|
+
if (!this.IsShow) return;
|
|
57866
57870
|
|
|
57867
57871
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:true, IsCheckY:true} );
|
|
57868
57872
|
if (!drawPoint) return;
|
|
@@ -57900,6 +57904,7 @@ function ChartDrawPictureLine()
|
|
|
57900
57904
|
this.GetYCoordinatePoint=function()
|
|
57901
57905
|
{
|
|
57902
57906
|
if (this.IsFrameMinSize()) return null;
|
|
57907
|
+
if (!this.IsShow) return null;
|
|
57903
57908
|
|
|
57904
57909
|
if (this.Status<2) return null;
|
|
57905
57910
|
if(!this.Point.length || !this.Frame) return null;
|
|
@@ -58062,6 +58067,7 @@ function ChartDrawGraffitiLine()
|
|
|
58062
58067
|
{
|
|
58063
58068
|
this.LinePoint=[];
|
|
58064
58069
|
if (this.IsFrameMinSize()) return;
|
|
58070
|
+
if (!this.IsShow) return;
|
|
58065
58071
|
|
|
58066
58072
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:true, IsCheckY:true} );
|
|
58067
58073
|
if (!drawPoint) return;
|
|
@@ -58117,6 +58123,7 @@ function ChartDrawArrowLine()
|
|
|
58117
58123
|
{
|
|
58118
58124
|
this.LinePoint=[];
|
|
58119
58125
|
if (this.IsFrameMinSize()) return;
|
|
58126
|
+
if (!this.IsShow) return;
|
|
58120
58127
|
|
|
58121
58128
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:true, IsCheckY:true} );
|
|
58122
58129
|
if (!drawPoint) return;
|
|
@@ -58235,6 +58242,7 @@ function ChartDrawPictureHaflLine()
|
|
|
58235
58242
|
this.LinePoint=[];
|
|
58236
58243
|
this.FullLine=null;
|
|
58237
58244
|
if (this.IsFrameMinSize()) return;
|
|
58245
|
+
if (!this.IsShow) return;
|
|
58238
58246
|
|
|
58239
58247
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:false, IsCheckY:false});
|
|
58240
58248
|
if (!drawPoint || drawPoint.length!=2) return;
|
|
@@ -58313,6 +58321,7 @@ function ChartDrawPictureHorizontalLine()
|
|
|
58313
58321
|
{
|
|
58314
58322
|
this.LinePoint=[];
|
|
58315
58323
|
if (this.IsFrameMinSize()) return;
|
|
58324
|
+
if (!this.IsShow) return;
|
|
58316
58325
|
|
|
58317
58326
|
var drawPoint=this.CalculateDrawPoint();
|
|
58318
58327
|
if (!drawPoint || drawPoint.length!=1) return;
|
|
@@ -58569,6 +58578,7 @@ function ChartDrawHLine()
|
|
|
58569
58578
|
this.ButtonBGWidth=0;
|
|
58570
58579
|
|
|
58571
58580
|
if (this.IsFrameMinSize()) return;
|
|
58581
|
+
if (!this.IsShow) return;
|
|
58572
58582
|
|
|
58573
58583
|
var drawPoint=this.CalculateDrawPoint();
|
|
58574
58584
|
if (!drawPoint || drawPoint.length!=1) return;
|
|
@@ -58966,6 +58976,7 @@ function ChartDrawPictureTrendLine()
|
|
|
58966
58976
|
{
|
|
58967
58977
|
this.LinePoint=[];
|
|
58968
58978
|
if (this.IsFrameMinSize()) return;
|
|
58979
|
+
if (!this.IsShow) return;
|
|
58969
58980
|
|
|
58970
58981
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:false, IsCheckY:false});
|
|
58971
58982
|
if (!drawPoint || drawPoint.length!=2) return;
|
|
@@ -59008,6 +59019,7 @@ function ChartDrawPictureRect()
|
|
|
59008
59019
|
this.Draw=function()
|
|
59009
59020
|
{
|
|
59010
59021
|
if (this.IsFrameMinSize()) return;
|
|
59022
|
+
if (!this.IsShow) return;
|
|
59011
59023
|
|
|
59012
59024
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
59013
59025
|
if (!drawPoint || drawPoint.length!=2) return;
|
|
@@ -59119,6 +59131,7 @@ function ChartDrawPictureArc()
|
|
|
59119
59131
|
this.Draw=function()
|
|
59120
59132
|
{
|
|
59121
59133
|
if (this.IsFrameMinSize()) return;
|
|
59134
|
+
if (!this.IsShow) return;
|
|
59122
59135
|
|
|
59123
59136
|
var drawPoint=this.CalculateDrawPoint();
|
|
59124
59137
|
if (!drawPoint || drawPoint.length!=2) return;
|
|
@@ -59350,6 +59363,7 @@ function ChartDrawPictureWaveMW()
|
|
|
59350
59363
|
this.LinePoint=[];
|
|
59351
59364
|
if (!this.Frame) return;
|
|
59352
59365
|
if (this.IsFrameMinSize()) return;
|
|
59366
|
+
if (!this.IsShow) return;
|
|
59353
59367
|
|
|
59354
59368
|
this.IsHScreen=this.Frame.IsHScreen;
|
|
59355
59369
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
@@ -59648,6 +59662,7 @@ function ChartDrawPictureParallelLines()
|
|
|
59648
59662
|
this.LinePoint=[];
|
|
59649
59663
|
this.CenterLine.Line=null;
|
|
59650
59664
|
if (this.IsFrameMinSize()) return;
|
|
59665
|
+
if (!this.IsShow) return;
|
|
59651
59666
|
|
|
59652
59667
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:false, IsCheckY:false}); //不检测x,y
|
|
59653
59668
|
if (!drawPoint) return;
|
|
@@ -59761,6 +59776,7 @@ function ChartDrawFlatTop()
|
|
|
59761
59776
|
{
|
|
59762
59777
|
this.LinePoint=[];
|
|
59763
59778
|
if (this.IsFrameMinSize()) return;
|
|
59779
|
+
if (!this.IsShow) return;
|
|
59764
59780
|
|
|
59765
59781
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
59766
59782
|
if (!drawPoint) return;
|
|
@@ -60113,6 +60129,7 @@ function ChartDrawPictureParallelChannel()
|
|
|
60113
60129
|
{
|
|
60114
60130
|
this.LinePoint=[];
|
|
60115
60131
|
if (this.IsFrameMinSize()) return;
|
|
60132
|
+
if (!this.IsShow) return;
|
|
60116
60133
|
|
|
60117
60134
|
var drawPoint=this.CalculateDrawPoint();
|
|
60118
60135
|
if (!drawPoint) return;
|
|
@@ -60263,6 +60280,7 @@ function ChartDrawPictureText()
|
|
|
60263
60280
|
{
|
|
60264
60281
|
this.TextRect=null;
|
|
60265
60282
|
if (this.IsFrameMinSize()) return;
|
|
60283
|
+
if (!this.IsShow) return;
|
|
60266
60284
|
|
|
60267
60285
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
60268
60286
|
if (!drawPoint || drawPoint.length!=1) return;
|
|
@@ -60366,6 +60384,7 @@ function ChartDrawPictureIconFont()
|
|
|
60366
60384
|
{
|
|
60367
60385
|
this.TextRect=null;
|
|
60368
60386
|
if (this.IsFrameMinSize()) return;
|
|
60387
|
+
if (!this.IsShow) return;
|
|
60369
60388
|
|
|
60370
60389
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
60371
60390
|
if (!drawPoint || drawPoint.length!=1) return;
|
|
@@ -60464,6 +60483,7 @@ function ChartDrawPictureGannFan()
|
|
|
60464
60483
|
{
|
|
60465
60484
|
this.LinePoint=[];
|
|
60466
60485
|
if (this.IsFrameMinSize()) return;
|
|
60486
|
+
if (!this.IsShow) return;
|
|
60467
60487
|
|
|
60468
60488
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
60469
60489
|
if (!drawPoint) return;
|
|
@@ -60775,6 +60795,7 @@ function ChartDrawPictureGoldenSection()
|
|
|
60775
60795
|
{
|
|
60776
60796
|
this.LinePoint=[];
|
|
60777
60797
|
if (this.IsFrameMinSize()) return;
|
|
60798
|
+
if (!this.IsShow) return;
|
|
60778
60799
|
|
|
60779
60800
|
var drawPoint=this.CalculateDrawPoint();
|
|
60780
60801
|
if (!drawPoint) return;
|
|
@@ -60952,6 +60973,7 @@ function ChartDrawPictureTriangle()
|
|
|
60952
60973
|
{
|
|
60953
60974
|
this.LinePoint=[];
|
|
60954
60975
|
if (this.IsFrameMinSize()) return;
|
|
60976
|
+
if (!this.IsShow) return;
|
|
60955
60977
|
|
|
60956
60978
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
60957
60979
|
if (!drawPoint) return;
|
|
@@ -61071,6 +61093,7 @@ function ChartDrawPictureSymmetryAngle()
|
|
|
61071
61093
|
{
|
|
61072
61094
|
this.LinePoint=[];
|
|
61073
61095
|
if (this.IsFrameMinSize()) return;
|
|
61096
|
+
if (!this.IsShow) return;
|
|
61074
61097
|
|
|
61075
61098
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
61076
61099
|
if (!drawPoint) return;
|
|
@@ -61165,6 +61188,7 @@ function ChartDrawPictureCircle()
|
|
|
61165
61188
|
{
|
|
61166
61189
|
this.LinePoint=[];
|
|
61167
61190
|
if (this.IsFrameMinSize()) return;
|
|
61191
|
+
if (!this.IsShow) return;
|
|
61168
61192
|
|
|
61169
61193
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
61170
61194
|
if (!drawPoint || drawPoint.length!=2) return;
|
|
@@ -61228,6 +61252,7 @@ function ChartDrawPictureQuadrangle()
|
|
|
61228
61252
|
{
|
|
61229
61253
|
this.LinePoint=[];
|
|
61230
61254
|
if (this.IsFrameMinSize()) return;
|
|
61255
|
+
if (!this.IsShow) return;
|
|
61231
61256
|
|
|
61232
61257
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
61233
61258
|
if (!drawPoint) return;
|
|
@@ -61324,6 +61349,7 @@ function ChartDrawPictureFibonacci()
|
|
|
61324
61349
|
{
|
|
61325
61350
|
this.LinePoint=[];
|
|
61326
61351
|
if (this.IsFrameMinSize()) return;
|
|
61352
|
+
if (!this.IsShow) return;
|
|
61327
61353
|
|
|
61328
61354
|
var drawPoint=this.CalculateDrawPoint();
|
|
61329
61355
|
if (!drawPoint) return;
|
|
@@ -61526,6 +61552,7 @@ function ChartDrawLinearRegression(option)
|
|
|
61526
61552
|
{
|
|
61527
61553
|
this.LinePoint=[];
|
|
61528
61554
|
if (this.IsFrameMinSize()) return;
|
|
61555
|
+
if (!this.IsShow) return;
|
|
61529
61556
|
|
|
61530
61557
|
var drawPoint=this.CalculateDrawPoint( { IsCheckX:true, IsCheckY:true} );
|
|
61531
61558
|
if (!drawPoint || drawPoint.length!=2)
|
|
@@ -61920,6 +61947,7 @@ function ChartDrawPriceLine()
|
|
|
61920
61947
|
{
|
|
61921
61948
|
this.LinePoint=[];
|
|
61922
61949
|
if (this.IsFrameMinSize()) return;
|
|
61950
|
+
if (!this.IsShow) return;
|
|
61923
61951
|
|
|
61924
61952
|
var drawPoint=this.CalculateDrawPoint( { IsCheckX:false, IsCheckY:true } );
|
|
61925
61953
|
if (!drawPoint) return;
|
|
@@ -62020,6 +62048,7 @@ function ChartDrawPriceLineV2()
|
|
|
62020
62048
|
{
|
|
62021
62049
|
this.LinePoint=[];
|
|
62022
62050
|
if (this.IsFrameMinSize()) return;
|
|
62051
|
+
if (!this.IsShow) return;
|
|
62023
62052
|
|
|
62024
62053
|
var drawPoint=this.CalculateDrawPoint( { IsCheckX:false, IsCheckY:true } );
|
|
62025
62054
|
if (!drawPoint) return;
|
|
@@ -62190,6 +62219,7 @@ function ChartDrawVerticalLine()
|
|
|
62190
62219
|
{
|
|
62191
62220
|
this.LinePoint=[];
|
|
62192
62221
|
if (this.IsFrameMinSize()) return;
|
|
62222
|
+
if (!this.IsShow) return;
|
|
62193
62223
|
|
|
62194
62224
|
if (!this.Frame || !this.Frame.Data) return;
|
|
62195
62225
|
var data=this.Frame.Data;
|
|
@@ -62268,6 +62298,7 @@ function ChartDrawWaveRuler()
|
|
|
62268
62298
|
{
|
|
62269
62299
|
this.LinePoint=[];
|
|
62270
62300
|
if (this.IsFrameMinSize()) return;
|
|
62301
|
+
if (!this.IsShow) return;
|
|
62271
62302
|
|
|
62272
62303
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
62273
62304
|
if (!drawPoint) return;
|
|
@@ -62430,6 +62461,7 @@ function ChartDrawWaveRuler2Point()
|
|
|
62430
62461
|
{
|
|
62431
62462
|
this.LinePoint=[];
|
|
62432
62463
|
if (this.IsFrameMinSize()) return;
|
|
62464
|
+
if (!this.IsShow) return;
|
|
62433
62465
|
|
|
62434
62466
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
62435
62467
|
if (!drawPoint) return;
|
|
@@ -62562,6 +62594,7 @@ function ChartDrawBox()
|
|
|
62562
62594
|
{
|
|
62563
62595
|
this.LinePoint=[];
|
|
62564
62596
|
if (this.IsFrameMinSize()) return;
|
|
62597
|
+
if (!this.IsShow) return;
|
|
62565
62598
|
|
|
62566
62599
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:true, IsCheckY:true} );
|
|
62567
62600
|
if (!drawPoint) return;
|
|
@@ -62792,6 +62825,7 @@ function ChartDrawTwoPointDemo()
|
|
|
62792
62825
|
this.LinePoint=[];
|
|
62793
62826
|
this.PointInfo=[];
|
|
62794
62827
|
if (this.IsFrameMinSize()) return;
|
|
62828
|
+
if (!this.IsShow) return;
|
|
62795
62829
|
|
|
62796
62830
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
62797
62831
|
if (!drawPoint) return;
|
|
@@ -63029,6 +63063,7 @@ function ChartDrawHLineSegment()
|
|
|
63029
63063
|
this.IsHScreen=this.Frame.IsHScreen;
|
|
63030
63064
|
this.LinePoint=[];
|
|
63031
63065
|
if (this.IsFrameMinSize()) return;
|
|
63066
|
+
if (!this.IsShow) return;
|
|
63032
63067
|
|
|
63033
63068
|
var drawPoint=this.CalculateDrawPoint( { IsCheckX:false, IsCheckY:true} );
|
|
63034
63069
|
if (!drawPoint || drawPoint.length!=2) return;
|
|
@@ -63684,6 +63719,7 @@ function ChartDrawNote()
|
|
|
63684
63719
|
this.TextRect=null;
|
|
63685
63720
|
this.PtCenter=null;
|
|
63686
63721
|
if (this.IsFrameMinSize()) return;
|
|
63722
|
+
if (!this.IsShow) return;
|
|
63687
63723
|
|
|
63688
63724
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
63689
63725
|
if (!drawPoint || drawPoint.length!=1) return;
|
|
@@ -64067,6 +64103,7 @@ function ChartDrawAnchoredText()
|
|
|
64067
64103
|
if (this.Status<2) return;
|
|
64068
64104
|
if(this.Point.length!=1 || !this.Frame) return;
|
|
64069
64105
|
if (this.IsFrameMinSize()) return;
|
|
64106
|
+
if (!this.IsShow) return;
|
|
64070
64107
|
|
|
64071
64108
|
var drawPoint=this.CalculateDrawPoint();
|
|
64072
64109
|
if (!drawPoint || drawPoint.length!=1) return;
|
|
@@ -64416,6 +64453,7 @@ function ChartDrawPriceLabel()
|
|
|
64416
64453
|
{
|
|
64417
64454
|
this.TextRect=null;
|
|
64418
64455
|
if (this.IsFrameMinSize()) return;
|
|
64456
|
+
if (!this.IsShow) return;
|
|
64419
64457
|
|
|
64420
64458
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:true, IsCheckY:true});
|
|
64421
64459
|
if (!drawPoint || drawPoint.length!=1) return;
|
|
@@ -64655,6 +64693,7 @@ function ChartDrawPriceNote()
|
|
|
64655
64693
|
this.LinePoint=[];
|
|
64656
64694
|
this.TextRect=null;
|
|
64657
64695
|
if (this.IsFrameMinSize()) return;
|
|
64696
|
+
if (!this.IsShow) return;
|
|
64658
64697
|
|
|
64659
64698
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:true, IsCheckY:true} );
|
|
64660
64699
|
if (!drawPoint) return;
|
|
@@ -64999,6 +65038,7 @@ function ChartDrawFibWedge()
|
|
|
64999
65038
|
this.TextAngle=null;
|
|
65000
65039
|
this.Radius=null;
|
|
65001
65040
|
if (this.IsFrameMinSize()) return;
|
|
65041
|
+
if (!this.IsShow) return;
|
|
65002
65042
|
|
|
65003
65043
|
var drawPoint=this.CalculateDrawPoint({IsCheckX:false, IsCheckY:false});
|
|
65004
65044
|
if (!IFrameSplitOperator.IsNonEmptyArray(drawPoint)) return;
|
|
@@ -65382,6 +65422,8 @@ function ChartFibRetracement()
|
|
|
65382
65422
|
{
|
|
65383
65423
|
this.LinePoint=[];
|
|
65384
65424
|
if (this.IsFrameMinSize()) return;
|
|
65425
|
+
if (!this.IsShow) return;
|
|
65426
|
+
|
|
65385
65427
|
var bCheckXY=true;
|
|
65386
65428
|
if (this.ExtendLine.Left || this.ExtendLine.Right) bCheckXY=false;
|
|
65387
65429
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:bCheckXY, IsCheckY:bCheckXY} );
|
|
@@ -65574,6 +65616,8 @@ function ChartFibSpeedResistanceFan()
|
|
|
65574
65616
|
{
|
|
65575
65617
|
this.LinePoint=[];
|
|
65576
65618
|
if (this.IsFrameMinSize()) return;
|
|
65619
|
+
if (!this.IsShow) return;
|
|
65620
|
+
|
|
65577
65621
|
var bCheckXY=false;
|
|
65578
65622
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:bCheckXY, IsCheckY:bCheckXY} );
|
|
65579
65623
|
if (!drawPoint) return;
|
|
@@ -65839,6 +65883,8 @@ function ChartPriceRange()
|
|
|
65839
65883
|
{
|
|
65840
65884
|
this.LinePoint=[];
|
|
65841
65885
|
if (this.IsFrameMinSize()) return;
|
|
65886
|
+
if (!this.IsShow) return;
|
|
65887
|
+
|
|
65842
65888
|
var bCheckXY=true;
|
|
65843
65889
|
if (this.ExtendLine.Left || this.ExtendLine.Right) bCheckXY=false;
|
|
65844
65890
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:bCheckXY, IsCheckY:bCheckXY} );
|
|
@@ -65956,6 +66002,8 @@ function ChartDateRange()
|
|
|
65956
66002
|
{
|
|
65957
66003
|
this.LinePoint=[];
|
|
65958
66004
|
if (this.IsFrameMinSize()) return;
|
|
66005
|
+
if (!this.IsShow) return;
|
|
66006
|
+
|
|
65959
66007
|
var bCheckXY=true;
|
|
65960
66008
|
var drawPoint=this.CalculateDrawPoint( {IsCheckX:bCheckXY, IsCheckY:bCheckXY} );
|
|
65961
66009
|
if (!drawPoint) return;
|
|
@@ -130012,7 +130060,7 @@ function HQChartScriptWorker()
|
|
|
130012
130060
|
|
|
130013
130061
|
|
|
130014
130062
|
|
|
130015
|
-
var HQCHART_VERSION="1.1.
|
|
130063
|
+
var HQCHART_VERSION="1.1.13015";
|
|
130016
130064
|
|
|
130017
130065
|
function PrintHQChartVersion()
|
|
130018
130066
|
{
|