hqchart 1.1.13900 → 1.1.13909
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.NetworkFilterTest.vue.js +1 -1
- package/lib/umychart.vue.js +18 -7
- package/package.json +1 -1
- package/src/jscommon/umychart.js +54 -5
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +55 -6
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.NetworkFilterTest.vue.js +18 -0
- package/src/jscommon/umychart.vue/umychart.vue.js +55 -6
|
@@ -14198,8 +14198,10 @@ function CoordinateInfo()
|
|
|
14198
14198
|
//自定义刻度 { Custom:{ Position: 1=强制内部 }}
|
|
14199
14199
|
this.AreaData; //区域: { Start:, End:, BGColor:, Position:[0=左, 1=右] }
|
|
14200
14200
|
|
|
14201
|
-
//不在当前屏范围
|
|
14201
|
+
//不在当前屏范围 (可定义刻度使用)
|
|
14202
14202
|
//this.OutRange={ BGColor:"", TextColor:, BorderColor: TopYOffset:, BottomYOffset: }
|
|
14203
|
+
//Y轴文字偏移
|
|
14204
|
+
//this.YOffset=[{ Offset:5}, { Offset:10}] //目前只对框子外的刻度文字生效
|
|
14203
14205
|
}
|
|
14204
14206
|
|
|
14205
14207
|
|
|
@@ -15431,6 +15433,14 @@ function AverageWidthFrame()
|
|
|
15431
15433
|
|
|
15432
15434
|
if (item.Message[0]!=null && isDrawLeft)
|
|
15433
15435
|
{
|
|
15436
|
+
var yOffset=0;
|
|
15437
|
+
if (IFrameSplitOperator.IsNonEmptyArray(item.YOffset)) //文字Y轴偏移
|
|
15438
|
+
{
|
|
15439
|
+
var offsetItem=item.YOffset[0];
|
|
15440
|
+
if (offsetItem && IFrameSplitOperator.IsNumber(offsetItem.Offset))
|
|
15441
|
+
yOffset=offsetItem.Offset;
|
|
15442
|
+
}
|
|
15443
|
+
|
|
15434
15444
|
if (Array.isArray(item.Message[0]))
|
|
15435
15445
|
{
|
|
15436
15446
|
if (this.MultiTextFormat==3)
|
|
@@ -15463,12 +15473,12 @@ function AverageWidthFrame()
|
|
|
15463
15473
|
if (leftExtendText && leftExtendText.Align===1)
|
|
15464
15474
|
{
|
|
15465
15475
|
this.Canvas.textAlign="left";
|
|
15466
|
-
this.Canvas.fillText(item.Message[0],this.YTextPadding[0],yText);
|
|
15476
|
+
this.Canvas.fillText(item.Message[0],this.YTextPadding[0],yText+yOffset);
|
|
15467
15477
|
}
|
|
15468
15478
|
else
|
|
15469
15479
|
{
|
|
15470
15480
|
this.Canvas.textAlign="right";
|
|
15471
|
-
this.Canvas.fillText(item.Message[0],xText-this.YTextPadding[0],yText);
|
|
15481
|
+
this.Canvas.fillText(item.Message[0],xText-this.YTextPadding[0],yText+yOffset);
|
|
15472
15482
|
rtPreLeft=rtLeft;
|
|
15473
15483
|
}
|
|
15474
15484
|
}
|
|
@@ -15478,6 +15488,15 @@ function AverageWidthFrame()
|
|
|
15478
15488
|
//右边 坐标信息 间距小于10 不画坐标
|
|
15479
15489
|
if (item.Message[1]!=null && isDrawRight)
|
|
15480
15490
|
{
|
|
15491
|
+
var yOffset=0;
|
|
15492
|
+
if (IFrameSplitOperator.IsNonEmptyArray(item.YOffset)) //文字Y轴偏移
|
|
15493
|
+
{
|
|
15494
|
+
var offsetItem=item.YOffset[1];
|
|
15495
|
+
if (offsetItem && IFrameSplitOperator.IsNumber(offsetItem.Offset))
|
|
15496
|
+
yOffset=offsetItem.Offset;
|
|
15497
|
+
}
|
|
15498
|
+
|
|
15499
|
+
|
|
15481
15500
|
if (item.Font!=null) this.Canvas.font=item.Font;
|
|
15482
15501
|
|
|
15483
15502
|
var xText=right;
|
|
@@ -15570,11 +15589,11 @@ function AverageWidthFrame()
|
|
|
15570
15589
|
{
|
|
15571
15590
|
this.Canvas.textAlign="right";
|
|
15572
15591
|
var xRight=this.YRightTextInfo.MainTextWidth+right-this.YTextPadding[1];
|
|
15573
|
-
this.Canvas.fillText(item.Message[1],xRight,yText);
|
|
15592
|
+
this.Canvas.fillText(item.Message[1],xRight,yText+yOffset);
|
|
15574
15593
|
}
|
|
15575
15594
|
else
|
|
15576
15595
|
{
|
|
15577
|
-
this.Canvas.fillText(item.Message[1],xText+this.YTextPadding[1],yText);
|
|
15596
|
+
this.Canvas.fillText(item.Message[1],xText+this.YTextPadding[1],yText+yOffset);
|
|
15578
15597
|
}
|
|
15579
15598
|
|
|
15580
15599
|
rtPreRight=rtRight;
|
|
@@ -17445,6 +17464,20 @@ function MinuteFrame()
|
|
|
17445
17464
|
|
|
17446
17465
|
this.NightDayConfig=CloneData(g_JSChartResource.Minute.NightDay);
|
|
17447
17466
|
|
|
17467
|
+
|
|
17468
|
+
this.MinuteFrame_ReloadResource=this.ReloadResource;
|
|
17469
|
+
|
|
17470
|
+
|
|
17471
|
+
this.ReloadResource=function(resource)
|
|
17472
|
+
{
|
|
17473
|
+
this.MinuteFrame_ReloadResource(resource);
|
|
17474
|
+
|
|
17475
|
+
//集合竞价配色修改
|
|
17476
|
+
this.BeforeBGColor=g_JSChartResource.Minute.Before.BGColor;
|
|
17477
|
+
this.AfterBGColor=g_JSChartResource.Minute.After.BGColor;
|
|
17478
|
+
this.MultiDayBorderPen=g_JSChartResource.MultiDayBorderPen;
|
|
17479
|
+
}
|
|
17480
|
+
|
|
17448
17481
|
this.DrawFrame=function()
|
|
17449
17482
|
{
|
|
17450
17483
|
if (!this.IsMinSize)
|
|
@@ -46933,6 +46966,22 @@ function MinuteLeftTooltipPaint()
|
|
|
46933
46966
|
if (IFrameSplitOperator.IsNumber(option.FixedWidth)) this.FixedWidth=option.FixedWidth;
|
|
46934
46967
|
}
|
|
46935
46968
|
|
|
46969
|
+
this.ReloadResource=function(resource)
|
|
46970
|
+
{
|
|
46971
|
+
this.BorderColor=g_JSChartResource.PCTooltipPaint.BorderColor; //边框颜色
|
|
46972
|
+
this.BGColor=g_JSChartResource.PCTooltipPaint.BGColor; //背景色
|
|
46973
|
+
this.TitleColor=g_JSChartResource.PCTooltipPaint.TitleColor; //标题颜色
|
|
46974
|
+
this.DateTimeColor=g_JSChartResource.PCTooltipPaint.DateTimeColor; //日期时间颜色
|
|
46975
|
+
this.VolColor=g_JSChartResource.PCTooltipPaint.VolColor; //标题成交量
|
|
46976
|
+
this.AmountColor=g_JSChartResource.PCTooltipPaint.AmountColor; //成交金额
|
|
46977
|
+
|
|
46978
|
+
this.UpColor=g_JSChartResource.UpTextColor;
|
|
46979
|
+
this.DownColor=g_JSChartResource.DownTextColor;
|
|
46980
|
+
this.UnchagneColor=g_JSChartResource.UnchagneTextColor;
|
|
46981
|
+
|
|
46982
|
+
this.Font=g_JSChartResource.PCTooltipPaint.TitleFont;
|
|
46983
|
+
}
|
|
46984
|
+
|
|
46936
46985
|
this.IsEnableDraw=function()
|
|
46937
46986
|
{
|
|
46938
46987
|
if (!this.HQChart || !this.HQChart.TitlePaint || !this.HQChart.TitlePaint[0]) return false;
|
|
@@ -143014,7 +143063,7 @@ function HQChartScriptWorker()
|
|
|
143014
143063
|
|
|
143015
143064
|
|
|
143016
143065
|
|
|
143017
|
-
var HQCHART_VERSION="1.1.
|
|
143066
|
+
var HQCHART_VERSION="1.1.13907";
|
|
143018
143067
|
|
|
143019
143068
|
function PrintHQChartVersion()
|
|
143020
143069
|
{
|