hqchart 1.1.12505 → 1.1.12516

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.
@@ -935,6 +935,8 @@ function ScriptIndex(name, script, args, option)
935
935
  if (varItem.Color) chart.Color = this.GetColor(varItem.Color);
936
936
  else chart.Color = 'rgb(0,0,0)';
937
937
 
938
+ if (varItem.Draw.MarkID) chart.MarkID=varItem.Draw.MarkID; //外部指定ID
939
+
938
940
  if (varItem.DrawVAlign>=0)
939
941
  {
940
942
  if (varItem.DrawVAlign==0) chart.TextBaseline="top";
@@ -961,6 +963,7 @@ function ScriptIndex(name, script, args, option)
961
963
  if (event && event.Callback)
962
964
  {
963
965
  var sendData={ FrameID:windowIndex, ID:id, Data:varItem, Callback:null };
966
+ if (varItem.Draw.MarkID) sendData.MarkID=varItem.Draw.MarkID; //外部指定ID
964
967
  event.Callback(event, sendData,this);
965
968
  if (sendData.Callback)
966
969
  {
@@ -972,6 +975,7 @@ function ScriptIndex(name, script, args, option)
972
975
  let chartText = new ChartSingleText();
973
976
  chartText.Canvas = hqChart.Canvas;
974
977
  chartText.TextAlign = 'center';
978
+
975
979
 
976
980
  chartText.Name = varItem.Name;
977
981
  chartText.ChartBorder = hqChart.Frame.SubFrame[windowIndex].Frame.ChartBorder;
@@ -984,6 +988,8 @@ function ScriptIndex(name, script, args, option)
984
988
  else if (varItem.Draw.Icon.Color) chartText.Color = varItem.Draw.Icon.Color;
985
989
  else chartText.Color = 'rgb(0,0,0)';
986
990
 
991
+
992
+
987
993
  if (varItem.DrawVAlign>=0)
988
994
  {
989
995
  if (varItem.DrawVAlign==0) chartText.Direction=1;
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var HQCHART_VERSION="1.1.12500";
8
+ var HQCHART_VERSION="1.1.12508";
9
9
 
10
10
  function PrintHQChartVersion()
11
11
  {