hqchart 1.1.13502 → 1.1.13516
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
CHANGED
|
@@ -5189,9 +5189,9 @@ if((this.ShowTextMode.Left==1&&this.Frame.ChartBorder.Left>=30||this.ShowTextMod
|
|
|
5189
5189
|
var textSize={Width:textWidth,Height:this.TextHeight,Text:[]};var buttonData={Y:y,YValue:yValue,FrameID:yValueExtend.FrameID};if(this.Frame.ChartBorder.Left>=30&&this.ShowTextMode.Left==1){if(left<textWidth)//左边空白的地方太少了画布下
|
|
5190
5190
|
{this.DrawTextBGRect(ToFixedPoint(2),ToFixedPoint(y-this.TextHeight/2),ToFixedRect(textWidth),ToFixedRect(this.TextHeight));this.Canvas.textAlign="left";this.Canvas.textBaseline="middle";this.Canvas.fillStyle=this.TextColor;this.Canvas.fillText(text,2+2,y,textWidth);}else{this.DrawTextBGRect(left-2,y-this.TextHeight/2,-textWidth,this.TextHeight);this.Canvas.textAlign="right";this.Canvas.textBaseline="middle";this.Canvas.fillStyle=this.TextColor;this.Canvas.fillText(text,left-4,y,textWidth);}}else if(this.ShowTextMode.Left==2)//在框架内显示
|
|
5191
5191
|
{this.DrawTextBGRect(left,y-this.TextHeight/2,textWidth,this.TextHeight);this.Canvas.textAlign="left";this.Canvas.textBaseline="middle";this.Canvas.fillStyle=this.TextColor;this.Canvas.fillText(text,left+2,y,textWidth);}var complexText={ShowType:0,//0=单行(默认) 1=多行
|
|
5192
|
-
Font:this.Font,Color:this.TextColor,Text:[{Text:text,Margin:this.RightMargin}]};var yTop=y-this.TextHeight/2;if(this.StringFormatY.PercentageText){if(this.TextFormat.Right==0){text=this.StringFormatY.PercentageText+'%';complexText.Text[0].Text=text;}}if(this.StringFormatY.RText){text=this.StringFormatY.RText;complexText.Text[0].Text=text;}if(this.StringFormatY.RComplexText&&IFrameSplitOperator.IsNonEmptyArray(this.StringFormatY.RComplexText.Text)){complexText=this.StringFormatY.RComplexText;}this.CalculateComplexTextSize(complexText,textSize);if(this.Frame.ChartBorder.Right>=30&&this.ShowTextMode.Right==1){var isOverlayIndex=false;//是否有叠加子坐标
|
|
5192
|
+
Font:this.Font,Color:this.TextColor,Text:[{Text:text,Margin:this.RightMargin}]};var yTop=y-this.TextHeight/2;if(this.StringFormatY.PercentageText){if(this.TextFormat.Right==0){text=this.StringFormatY.PercentageText+'%';complexText.Text[0].Text=text;}}if(this.StringFormatY.RText){text=this.StringFormatY.RText;complexText.Text[0].Text=text;}if(this.StringFormatY.RComplexText&&IFrameSplitOperator.IsNonEmptyArray(this.StringFormatY.RComplexText.Text)){complexText=this.StringFormatY.RComplexText;if(!complexText.Font)complexText.Font=this.Font;if(!complexText.Color)complexText.Color=this.TextColor;}this.CalculateComplexTextSize(complexText,textSize);if(this.Frame.ChartBorder.Right>=30&&this.ShowTextMode.Right==1){var isOverlayIndex=false;//是否有叠加子坐标
|
|
5193
5193
|
var overlayIndexInterval=null;//子坐标间距
|
|
5194
|
-
if(yValueExtend.FrameID>=0){var frame=this.Frame.SubFrame[yValueExtend.FrameID];isOverlayIndex=frame.OverlayIndex.length>0;overlayIndexInterval=null;if(isOverlayIndex){for(var i=0;i<=frame.OverlayIndex.length;++i){var item=frame.OverlayIndex[i];if(item.Frame.IsShow===false)continue;if(!item.Frame.GetXHorizontal)continue;var overlayLeft=item.Frame.GetXHorizontal();overlayIndexInterval=overlayLeft-right;break;}}}//叠加坐标
|
|
5194
|
+
if(yValueExtend.FrameID>=0){var frame=this.Frame.SubFrame[yValueExtend.FrameID];isOverlayIndex=frame.OverlayIndex.length>0;overlayIndexInterval=null;if(isOverlayIndex){for(var i=0;i<=frame.OverlayIndex.length;++i){var item=frame.OverlayIndex[i];if(!item||!item.Frame)continue;if(item.Frame.IsShow===false)continue;if(!item.Frame.GetXHorizontal)continue;var overlayLeft=item.Frame.GetXHorizontal();overlayIndexInterval=overlayLeft-right;break;}}}//叠加坐标
|
|
5195
5195
|
if(isOverlayIndex&&textSize.Width>overlayIndexInterval&&overlayIndexInterval>0)//大于子坐标宽度
|
|
5196
5196
|
{var drawRight=right+overlayIndexInterval;if(drawRight>chartRight)drawRight=chartRight;var itemLeft=drawRight-2-textSize.Width;this.DrawTextBGRect(itemLeft,yTop,textSize.Width,textSize.Height);this.DrawComplexTextV2(itemLeft,yTop,complexText,textSize);if(this.RightButton.Enable)this.DrawRightButton(yTop,itemLeft,this.TextHeight,this.TextHeight,buttonData);}else if(rightWidth<textSize.Width)//右边空白显示不下,
|
|
5197
5197
|
{var itemLeft=chartRight-2-textSize.Width;this.DrawTextBGRect(itemLeft,yTop,textSize.Width,textSize.Height);this.DrawComplexTextV2(itemLeft,yTop,complexText,textSize);if(this.RightButton.Enable)this.DrawRightButton(yTop,chartRight-2-textSize.Width,this.TextHeight,this.TextHeight,buttonData);}else{var itemLeft=right+2;this.DrawTextBGRect(itemLeft,yTop,textSize.Width,textSize.Height);this.DrawComplexTextV2(itemLeft,yTop,complexText,textSize);if(this.RightButton.Enable)this.DrawRightButton(yTop,right+2,this.TextHeight,this.TextHeight,buttonData);}/*
|
|
@@ -5240,8 +5240,7 @@ var yValue=item.Frame.GetYData(y);var text=IFrameSplitOperator.FormatValueString
|
|
|
5240
5240
|
var textWidth=this.Canvas.measureText(text).width+4; //前后各空2个像素
|
|
5241
5241
|
if (textWidth<frame.Interval) break;
|
|
5242
5242
|
}
|
|
5243
|
-
*/this.Canvas.fillStyle=this.TextBGColor;this.Canvas.fillRect(overlayLeft+1,y-this.TextHeight/2,textWidth,this.TextHeight);this.Canvas.textAlign="left";this.Canvas.textBaseline="middle";this.Canvas.fillStyle=this.TextColor;this.Canvas.fillText(text,overlayLeft+4,y,textWidth);}}this.Status=1;};this.
|
|
5244
|
-
if(item.Color)this.Canvas.fillStyle=item.Color;else is.Canvas.fillStyle=this.TextColor;this.Canvas.fillText(item.Text,xText,y,itemWidth);if(i>0&&IFrameSplitOperator.IsNumber(complexText.Space))xText+=complexText.Space;xText+=itemWidth;}};this.DrawComplexTextV2=function(left,yTop,complexText,size){this.Canvas.textAlign="left";this.Canvas.textBaseline="bottom";var showType=0;if(complexText.ShowType==1)showType=complexText.ShowType;if(showType==1)//多行
|
|
5243
|
+
*/this.Canvas.fillStyle=this.TextBGColor;this.Canvas.fillRect(overlayLeft+1,y-this.TextHeight/2,textWidth,this.TextHeight);this.Canvas.textAlign="left";this.Canvas.textBaseline="middle";this.Canvas.fillStyle=this.TextColor;this.Canvas.fillText(text,overlayLeft+4,y,textWidth);}}this.Status=1;};this.DrawComplexTextV2=function(left,yTop,complexText,size){this.Canvas.textAlign="left";this.Canvas.textBaseline="bottom";var showType=0;if(complexText.ShowType==1)showType=complexText.ShowType;if(showType==1)//多行
|
|
5245
5244
|
{var xLeft=left;var yText=yTop;//顶
|
|
5246
5245
|
for(var i=0;i<complexText.Text.length;++i){var item=complexText.Text[i];var itemSize=size.Text[i];if(item.Font)this.Canvas.font=item.Font;else this.Canvas.font=complexText.Font;if(item.Color)this.Canvas.fillStyle=item.Color;else this.Canvas.fillStyle=complexText.Color;var y=yText+itemSize.Height;var x=xLeft;if(item.Margin){var margin=item.Margin;if(IFrameSplitOperator.IsNumber(margin.Bottom))y-=margin.Bottom;if(IFrameSplitOperator.IsNumber(margin.Left))x+=margin.Left;}this.Canvas.fillText(item.Text,x,y,itemSize.Width);yText+=itemSize.Height;}}else//水平 单行
|
|
5247
5246
|
{var xText=left;var yBottom=yTop+size.Height;for(var i=0;i<complexText.Text.length;++i){var item=complexText.Text[i];var itemSize=size.Text[i];if(item.Font)this.Canvas.font=item.Font;else this.Canvas.font=complexText.Font;if(item.Color)this.Canvas.fillStyle=item.Color;else this.Canvas.fillStyle=complexText.Color;var y=yBottom;var x=xText;if(item.Margin){var margin=item.Margin;if(IFrameSplitOperator.IsNumber(margin.Bottom))y-=margin.Bottom;if(IFrameSplitOperator.IsNumber(margin.Left))x+=margin.Left;}this.Canvas.fillText(item.Text,x,y,itemSize.Width);xText+=itemSize.Width;}}};this.CalculateComplexTextSize=function(complexText,size){if(!complexText||!IFrameSplitOperator.IsNonEmptyArray(complexText.Text))return;var showType=0;if(complexText.ShowType==1)showType=complexText.ShowType;if(showType==1)//多行
|
|
@@ -13265,7 +13264,7 @@ hisData.Symbol=message.symbol;}var stockObj={HQDataType:HQ_DATA_TYPE.KLINE_ID,St
|
|
|
13265
13264
|
this.ExecuteScript(item,data);}this.Status=0;}};this.OnExecuteFinish=function(data,indexInfo,jsExectute,jobInfo){var message={Data:data,IndexInfo:indexInfo,ID:JSCHART_WORKER_MESSAGE_ID.FINISH_EXECUTE_SCRIPT,JobInfo:jobInfo};postMessage(message);};this.OnExecuteError=function(error,indexInfo,jobData){var message={IndexInfo:indexInfo,ID:JSCHART_WORKER_MESSAGE_ID.ERROR_EXECUTE_SCRIPT,Error:error};postMessage(message);};}/********************************************************************************
|
|
13266
13265
|
* 版本信息输出
|
|
13267
13266
|
*
|
|
13268
|
-
*/var HQCHART_VERSION="1.1.
|
|
13267
|
+
*/var HQCHART_VERSION="1.1.13515";function PrintHQChartVersion(){var logo='\n\n*************************************************************************************************************************************************************************** \n* \n* :%@@- \n* :@@@@- \n* =@@@@ :#@@@ .:+#@@@#=: :=*@@@@@@#+-. *@@@@. \n* :@@@@@ .@@@@@ .#@@@@@@@@@@@- +@@@@@@@@@@@@@+ @@@@@ -%@@* \n* +@@@@% #@@@@# *@@@@@@@@@@@@@@%. =@@@@@@@@@@@@@@@- @@@@@ -@@@@+ \n* %@@@@* @@@@@+ .%@@@@@@@@@@@@@@@@%: #@@@@@@@@@@@@@@@% @@@@# *@@@@= \n* @@@@@= @@@@@- .%@@@@@@@*++*%@@@@@@% .%@@@@@@@%*+==+**= -@@@@+ #@@@@- \n* @@@@@. @@@@@. #@@@@@%= =@@@@@@* %@@@@@@#: *@@@@- :::. .-+*###+: ::: .+##+: -%%@@@@@%%%% \n* .@@@@@ .@@@@@. +@@@@@% .@@@@@@ *@@@@@@: %@@@@: +@@@@@%. :%@@@@@@@@@@: *@@@ :@@@@@* @@@@@@@@@@@@ \n* :@@@@@ :@@@@@ @@@@@% :@@@@@+ @@@@@@: %@@@@-@@@@@@@@@. @@@@@@@@@@@@@. :@@@%-@@@@@@.:@@@@@@@@@@@# \n* -@@@@% -@@@@@ =@@@@@. %@@@@% %@@@@@- %@@@@@@@@@@@@@@* %@@@@@@@@@@@@+ -@@@@@@@@@@# -@@@@@@@@@@@. \n* +@@@@%=========#@@@@% @@@@@# :@@@@@ .@@@@@% @@@@@@@@%@@@@@@@ -%+:. .#@@@@* +@@@@@@@%%@. .::+@@@@#:: \n* #@@@@@@@@@@@@@@@@@@@# .@@@@@ .@@@@@ :@@@@@. @@@@@@#. #@@@@@. -@@@@* #@@@@@@: *@@@@+ \n* %@@@@@@@@@@@@@@@@@@@+ :@@@@@ .@@@@@ -@@@@@ @@@@@+ @@@@@. :@@@@* @@@@@% #@@@@- \n* @@@@@@@@@@@@@@@@@@@@: :@@@@% :@@@@@ +@@@@% -@@@@+ @@@@@ -@@@@+ @@@@@. @@@@@. \n* .@@@@@@@@@@@@@@@@@@@@ :@@@@% -@@@@% *@@@@% #@@@@. @@@@@ .=*#%%%@@@@@= :@@@@# @@@@@. \n* -@@@@@:::::::::=@@@@@ :@@@@@ @@@@@* +@@@@% @@@@@ @@@@% -#@@@@@@@@@@@@: -@@@@* @@@@@ \n* =@@@@% =@@@@% .@@@@@ :@@@@@. -@@@@% @@@@@ .@@@@* +@@@@@@@@@@@@@@. =@@@@+ .@@@@@ \n* +@@@@# +@@@@# @@@@@# %@@@@% :@@@@@ .@@@@% =@@@@= -@@@@@*-:..%@@@@ +@@@@= :@@@@# \n* *@@@@* *@@@@* +@@@@@: #@@@@@+ .@@@@@@ :@@@@% *@@@@- @@@@@. @@@@% #@@@@: =@@@@+ \n* %@@@@= %@@@@+ @@@@@@- .%@@@@@# #@@@@@# :@@@@% #@@@@: @@@@% @@@@* %@@@@. #@@@@- \n* @@@@@- @@@@@= =@@@@@@#=...-*@@@@@@@: @@@@@@%=. :+**. :@@@@* %@@@@. .@@@@* *@@@@= @@@@@ %@@@@+ \n* .@@@@@: .@@@@@: *@@@@@@@@@@@@@@@@@@@# =@@@@@@@@%%%@@@@@@ +@@@@- @@@@@ .@@@@@: :%@@@@@- .@@@@% %@@@@@*+- \n* :@@@@@ :@@@@@ +@@@@@@@@@@@@@@@@@@@# =@@@@@@@@@@@@@@@@% %@@@@ @@@@@ @@@@@@@@@@@@@@@: -@@@@* *@@@@@@@@- \n* =@@@@@ -@@@@@ :@@@@@@@@@@@@@@@@@@@# :@@@@@@@@@@@@@@@% @@@@@ %@@@% #@@@@@@@@@#@@@@. +@@@@- .@@@@@@@@# \n* *@@@@# =@@@@% :#@@@@@@@#: :@@@@@= =@@@@@@@@@@@+. @@@@@ :@@@+ *@@@@@@@- %@@@ *@@@= =@@@@@@@* \n* =++++- -++++= .:::. .=*+: :-=+++=:. ****= .=+. .-++=: :+++ -+=: .-=+=:. \n* \n* \n* HQChart \n* Ver: '+HQCHART_VERSION+' \n* License: Apache License 2.0 \n* Source: https://github.com/jones2000/HQChart\n*\n************************************************************************************************************************************************************************** \n ';console.log(logo);}PrintHQChartVersion();//把给外界调用的方法暴露出来
|
|
13269
13268
|
exports.default=(_jsChartInit$jsChartS={jsChartInit:JSChart.Init,jsChartStyle:JSChart.SetStyle,// IsIndexSymbol:IsIndexSymbol,
|
|
13270
13269
|
// BaseIndex:BaseIndex,
|
|
13271
13270
|
// ChartLine:ChartLine,
|
package/package.json
CHANGED
package/src/jscommon/umychart.js
CHANGED
|
@@ -49542,7 +49542,11 @@ function ChartCorssCursor()
|
|
|
49542
49542
|
if (this.StringFormatY.RComplexText && IFrameSplitOperator.IsNonEmptyArray(this.StringFormatY.RComplexText.Text))
|
|
49543
49543
|
{
|
|
49544
49544
|
complexText=this.StringFormatY.RComplexText;
|
|
49545
|
+
if (!complexText.Font) complexText.Font=this.Font;
|
|
49546
|
+
if (!complexText.Color) complexText.Color=this.TextColor;
|
|
49545
49547
|
}
|
|
49548
|
+
|
|
49549
|
+
|
|
49546
49550
|
|
|
49547
49551
|
this.CalculateComplexTextSize(complexText, textSize);
|
|
49548
49552
|
|
|
@@ -49560,6 +49564,7 @@ function ChartCorssCursor()
|
|
|
49560
49564
|
for(var i=0;i<=frame.OverlayIndex.length;++i)
|
|
49561
49565
|
{
|
|
49562
49566
|
var item=frame.OverlayIndex[i];
|
|
49567
|
+
if (!item || !item.Frame) continue;
|
|
49563
49568
|
if (item.Frame.IsShow===false) continue;
|
|
49564
49569
|
if (!item.Frame.GetXHorizontal) continue;
|
|
49565
49570
|
|
|
@@ -49740,26 +49745,6 @@ function ChartCorssCursor()
|
|
|
49740
49745
|
this.Status=1;
|
|
49741
49746
|
}
|
|
49742
49747
|
|
|
49743
|
-
this.DrawComplexText=function(left, y, complexText)
|
|
49744
|
-
{
|
|
49745
|
-
this.Canvas.textAlign="left";
|
|
49746
|
-
this.Canvas.textBaseline="middle";
|
|
49747
|
-
var xText=left+2;
|
|
49748
|
-
for(var i=0; i<complexText.Text.length; ++i)
|
|
49749
|
-
{
|
|
49750
|
-
var item=complexText.Text[i];
|
|
49751
|
-
var itemWidth=this.Canvas.measureText(item.Text).width+4; //前后各空2个像素
|
|
49752
|
-
if (item.Color) this.Canvas.fillStyle=item.Color;
|
|
49753
|
-
else is.Canvas.fillStyle=this.TextColor;
|
|
49754
|
-
this.Canvas.fillText(item.Text,xText,y,itemWidth);
|
|
49755
|
-
|
|
49756
|
-
if (i>0 && IFrameSplitOperator.IsNumber(complexText.Space))
|
|
49757
|
-
xText+=complexText.Space;
|
|
49758
|
-
|
|
49759
|
-
xText+=itemWidth;
|
|
49760
|
-
}
|
|
49761
|
-
}
|
|
49762
|
-
|
|
49763
49748
|
this.DrawComplexTextV2=function(left, yTop, complexText, size)
|
|
49764
49749
|
{
|
|
49765
49750
|
this.Canvas.textAlign="left";
|
|
@@ -53467,7 +53467,11 @@ function ChartCorssCursor()
|
|
|
53467
53467
|
if (this.StringFormatY.RComplexText && IFrameSplitOperator.IsNonEmptyArray(this.StringFormatY.RComplexText.Text))
|
|
53468
53468
|
{
|
|
53469
53469
|
complexText=this.StringFormatY.RComplexText;
|
|
53470
|
+
if (!complexText.Font) complexText.Font=this.Font;
|
|
53471
|
+
if (!complexText.Color) complexText.Color=this.TextColor;
|
|
53470
53472
|
}
|
|
53473
|
+
|
|
53474
|
+
|
|
53471
53475
|
|
|
53472
53476
|
this.CalculateComplexTextSize(complexText, textSize);
|
|
53473
53477
|
|
|
@@ -53485,6 +53489,7 @@ function ChartCorssCursor()
|
|
|
53485
53489
|
for(var i=0;i<=frame.OverlayIndex.length;++i)
|
|
53486
53490
|
{
|
|
53487
53491
|
var item=frame.OverlayIndex[i];
|
|
53492
|
+
if (!item || !item.Frame) continue;
|
|
53488
53493
|
if (item.Frame.IsShow===false) continue;
|
|
53489
53494
|
if (!item.Frame.GetXHorizontal) continue;
|
|
53490
53495
|
|
|
@@ -53665,26 +53670,6 @@ function ChartCorssCursor()
|
|
|
53665
53670
|
this.Status=1;
|
|
53666
53671
|
}
|
|
53667
53672
|
|
|
53668
|
-
this.DrawComplexText=function(left, y, complexText)
|
|
53669
|
-
{
|
|
53670
|
-
this.Canvas.textAlign="left";
|
|
53671
|
-
this.Canvas.textBaseline="middle";
|
|
53672
|
-
var xText=left+2;
|
|
53673
|
-
for(var i=0; i<complexText.Text.length; ++i)
|
|
53674
|
-
{
|
|
53675
|
-
var item=complexText.Text[i];
|
|
53676
|
-
var itemWidth=this.Canvas.measureText(item.Text).width+4; //前后各空2个像素
|
|
53677
|
-
if (item.Color) this.Canvas.fillStyle=item.Color;
|
|
53678
|
-
else is.Canvas.fillStyle=this.TextColor;
|
|
53679
|
-
this.Canvas.fillText(item.Text,xText,y,itemWidth);
|
|
53680
|
-
|
|
53681
|
-
if (i>0 && IFrameSplitOperator.IsNumber(complexText.Space))
|
|
53682
|
-
xText+=complexText.Space;
|
|
53683
|
-
|
|
53684
|
-
xText+=itemWidth;
|
|
53685
|
-
}
|
|
53686
|
-
}
|
|
53687
|
-
|
|
53688
53673
|
this.DrawComplexTextV2=function(left, yTop, complexText, size)
|
|
53689
53674
|
{
|
|
53690
53675
|
this.Canvas.textAlign="left";
|
|
@@ -134659,7 +134644,7 @@ function ScrollBarBGChart()
|
|
|
134659
134644
|
|
|
134660
134645
|
|
|
134661
134646
|
|
|
134662
|
-
var HQCHART_VERSION="1.1.
|
|
134647
|
+
var HQCHART_VERSION="1.1.13515";
|
|
134663
134648
|
|
|
134664
134649
|
function PrintHQChartVersion()
|
|
134665
134650
|
{
|
|
@@ -53511,7 +53511,11 @@ function ChartCorssCursor()
|
|
|
53511
53511
|
if (this.StringFormatY.RComplexText && IFrameSplitOperator.IsNonEmptyArray(this.StringFormatY.RComplexText.Text))
|
|
53512
53512
|
{
|
|
53513
53513
|
complexText=this.StringFormatY.RComplexText;
|
|
53514
|
+
if (!complexText.Font) complexText.Font=this.Font;
|
|
53515
|
+
if (!complexText.Color) complexText.Color=this.TextColor;
|
|
53514
53516
|
}
|
|
53517
|
+
|
|
53518
|
+
|
|
53515
53519
|
|
|
53516
53520
|
this.CalculateComplexTextSize(complexText, textSize);
|
|
53517
53521
|
|
|
@@ -53529,6 +53533,7 @@ function ChartCorssCursor()
|
|
|
53529
53533
|
for(var i=0;i<=frame.OverlayIndex.length;++i)
|
|
53530
53534
|
{
|
|
53531
53535
|
var item=frame.OverlayIndex[i];
|
|
53536
|
+
if (!item || !item.Frame) continue;
|
|
53532
53537
|
if (item.Frame.IsShow===false) continue;
|
|
53533
53538
|
if (!item.Frame.GetXHorizontal) continue;
|
|
53534
53539
|
|
|
@@ -53709,26 +53714,6 @@ function ChartCorssCursor()
|
|
|
53709
53714
|
this.Status=1;
|
|
53710
53715
|
}
|
|
53711
53716
|
|
|
53712
|
-
this.DrawComplexText=function(left, y, complexText)
|
|
53713
|
-
{
|
|
53714
|
-
this.Canvas.textAlign="left";
|
|
53715
|
-
this.Canvas.textBaseline="middle";
|
|
53716
|
-
var xText=left+2;
|
|
53717
|
-
for(var i=0; i<complexText.Text.length; ++i)
|
|
53718
|
-
{
|
|
53719
|
-
var item=complexText.Text[i];
|
|
53720
|
-
var itemWidth=this.Canvas.measureText(item.Text).width+4; //前后各空2个像素
|
|
53721
|
-
if (item.Color) this.Canvas.fillStyle=item.Color;
|
|
53722
|
-
else is.Canvas.fillStyle=this.TextColor;
|
|
53723
|
-
this.Canvas.fillText(item.Text,xText,y,itemWidth);
|
|
53724
|
-
|
|
53725
|
-
if (i>0 && IFrameSplitOperator.IsNumber(complexText.Space))
|
|
53726
|
-
xText+=complexText.Space;
|
|
53727
|
-
|
|
53728
|
-
xText+=itemWidth;
|
|
53729
|
-
}
|
|
53730
|
-
}
|
|
53731
|
-
|
|
53732
53717
|
this.DrawComplexTextV2=function(left, yTop, complexText, size)
|
|
53733
53718
|
{
|
|
53734
53719
|
this.Canvas.textAlign="left";
|
|
@@ -138600,7 +138585,7 @@ function HQChartScriptWorker()
|
|
|
138600
138585
|
|
|
138601
138586
|
|
|
138602
138587
|
|
|
138603
|
-
var HQCHART_VERSION="1.1.
|
|
138588
|
+
var HQCHART_VERSION="1.1.13515";
|
|
138604
138589
|
|
|
138605
138590
|
function PrintHQChartVersion()
|
|
138606
138591
|
{
|