hqchart 1.1.14295 → 1.1.14299

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hqchart",
3
- "version": "1.1.14295",
3
+ "version": "1.1.14299",
4
4
  "description": "HQChart - H5, 微信小程序 沪深/港股/数字货币/期货/美股 K线图(kline),走势图,缩放,拖拽,十字光标,画图工具,截图,筹码图. 分析家语法,通达信语法,(麦语法),第3方数据对接",
5
5
  "main": "lib/main.js",
6
6
  "scripts": {
@@ -55745,6 +55745,8 @@ HQData.Minute_RequestMinuteData=function(data, callback)
55745
55745
  }
55746
55746
  */
55747
55747
 
55748
+ stockItem.minute.length=50;
55749
+
55748
55750
  var hqchartData={code:0, stock:[stockItem] };
55749
55751
 
55750
55752
 
@@ -57370,6 +57372,8 @@ HQData.Report_APIIndex=function(data, callback)
57370
57372
  HQData.APIIndex_MULTI_SVGICON(data, callback);
57371
57373
  else if (request.Data.indexname=="API-DRAWTEXT_LINE")
57372
57374
  HQData.APIIndex_DRAWTEXT_LINE(data, callback);
57375
+ else if (request.Data.indexname=="API_DRAW_SIMPLE_TABLE")
57376
+ HQData.APIIndex_DRAW_SIMPLE_TABLE(data, callback);
57373
57377
  }
57374
57378
 
57375
57379
 
@@ -57792,4 +57796,48 @@ HQData.APIIndex_DRAWTEXT_LINE=function(data, callback)
57792
57796
  callback(apiData);
57793
57797
  }
57794
57798
 
57799
+ HQData.APIIndex_DRAW_SIMPLE_TABLE=function(data, callback)
57800
+ {
57801
+ data.PreventDefault=true;
57802
+ var hqchart=data.HQChart;
57803
+ var kData=hqchart.GetKData();
57804
+
57805
+ var tableData=
57806
+ {
57807
+ name:'DRAW_SIMPLE_TABLE', type:1,
57808
+ Draw:
57809
+ {
57810
+ DrawType:'DRAW_SIMPLE_TABLE',
57811
+ DrawData:
57812
+ {
57813
+ //BGColor:"rgba(250,250,210,0.8)",
57814
+ //BorderColor:"rgb(0,0,255)",
57815
+ //TextColor:"rgb(0,191,255)",
57816
+ TableData:
57817
+ [
57818
+ { AryCell:[{ Text:"股票代码"}, { Text:"主营业务", TextAlign:'center'}, { Text:"每股收益(元)"}] },
57819
+ { AryCell:[{ Text:"美丽生态"}, { Text:"园林绿化"}, { Text:"13.5", Color:"rgb(139,0,139)"}] },
57820
+ { AryCell:[{ Text:"深物业A"}, { Text:"房地产及相关业务", BGColor:"rgb(200,200,200)"}, { Text:"0.12"}] },
57821
+ { AryCell:[{ Text:"深科技"}, { Text:"计算机硬件、通讯设备等"}, { Text:"5.4"}] },
57822
+ ],
57823
+
57824
+ //TextFont:{ Size:16, Name:"微软雅黑"},
57825
+ //XOffset:-10,
57826
+ //YOffset:-15,
57827
+ }
57828
+ }
57829
+ };
57830
+
57831
+ var apiData=
57832
+ {
57833
+ code:0,
57834
+ stock:{ name:hqchart.Name, symbol:hqchart.Symbol },
57835
+ outdata: { date:kData.GetDate(), time:kData.GetTime() , outvar:[tableData] }
57836
+ };
57837
+
57838
+
57839
+ console.log('[HQData.APIIndex_DRAW_SIMPLE_TABLE] apiData ', apiData);
57840
+ callback(apiData);
57841
+ }
57842
+
57795
57843
 
@@ -179,7 +179,7 @@ function JSPopKeyboard()
179
179
  }
180
180
  }
181
181
 
182
- if ((code>=48 && code<=57) || (code>=65 && code<=90) || (code>=97 && code<=122) || code==8)
182
+ if ((code>=48 && code<=57) || (code>=65 && code<=90) || (code>=96 && code<=122) || code==8)
183
183
  {
184
184
  var strText=this.InputDOM.value;
185
185
  strText=strText.toUpperCase();
@@ -277,7 +277,7 @@ function JSPopKeyboard()
277
277
  var code=event.keyCode;
278
278
  if (code==116) return; //F5不处理
279
279
 
280
- if (!this.IsShow() && (code>=48 && code<=57) || (code>=65 && code<=90) || (code>=97 && code<=122))
280
+ if (!this.IsShow() && (code>=48 && code<=57) || (code>=65 && code<=90) || (code>=96 && code<=122))
281
281
  {
282
282
  this.Show();
283
283
  this.InputDOM.focus();
@@ -19373,6 +19373,10 @@ function JSExplainer(ast,option)
19373
19373
  ["L2_VOLNUM", { Name:"L2_VOLNUM", Param:{ Count:2 }, ToString:function(args) { return `单数分档`; } }],
19374
19374
  ["L2_VOL", { Name:"L2_VOL", Param:{ Count:2 }, ToString:function(args) { return `成交量分档`; } }],
19375
19375
  ["L2_AMO", { Name:"L2_AMO", Param:{ Count:2 }, ToString:function(args) { return `成交额分档`; } }],
19376
+
19377
+ ["TABLE_CELL", { Name:"TABLE_CELL",Param:{ Dynamic:true }, ToString:function(args) { return `创建表格单元格`; } }],
19378
+ ["TABLE_ROW", { Name:"TABLE_ROW",Param:{ Dynamic:true }, ToString:function(args) { return `创建表格行`; } }],
19379
+ ["DRAWTABLE", { Name:"DRAWTABLE",Param:{ Dynamic:true }, ToString:function(args) { return `绘制表格`; } }]
19376
19380
 
19377
19381
  ]
19378
19382
  );
@@ -31761,6 +31761,127 @@ function ChartSimpleTable()
31761
31761
  }
31762
31762
  }
31763
31763
 
31764
+
31765
+ //饼图
31766
+ function ChartPie()
31767
+ {
31768
+ this.newMethod=IChartPainting; //派生
31769
+ this.newMethod();
31770
+ delete this.newMethod;
31771
+
31772
+ this.Radius = 100; //半径默认值
31773
+ this.Width=40;
31774
+ this.Height=50;
31775
+
31776
+ //this.Distance = 30; //指示线超出圆饼的距离
31777
+ //this.txtLine = 20; // 文本下划线
31778
+ //this.paddingX = 20 / 3;// 设置文本的移动
31779
+
31780
+
31781
+
31782
+ this.RectClient={ };
31783
+
31784
+ this.Draw=function()
31785
+ {
31786
+ if (!this.Data || !this.Data.Data || !(this.Data.Data.length>0)) return this.DrawEmptyData();
31787
+
31788
+
31789
+
31790
+ let left=this.ChartBorder.GetLeft();
31791
+ let right=this.ChartBorder.GetRight();
31792
+ let top=this.ChartBorder.GetTop();
31793
+ let bottom=this.ChartBorder.GetBottom();
31794
+ let width=this.ChartBorder.GetWidth();
31795
+ let height=this.ChartBorder.GetHeight();
31796
+
31797
+ if(isNaN(this.Radius)){
31798
+ let str = this.Radius.replace("%","");
31799
+ str = str/100;
31800
+ if(width >= height){
31801
+ this.Radius = str*height;
31802
+ }
31803
+ if(width < height) this.Radius = str*width;
31804
+ }
31805
+
31806
+
31807
+ this.Canvas.save();
31808
+ this.Canvas.translate(width/2,height/2);
31809
+
31810
+ let totalValue=0; //求和
31811
+ for(let i in this.Data.Data)
31812
+ {
31813
+ totalValue += this.Data.Data[i].Value;
31814
+ }
31815
+ let start = 0;
31816
+ let end = 0;
31817
+ //画饼图
31818
+ for(let i in this.Data.Data)
31819
+ {
31820
+ let item =this.Data.Data[i];
31821
+ let rate=(item.Value/totalValue).toFixed(2); //占比
31822
+ //JSConsole.Chart.Log('[ChartPie::Draw]', i, rate, item);
31823
+
31824
+ // 绘制扇形
31825
+ this.Canvas.beginPath();
31826
+ this.Canvas.moveTo(0,0);
31827
+
31828
+ end += rate*2*Math.PI;//终止角度
31829
+ this.Canvas.strokeStyle = "white";
31830
+ this.Canvas.fillStyle = item.Color;
31831
+ this.Canvas.arc(0,0,this.Radius,start,end);
31832
+ this.Canvas.fill();
31833
+ this.Canvas.closePath();
31834
+ this.Canvas.stroke();
31835
+
31836
+ // 绘制直线
31837
+ this.Canvas.beginPath();
31838
+ this.Canvas.strokeStyle = item.Color;
31839
+ this.Canvas.moveTo(0,0);
31840
+ let x = (this.Radius + this.Distance)*Math.cos(end- (end-start)/2);
31841
+ let y = (this.Radius + this.Distance)*Math.sin(end - (end-start)/2);
31842
+ this.Canvas.lineTo(x,y);
31843
+ // JSConsole.Chart.Log(x,y,"xy")
31844
+
31845
+ // 绘制横线
31846
+ let txtLine = this.txtLine;
31847
+ let paddingX = this.paddingX;
31848
+ this.Canvas.textAlign = 'left';
31849
+ if( end - (end-start)/2 < 1.5*Math.PI && end - (end-start)/2 > 0.5*Math.PI ){
31850
+
31851
+ txtLine = - this.txtLine;
31852
+ paddingX = - this.paddingX;
31853
+ this.Canvas.textAlign = 'right';
31854
+ }
31855
+ this.Canvas.lineTo( x + txtLine, y );
31856
+ this.Canvas.stroke();
31857
+
31858
+ // 写文字
31859
+ if(item.Text){
31860
+ this.Canvas.fillText( item.Text, x + txtLine + paddingX, y );
31861
+ }else{
31862
+ let text = `${item.Name}:${item.Value}`;
31863
+ this.Canvas.fillText( text, x + txtLine + paddingX, y );
31864
+ }
31865
+
31866
+
31867
+ start += rate*2*Math.PI;//起始角度
31868
+ }
31869
+
31870
+ this.Canvas.restore();
31871
+ }
31872
+
31873
+ //空数据
31874
+ this.DrawEmptyData=function()
31875
+ {
31876
+ JSConsole.Chart.Log('[ChartPie::DrawEmptyData]')
31877
+ }
31878
+
31879
+ this.GetMaxMin=function()
31880
+ {
31881
+ return { Min:null, Max:null };
31882
+ }
31883
+ }
31884
+
31764
31885
  //分钟成交量 支持横屏
31765
31886
  function ChartMinuteVolumBar()
31766
31887
  {
@@ -82534,6 +82655,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
82534
82655
  if (kData && IFrameSplitOperator.IsNonEmptyArray(kData.Data))
82535
82656
  {
82536
82657
  var index=parseInt(position.CursorIndex.toFixed(0));
82658
+ if (index>=kData.Data.length) index=kData.Data.length-1; //未开盘的时间,取最后一个数据的收盘价
82537
82659
  var item=kData.Data[index];
82538
82660
  if (item && IFrameSplitOperator.IsNumber(item.Close))
82539
82661
  {
@@ -231,6 +231,8 @@ HQData.Minute_RequestMinuteData=function(data, callback)
231
231
  }
232
232
  */
233
233
 
234
+ stockItem.minute.length=50;
235
+
234
236
  var hqchartData={code:0, stock:[stockItem] };
235
237
 
236
238
 
@@ -1856,6 +1858,8 @@ HQData.Report_APIIndex=function(data, callback)
1856
1858
  HQData.APIIndex_MULTI_SVGICON(data, callback);
1857
1859
  else if (request.Data.indexname=="API-DRAWTEXT_LINE")
1858
1860
  HQData.APIIndex_DRAWTEXT_LINE(data, callback);
1861
+ else if (request.Data.indexname=="API_DRAW_SIMPLE_TABLE")
1862
+ HQData.APIIndex_DRAW_SIMPLE_TABLE(data, callback);
1859
1863
  }
1860
1864
 
1861
1865
 
@@ -2278,4 +2282,48 @@ HQData.APIIndex_DRAWTEXT_LINE=function(data, callback)
2278
2282
  callback(apiData);
2279
2283
  }
2280
2284
 
2285
+ HQData.APIIndex_DRAW_SIMPLE_TABLE=function(data, callback)
2286
+ {
2287
+ data.PreventDefault=true;
2288
+ var hqchart=data.HQChart;
2289
+ var kData=hqchart.GetKData();
2290
+
2291
+ var tableData=
2292
+ {
2293
+ name:'DRAW_SIMPLE_TABLE', type:1,
2294
+ Draw:
2295
+ {
2296
+ DrawType:'DRAW_SIMPLE_TABLE',
2297
+ DrawData:
2298
+ {
2299
+ //BGColor:"rgba(250,250,210,0.8)",
2300
+ //BorderColor:"rgb(0,0,255)",
2301
+ //TextColor:"rgb(0,191,255)",
2302
+ TableData:
2303
+ [
2304
+ { AryCell:[{ Text:"股票代码"}, { Text:"主营业务", TextAlign:'center'}, { Text:"每股收益(元)"}] },
2305
+ { AryCell:[{ Text:"美丽生态"}, { Text:"园林绿化"}, { Text:"13.5", Color:"rgb(139,0,139)"}] },
2306
+ { AryCell:[{ Text:"深物业A"}, { Text:"房地产及相关业务", BGColor:"rgb(200,200,200)"}, { Text:"0.12"}] },
2307
+ { AryCell:[{ Text:"深科技"}, { Text:"计算机硬件、通讯设备等"}, { Text:"5.4"}] },
2308
+ ],
2309
+
2310
+ //TextFont:{ Size:16, Name:"微软雅黑"},
2311
+ //XOffset:-10,
2312
+ //YOffset:-15,
2313
+ }
2314
+ }
2315
+ };
2316
+
2317
+ var apiData=
2318
+ {
2319
+ code:0,
2320
+ stock:{ name:hqchart.Name, symbol:hqchart.Symbol },
2321
+ outdata: { date:kData.GetDate(), time:kData.GetTime() , outvar:[tableData] }
2322
+ };
2323
+
2324
+
2325
+ console.log('[HQData.APIIndex_DRAW_SIMPLE_TABLE] apiData ', apiData);
2326
+ callback(apiData);
2327
+ }
2328
+
2281
2329
 
@@ -35686,6 +35686,127 @@ function ChartSimpleTable()
35686
35686
  }
35687
35687
  }
35688
35688
 
35689
+
35690
+ //饼图
35691
+ function ChartPie()
35692
+ {
35693
+ this.newMethod=IChartPainting; //派生
35694
+ this.newMethod();
35695
+ delete this.newMethod;
35696
+
35697
+ this.Radius = 100; //半径默认值
35698
+ this.Width=40;
35699
+ this.Height=50;
35700
+
35701
+ //this.Distance = 30; //指示线超出圆饼的距离
35702
+ //this.txtLine = 20; // 文本下划线
35703
+ //this.paddingX = 20 / 3;// 设置文本的移动
35704
+
35705
+
35706
+
35707
+ this.RectClient={ };
35708
+
35709
+ this.Draw=function()
35710
+ {
35711
+ if (!this.Data || !this.Data.Data || !(this.Data.Data.length>0)) return this.DrawEmptyData();
35712
+
35713
+
35714
+
35715
+ let left=this.ChartBorder.GetLeft();
35716
+ let right=this.ChartBorder.GetRight();
35717
+ let top=this.ChartBorder.GetTop();
35718
+ let bottom=this.ChartBorder.GetBottom();
35719
+ let width=this.ChartBorder.GetWidth();
35720
+ let height=this.ChartBorder.GetHeight();
35721
+
35722
+ if(isNaN(this.Radius)){
35723
+ let str = this.Radius.replace("%","");
35724
+ str = str/100;
35725
+ if(width >= height){
35726
+ this.Radius = str*height;
35727
+ }
35728
+ if(width < height) this.Radius = str*width;
35729
+ }
35730
+
35731
+
35732
+ this.Canvas.save();
35733
+ this.Canvas.translate(width/2,height/2);
35734
+
35735
+ let totalValue=0; //求和
35736
+ for(let i in this.Data.Data)
35737
+ {
35738
+ totalValue += this.Data.Data[i].Value;
35739
+ }
35740
+ let start = 0;
35741
+ let end = 0;
35742
+ //画饼图
35743
+ for(let i in this.Data.Data)
35744
+ {
35745
+ let item =this.Data.Data[i];
35746
+ let rate=(item.Value/totalValue).toFixed(2); //占比
35747
+ //JSConsole.Chart.Log('[ChartPie::Draw]', i, rate, item);
35748
+
35749
+ // 绘制扇形
35750
+ this.Canvas.beginPath();
35751
+ this.Canvas.moveTo(0,0);
35752
+
35753
+ end += rate*2*Math.PI;//终止角度
35754
+ this.Canvas.strokeStyle = "white";
35755
+ this.Canvas.fillStyle = item.Color;
35756
+ this.Canvas.arc(0,0,this.Radius,start,end);
35757
+ this.Canvas.fill();
35758
+ this.Canvas.closePath();
35759
+ this.Canvas.stroke();
35760
+
35761
+ // 绘制直线
35762
+ this.Canvas.beginPath();
35763
+ this.Canvas.strokeStyle = item.Color;
35764
+ this.Canvas.moveTo(0,0);
35765
+ let x = (this.Radius + this.Distance)*Math.cos(end- (end-start)/2);
35766
+ let y = (this.Radius + this.Distance)*Math.sin(end - (end-start)/2);
35767
+ this.Canvas.lineTo(x,y);
35768
+ // JSConsole.Chart.Log(x,y,"xy")
35769
+
35770
+ // 绘制横线
35771
+ let txtLine = this.txtLine;
35772
+ let paddingX = this.paddingX;
35773
+ this.Canvas.textAlign = 'left';
35774
+ if( end - (end-start)/2 < 1.5*Math.PI && end - (end-start)/2 > 0.5*Math.PI ){
35775
+
35776
+ txtLine = - this.txtLine;
35777
+ paddingX = - this.paddingX;
35778
+ this.Canvas.textAlign = 'right';
35779
+ }
35780
+ this.Canvas.lineTo( x + txtLine, y );
35781
+ this.Canvas.stroke();
35782
+
35783
+ // 写文字
35784
+ if(item.Text){
35785
+ this.Canvas.fillText( item.Text, x + txtLine + paddingX, y );
35786
+ }else{
35787
+ let text = `${item.Name}:${item.Value}`;
35788
+ this.Canvas.fillText( text, x + txtLine + paddingX, y );
35789
+ }
35790
+
35791
+
35792
+ start += rate*2*Math.PI;//起始角度
35793
+ }
35794
+
35795
+ this.Canvas.restore();
35796
+ }
35797
+
35798
+ //空数据
35799
+ this.DrawEmptyData=function()
35800
+ {
35801
+ JSConsole.Chart.Log('[ChartPie::DrawEmptyData]')
35802
+ }
35803
+
35804
+ this.GetMaxMin=function()
35805
+ {
35806
+ return { Min:null, Max:null };
35807
+ }
35808
+ }
35809
+
35689
35810
  //分钟成交量 支持横屏
35690
35811
  function ChartMinuteVolumBar()
35691
35812
  {
@@ -86459,6 +86580,7 @@ function MinuteChartContainer(uielement,offscreenElement,cacheElement)
86459
86580
  if (kData && IFrameSplitOperator.IsNonEmptyArray(kData.Data))
86460
86581
  {
86461
86582
  var index=parseInt(position.CursorIndex.toFixed(0));
86583
+ if (index>=kData.Data.length) index=kData.Data.length-1; //未开盘的时间,取最后一个数据的收盘价
86462
86584
  var item=kData.Data[index];
86463
86585
  if (item && IFrameSplitOperator.IsNumber(item.Close))
86464
86586
  {
@@ -119659,6 +119781,10 @@ function JSExplainer(ast,option)
119659
119781
  ["L2_VOLNUM", { Name:"L2_VOLNUM", Param:{ Count:2 }, ToString:function(args) { return `单数分档`; } }],
119660
119782
  ["L2_VOL", { Name:"L2_VOL", Param:{ Count:2 }, ToString:function(args) { return `成交量分档`; } }],
119661
119783
  ["L2_AMO", { Name:"L2_AMO", Param:{ Count:2 }, ToString:function(args) { return `成交额分档`; } }],
119784
+
119785
+ ["TABLE_CELL", { Name:"TABLE_CELL",Param:{ Dynamic:true }, ToString:function(args) { return `创建表格单元格`; } }],
119786
+ ["TABLE_ROW", { Name:"TABLE_ROW",Param:{ Dynamic:true }, ToString:function(args) { return `创建表格行`; } }],
119787
+ ["DRAWTABLE", { Name:"DRAWTABLE",Param:{ Dynamic:true }, ToString:function(args) { return `绘制表格`; } }]
119662
119788
 
119663
119789
  ]
119664
119790
  );
@@ -141353,7 +141479,7 @@ function ScrollBarBGChart()
141353
141479
 
141354
141480
 
141355
141481
 
141356
- var HQCHART_VERSION="1.1.14294";
141482
+ var HQCHART_VERSION="1.1.14298";
141357
141483
 
141358
141484
  function PrintHQChartVersion()
141359
141485
  {
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var HQCHART_VERSION="1.1.14294";
8
+ var HQCHART_VERSION="1.1.14298";
9
9
 
10
10
  function PrintHQChartVersion()
11
11
  {
@@ -55763,6 +55763,8 @@ HQData.Minute_RequestMinuteData=function(data, callback)
55763
55763
  }
55764
55764
  */
55765
55765
 
55766
+ stockItem.minute.length=50;
55767
+
55766
55768
  var hqchartData={code:0, stock:[stockItem] };
55767
55769
 
55768
55770
 
@@ -57388,6 +57390,8 @@ HQData.Report_APIIndex=function(data, callback)
57388
57390
  HQData.APIIndex_MULTI_SVGICON(data, callback);
57389
57391
  else if (request.Data.indexname=="API-DRAWTEXT_LINE")
57390
57392
  HQData.APIIndex_DRAWTEXT_LINE(data, callback);
57393
+ else if (request.Data.indexname=="API_DRAW_SIMPLE_TABLE")
57394
+ HQData.APIIndex_DRAW_SIMPLE_TABLE(data, callback);
57391
57395
  }
57392
57396
 
57393
57397
 
@@ -57810,6 +57814,50 @@ HQData.APIIndex_DRAWTEXT_LINE=function(data, callback)
57810
57814
  callback(apiData);
57811
57815
  }
57812
57816
 
57817
+ HQData.APIIndex_DRAW_SIMPLE_TABLE=function(data, callback)
57818
+ {
57819
+ data.PreventDefault=true;
57820
+ var hqchart=data.HQChart;
57821
+ var kData=hqchart.GetKData();
57822
+
57823
+ var tableData=
57824
+ {
57825
+ name:'DRAW_SIMPLE_TABLE', type:1,
57826
+ Draw:
57827
+ {
57828
+ DrawType:'DRAW_SIMPLE_TABLE',
57829
+ DrawData:
57830
+ {
57831
+ //BGColor:"rgba(250,250,210,0.8)",
57832
+ //BorderColor:"rgb(0,0,255)",
57833
+ //TextColor:"rgb(0,191,255)",
57834
+ TableData:
57835
+ [
57836
+ { AryCell:[{ Text:"股票代码"}, { Text:"主营业务", TextAlign:'center'}, { Text:"每股收益(元)"}] },
57837
+ { AryCell:[{ Text:"美丽生态"}, { Text:"园林绿化"}, { Text:"13.5", Color:"rgb(139,0,139)"}] },
57838
+ { AryCell:[{ Text:"深物业A"}, { Text:"房地产及相关业务", BGColor:"rgb(200,200,200)"}, { Text:"0.12"}] },
57839
+ { AryCell:[{ Text:"深科技"}, { Text:"计算机硬件、通讯设备等"}, { Text:"5.4"}] },
57840
+ ],
57841
+
57842
+ //TextFont:{ Size:16, Name:"微软雅黑"},
57843
+ //XOffset:-10,
57844
+ //YOffset:-15,
57845
+ }
57846
+ }
57847
+ };
57848
+
57849
+ var apiData=
57850
+ {
57851
+ code:0,
57852
+ stock:{ name:hqchart.Name, symbol:hqchart.Symbol },
57853
+ outdata: { date:kData.GetDate(), time:kData.GetTime() , outvar:[tableData] }
57854
+ };
57855
+
57856
+
57857
+ console.log('[HQData.APIIndex_DRAW_SIMPLE_TABLE] apiData ', apiData);
57858
+ callback(apiData);
57859
+ }
57860
+
57813
57861
 
57814
57862
 
57815
57863