hqchart 1.1.12827 → 1.1.12829

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.
@@ -6850,8 +6850,8 @@ preItem=item;}else{if(preItem){if(preItem.Direction==1){//if (preItem.High<kItem
6850
6850
  // this.ChartPaint[0] K线画法 这个不要修改
6851
6851
  //
6852
6852
  //
6853
- function KLineChartContainer(uielement,OffscreenElement){var _self=this;this.newMethod=JSChartContainer;//派生
6854
- this.newMethod(uielement,OffscreenElement);delete this.newMethod;this.ClassName='KLineChartContainer';this.WindowIndex=new Array();this.ColorIndex;//五彩K线
6853
+ function KLineChartContainer(uielement,OffscreenElement,cacheElement){var _self=this;this.newMethod=JSChartContainer;//派生
6854
+ this.newMethod(uielement,OffscreenElement,cacheElement);delete this.newMethod;this.ClassName='KLineChartContainer';this.WindowIndex=new Array();this.ColorIndex;//五彩K线
6855
6855
  this.TradeIndex;//交易指标/专家系统
6856
6856
  this.Symbol;this.Name;this.Period=0;//周期 0=日线 1=周线 2=月线 3=年线 4=1分钟 5=5分钟 6=15分钟 7=30分钟 8=60分钟 9=季线 10=分笔线 11=120分钟 12=240分钟
6857
6857
  this.IsApiPeriod=false;//使用API计算周期
@@ -13028,7 +13028,7 @@ hisData.Symbol=message.symbol;}var stockObj={HQDataType:HQ_DATA_TYPE.KLINE_ID,St
13028
13028
  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);};}/********************************************************************************
13029
13029
  * 版本信息输出
13030
13030
  *
13031
- */var HQCHART_VERSION="1.1.12826";function PrintHQChartVersion(){var log='*************************************************************************************************************\n*\n* HQChart Ver: '+HQCHART_VERSION+' \n* \n* License: Apache License 2.0 \n* Source: https://github.com/jones2000/HQChart\n*\n*************************************************************************************************************\n';console.log(log);}PrintHQChartVersion();//把给外界调用的方法暴露出来
13031
+ */var HQCHART_VERSION="1.1.12828";function PrintHQChartVersion(){var log='*************************************************************************************************************\n*\n* HQChart Ver: '+HQCHART_VERSION+' \n* \n* License: Apache License 2.0 \n* Source: https://github.com/jones2000/HQChart\n*\n*************************************************************************************************************\n';console.log(log);}PrintHQChartVersion();//把给外界调用的方法暴露出来
13032
13032
  exports.default=(_jsChartInit$jsChartS={jsChartInit:JSChart.Init,jsChartStyle:JSChart.SetStyle,// IsIndexSymbol:IsIndexSymbol,
13033
13033
  // BaseIndex:BaseIndex,
13034
13034
  // ChartLine:ChartLine,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hqchart",
3
- "version": "1.1.12827",
3
+ "version": "1.1.12829",
4
4
  "description": "stock chart",
5
5
  "main": "lib/main.js",
6
6
  "scripts": {
@@ -65557,11 +65557,11 @@ function LineBreakCalcuate()
65557
65557
  // this.ChartPaint[0] K线画法 这个不要修改
65558
65558
  //
65559
65559
  //
65560
- function KLineChartContainer(uielement,OffscreenElement)
65560
+ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
65561
65561
  {
65562
65562
  var _self =this;
65563
65563
  this.newMethod=JSChartContainer; //派生
65564
- this.newMethod(uielement,OffscreenElement);
65564
+ this.newMethod(uielement,OffscreenElement,cacheElement);
65565
65565
  delete this.newMethod;
65566
65566
 
65567
65567
  this.ClassName='KLineChartContainer';
@@ -69724,11 +69724,11 @@ function LineBreakCalcuate()
69724
69724
  // this.ChartPaint[0] K线画法 这个不要修改
69725
69725
  //
69726
69726
  //
69727
- function KLineChartContainer(uielement,OffscreenElement)
69727
+ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
69728
69728
  {
69729
69729
  var _self =this;
69730
69730
  this.newMethod=JSChartContainer; //派生
69731
- this.newMethod(uielement,OffscreenElement);
69731
+ this.newMethod(uielement,OffscreenElement,cacheElement);
69732
69732
  delete this.newMethod;
69733
69733
 
69734
69734
  this.ClassName='KLineChartContainer';
@@ -131793,7 +131793,7 @@ function ScrollBarBGChart()
131793
131793
 
131794
131794
 
131795
131795
 
131796
- var HQCHART_VERSION="1.1.12826";
131796
+ var HQCHART_VERSION="1.1.12828";
131797
131797
 
131798
131798
  function PrintHQChartVersion()
131799
131799
  {
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var HQCHART_VERSION="1.1.12826";
8
+ var HQCHART_VERSION="1.1.12828";
9
9
 
10
10
  function PrintHQChartVersion()
11
11
  {
@@ -69768,11 +69768,11 @@ function LineBreakCalcuate()
69768
69768
  // this.ChartPaint[0] K线画法 这个不要修改
69769
69769
  //
69770
69770
  //
69771
- function KLineChartContainer(uielement,OffscreenElement)
69771
+ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
69772
69772
  {
69773
69773
  var _self =this;
69774
69774
  this.newMethod=JSChartContainer; //派生
69775
- this.newMethod(uielement,OffscreenElement);
69775
+ this.newMethod(uielement,OffscreenElement,cacheElement);
69776
69776
  delete this.newMethod;
69777
69777
 
69778
69778
  this.ClassName='KLineChartContainer';
@@ -131951,7 +131951,7 @@ function HQChartScriptWorker()
131951
131951
 
131952
131952
 
131953
131953
 
131954
- var HQCHART_VERSION="1.1.12826";
131954
+ var HQCHART_VERSION="1.1.12828";
131955
131955
 
131956
131956
  function PrintHQChartVersion()
131957
131957
  {