hqchart 1.1.14982 → 1.1.14991

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.
@@ -57376,6 +57376,10 @@ HQData.Report_RequestStockData=function(data, callback)
57376
57376
 
57377
57377
  newItem[301]=HQData.GetRandomTestData(0,100)/100;
57378
57378
  newItem[302]=HQData.GetRandomTestData(0,100)/100;
57379
+
57380
+ var testDate=new Date();
57381
+ testDate.setHours(testDate.getHours() + i*2)
57382
+ newItem[401]={ DateTime:testDate } ;
57379
57383
 
57380
57384
 
57381
57385
  item.Data=newItem;
@@ -57531,6 +57535,9 @@ HQData.Report_RequestStockSortData=function(data, callback)
57531
57535
  extendData[7]=(Math.round(Math.random()*60))/100;
57532
57536
  extendData[8]=(Math.round(Math.random()*60))/100;
57533
57537
 
57538
+ var testDate=new Date();
57539
+ testDate.setHours(testDate.getHours() + i*2)
57540
+ newItem[401]={ DateTime:testDate } ;
57534
57541
 
57535
57542
  item.Data=newItem;
57536
57543
  }
@@ -58103,6 +58110,8 @@ HQData.Report_APIIndex=function(data, callback)
58103
58110
  HQData.APIIndex_MARK_AREA_V2(data, callback);
58104
58111
  else if (request.Data.indexname=="API_CHANNELV2")
58105
58112
  HQData.APIIndex_CHANNEL_V2(data, callback);
58113
+ else if (request.Data.indexname=="API_CHART_AREA_TEXT")
58114
+ HQData.API_CHART_AREA_TEXT(data, callback);
58106
58115
  }
58107
58116
 
58108
58117
 
@@ -59597,6 +59606,87 @@ HQData.APIIndex_MARK_AREA_V2=function(data, callback)
59597
59606
  }
59598
59607
 
59599
59608
 
59609
+ HQData.API_CHART_AREA_TEXT=function(data, callback)
59610
+ {
59611
+ data.PreventDefault=true;
59612
+ var hqchart=data.HQChart;
59613
+ var kData=hqchart.GetKData();
59614
+
59615
+ var markData=
59616
+ {
59617
+ name:'区域文字', type:1,
59618
+ Draw:
59619
+ {
59620
+ DrawType:'JS_CHART_AREA_TEXT',
59621
+ DrawData:
59622
+ {
59623
+ AryData:[], //[ { Start:{ }, End:{ }, AreaColor:, Text:"", BarColor:, TextColor:, ID: }]
59624
+ },
59625
+
59626
+ Config:{ },
59627
+ }
59628
+ };
59629
+
59630
+ var markItem=null;
59631
+ for(var i=0;i<kData.Data.length;++i)
59632
+ {
59633
+ var kItem=kData.Data[i];
59634
+ if (!markItem)
59635
+ {
59636
+ markItem=
59637
+ {
59638
+ Start:{ Date:kItem.Date, Time:kItem.Time },
59639
+ End:{ Date:kItem.Date, Time:kItem.Time },
59640
+ BGColor:"rgba(186,85,211,0.5)",
59641
+ TextColor:"rgb(255,215,0)",
59642
+ ID:i,
59643
+ Count:1,
59644
+ AryText:
59645
+ [
59646
+ {
59647
+ AryText:
59648
+ [
59649
+ { Text:`日期: ${kItem.Date} `, Color:"rgb(220,220,220)"},
59650
+ { Text:`ID: ${i} `, Color:"rgb(255,165,0)" }
59651
+ ],
59652
+ },
59653
+ {
59654
+ AryText:
59655
+ [
59656
+ { Text:`数据1: -- `, Color:"rgb(30,144,255)"},
59657
+ { Text:`数据2: -- `, Color:"rgb(255,0,255)" }
59658
+ ],
59659
+ }
59660
+ ]
59661
+ }
59662
+ }
59663
+ else
59664
+ {
59665
+ markItem.End.Date=kItem.Date;
59666
+ markItem.End.Time=kItem.Time;
59667
+ markItem.Count++;
59668
+
59669
+ if (markItem.Count>150)
59670
+ {
59671
+ markData.Draw.DrawData.AryData.push(markItem);
59672
+ markItem=null;
59673
+ }
59674
+ }
59675
+
59676
+ }
59677
+
59678
+ var apiData=
59679
+ {
59680
+ code:0,
59681
+ stock:{ name:hqchart.Name, symbol:hqchart.Symbol },
59682
+ outdata: { date:kData.GetDate(), time:kData.GetTime(), outvar:[markData] }
59683
+ };
59684
+
59685
+ console.log('[HQData.API_CHART_AREA_TEXT] apiData ', apiData);
59686
+ callback(apiData);
59687
+ }
59688
+
59689
+
59600
59690
 
59601
59691
 
59602
59692
  /*暴露外部用的方法*/
@@ -12430,18 +12430,18 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
12430
12430
  }
12431
12431
  else
12432
12432
  {
12433
- var pt={X:null, Y:null};
12433
+ var pt={ X:null, Y:null };
12434
12434
  pt.X=this.Frame.GetXFromIndex(this.CursorIndex);
12435
12435
  var index=this.CursorIndex;
12436
12436
  var data=this.GetKData();
12437
- if (data.DataOffset+index<data.Data.length)
12437
+ if (IFrameSplitOperator.IsGTEZero(index) && data.DataOffset+index<data.Data.length)
12438
12438
  {
12439
12439
  var close=data.Data[data.DataOffset+index].Close;
12440
12440
  pt.Y=this.Frame.GetYFromData(close);
12441
+ this.LastPoint.FrameID=0;
12441
12442
  }
12442
12443
  this.LastPoint.X=pt.X;
12443
12444
  this.LastPoint.Y=pt.Y;
12444
- this.LastPoint.FrameID=0;
12445
12445
  }
12446
12446
  }
12447
12447
 
@@ -58435,6 +58435,12 @@ IFrameSplitOperator.FormatDateTimeStringV2=function(datetime, format, languageID
58435
58435
  return `${IFrameSplitOperator.NumberToString(datetime.getHours())}:${IFrameSplitOperator.NumberToString(datetime.getMinutes())}`;
58436
58436
  case "HH:MM:SS.fff":
58437
58437
  return `${IFrameSplitOperator.NumberToString(datetime.getHours())}:${IFrameSplitOperator.NumberToString(datetime.getMinutes())}:${IFrameSplitOperator.NumberToString(datetime.getSeconds())}.${IFrameSplitOperator.MillisecondToString(datetime.getMilliseconds())}`;
58438
+
58439
+ case "YYYY-MM-DD HH:MM":
58440
+ return `${datetime.getFullYear()}-${IFrameSplitOperator.NumberToString(datetime.getMonth()+1)}-${IFrameSplitOperator.NumberToString(datetime.getDate())} ${IFrameSplitOperator.NumberToString(datetime.getHours())}:${IFrameSplitOperator.NumberToString(datetime.getMinutes())}`;
58441
+ case "MM-DD HH:MM":
58442
+ return `${IFrameSplitOperator.NumberToString(datetime.getMonth()+1)}-${IFrameSplitOperator.NumberToString(datetime.getDate())} ${IFrameSplitOperator.NumberToString(datetime.getHours())}:${IFrameSplitOperator.NumberToString(datetime.getMinutes())}`;
58443
+
58438
58444
  default:
58439
58445
  return null;
58440
58446
  }
@@ -58490,6 +58496,15 @@ IFrameSplitOperator.IsPlusNumber=function(value)
58490
58496
  return value>0;
58491
58497
  }
58492
58498
 
58499
+ //>=0
58500
+ IFrameSplitOperator.IsGTEZero=function(value)
58501
+ {
58502
+ if (value==null) return false;
58503
+ if (isNaN(value)) return false;
58504
+
58505
+ return value>=0;
58506
+ }
58507
+
58493
58508
  //是否是整形
58494
58509
  IFrameSplitOperator.IsInteger=function(x)
58495
58510
  {
@@ -140526,6 +140541,16 @@ function JSReportChartContainer(uielement)
140526
140541
  if (IFrameSplitOperator.IsString(item[208]) || IFrameSplitOperator.IsObject(item[208])) stock.ReserveString8=item[208];
140527
140542
  if (IFrameSplitOperator.IsString(item[209]) || IFrameSplitOperator.IsObject(item[209])) stock.ReserveString9=item[209];
140528
140543
  if (IFrameSplitOperator.IsString(item[210]) || IFrameSplitOperator.IsObject(item[210])) stock.ReserveString10=item[210];
140544
+ if (IFrameSplitOperator.IsString(item[211]) || IFrameSplitOperator.IsObject(item[211])) stock.ReserveString11=item[211];
140545
+ if (IFrameSplitOperator.IsString(item[212]) || IFrameSplitOperator.IsObject(item[212])) stock.ReserveString12=item[212];
140546
+ if (IFrameSplitOperator.IsString(item[213]) || IFrameSplitOperator.IsObject(item[213])) stock.ReserveString13=item[213];
140547
+ if (IFrameSplitOperator.IsString(item[214]) || IFrameSplitOperator.IsObject(item[214])) stock.ReserveString14=item[214];
140548
+ if (IFrameSplitOperator.IsString(item[215]) || IFrameSplitOperator.IsObject(item[215])) stock.ReserveString15=item[215];
140549
+ if (IFrameSplitOperator.IsString(item[216]) || IFrameSplitOperator.IsObject(item[216])) stock.ReserveString16=item[216];
140550
+ if (IFrameSplitOperator.IsString(item[217]) || IFrameSplitOperator.IsObject(item[217])) stock.ReserveString17=item[217];
140551
+ if (IFrameSplitOperator.IsString(item[218]) || IFrameSplitOperator.IsObject(item[218])) stock.ReserveString18=item[218];
140552
+ if (IFrameSplitOperator.IsString(item[219]) || IFrameSplitOperator.IsObject(item[219])) stock.ReserveString19=item[219];
140553
+ if (IFrameSplitOperator.IsString(item[220]) || IFrameSplitOperator.IsObject(item[220])) stock.ReserveString20=item[220];
140529
140554
 
140530
140555
  //10个进度条 301-350 { Value:, BGColor: }
140531
140556
  if (IFrameSplitOperator.IsNumber(item[301]) || IFrameSplitOperator.IsObject(item[301])) stock.ReserveProgressBar1=item[301];
@@ -142943,6 +142968,16 @@ function JSReportChartContainer(uielement)
142943
142968
  case REPORT_COLUMN_ID.RESERVE_STRING8_ID:
142944
142969
  case REPORT_COLUMN_ID.RESERVE_STRING9_ID:
142945
142970
  case REPORT_COLUMN_ID.RESERVE_STRING10_ID:
142971
+ case REPORT_COLUMN_ID.RESERVE_STRING11_ID:
142972
+ case REPORT_COLUMN_ID.RESERVE_STRING12_ID:
142973
+ case REPORT_COLUMN_ID.RESERVE_STRING13_ID:
142974
+ case REPORT_COLUMN_ID.RESERVE_STRING14_ID:
142975
+ case REPORT_COLUMN_ID.RESERVE_STRING15_ID:
142976
+ case REPORT_COLUMN_ID.RESERVE_STRING16_ID:
142977
+ case REPORT_COLUMN_ID.RESERVE_STRING17_ID:
142978
+ case REPORT_COLUMN_ID.RESERVE_STRING18_ID:
142979
+ case REPORT_COLUMN_ID.RESERVE_STRING19_ID:
142980
+ case REPORT_COLUMN_ID.RESERVE_STRING20_ID:
142946
142981
  return this.LocalReserveStringSort(left, right, column, sortType);
142947
142982
 
142948
142983
 
@@ -143614,6 +143649,16 @@ var REPORT_COLUMN_ID=
143614
143649
  RESERVE_STRING8_ID:308,
143615
143650
  RESERVE_STRING9_ID:309,
143616
143651
  RESERVE_STRING10_ID:310,
143652
+ RESERVE_STRING11_ID:311,
143653
+ RESERVE_STRING12_ID:312,
143654
+ RESERVE_STRING13_ID:313,
143655
+ RESERVE_STRING14_ID:314,
143656
+ RESERVE_STRING15_ID:315,
143657
+ RESERVE_STRING16_ID:316,
143658
+ RESERVE_STRING17_ID:317,
143659
+ RESERVE_STRING18_ID:318,
143660
+ RESERVE_STRING19_ID:319,
143661
+ RESERVE_STRING20_ID:320,
143617
143662
 
143618
143663
  //预留进度条类型 10个 401-450
143619
143664
  RESERVE_PROGRESS_BAR1_ID:401, //ReserveProgressBar1:
@@ -143734,6 +143779,16 @@ var MAP_COLUMN_FIELD=new Map([
143734
143779
  [REPORT_COLUMN_ID.RESERVE_STRING8_ID,"ReserveString8"],
143735
143780
  [REPORT_COLUMN_ID.RESERVE_STRING9_ID,"ReserveString9"],
143736
143781
  [REPORT_COLUMN_ID.RESERVE_STRING10_ID,"ReserveString10"],
143782
+ [REPORT_COLUMN_ID.RESERVE_STRING11_ID,"ReserveString11"],
143783
+ [REPORT_COLUMN_ID.RESERVE_STRING12_ID,"ReserveString12"],
143784
+ [REPORT_COLUMN_ID.RESERVE_STRING13_ID,"ReserveString13"],
143785
+ [REPORT_COLUMN_ID.RESERVE_STRING14_ID,"ReserveString14"],
143786
+ [REPORT_COLUMN_ID.RESERVE_STRING15_ID,"ReserveString15"],
143787
+ [REPORT_COLUMN_ID.RESERVE_STRING16_ID,"ReserveString16"],
143788
+ [REPORT_COLUMN_ID.RESERVE_STRING17_ID,"ReserveString17"],
143789
+ [REPORT_COLUMN_ID.RESERVE_STRING18_ID,"ReserveString18"],
143790
+ [REPORT_COLUMN_ID.RESERVE_STRING19_ID,"ReserveString19"],
143791
+ [REPORT_COLUMN_ID.RESERVE_STRING20_ID,"ReserveString20"],
143737
143792
 
143738
143793
  [REPORT_COLUMN_ID.RESERVE_PROGRESS_BAR1_ID,"ReserveProgressBar1"],
143739
143794
  [REPORT_COLUMN_ID.RESERVE_PROGRESS_BAR2_ID,"ReserveProgressBar2"],
@@ -143967,6 +144022,9 @@ function ChartReport()
143967
144022
 
143968
144023
  this.LastMouseStatus;
143969
144024
 
144025
+ //绘图过程中的缓存数据 绘制完清空的
144026
+ this.TempCache=null; //
144027
+
143970
144028
  this.ReloadResource=function(resource)
143971
144029
  {
143972
144030
  this.DevicePixelRatio=GetDevicePixelRatio()
@@ -144080,6 +144138,7 @@ function ChartReport()
144080
144138
  if (item.HeaderColor) colItem.HeaderColor=item.HeaderColor;
144081
144139
  if (item.MaxText) colItem.MaxText=item.MaxText;
144082
144140
  if (item.MaxText2) colItem.MaxText=item.MaxText2;
144141
+ if (item.TitleAlign) colItem.TitleAlign=item.TitleAlign;
144083
144142
  if (IFrameSplitOperator.IsNumber(item.Space)) colItem.Space=item.Space;
144084
144143
  if (item.ID) colItem.ID=item.ID;
144085
144144
  if (item.FullColBGColor) colItem.FullColBGColor=item.FullColBGColor; //整列背景色
@@ -144168,6 +144227,7 @@ function ChartReport()
144168
144227
  else if (this.IsReserveDateTime(item.Type))
144169
144228
  {
144170
144229
  if (item.DateTimeFormat) colItem.DateTimeFormat=item.DateTimeFormat; //日期格式化
144230
+ if (item.SubDateTimeFormat) colItem.SubDateTimeFormat=item.SubDateTimeFormat;
144171
144231
  }
144172
144232
  else if (item.Type==REPORT_COLUMN_ID.CUSTOM_PROGRESS_ID)
144173
144233
  {
@@ -144399,6 +144459,16 @@ function ChartReport()
144399
144459
  { Type:REPORT_COLUMN_ID.RESERVE_STRING8_ID, Title:"文字8", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144400
144460
  { Type:REPORT_COLUMN_ID.RESERVE_STRING9_ID, Title:"文字9", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144401
144461
  { Type:REPORT_COLUMN_ID.RESERVE_STRING10_ID, Title:"文字10", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144462
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING11_ID, Title:"文字11", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144463
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING12_ID, Title:"文字12", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144464
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING13_ID, Title:"文字13", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144465
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING14_ID, Title:"文字14", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144466
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING15_ID, Title:"文字15", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144467
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING16_ID, Title:"文字16", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144468
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING17_ID, Title:"文字17", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144469
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING18_ID, Title:"文字18", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144470
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING19_ID, Title:"文字19", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144471
+ { Type:REPORT_COLUMN_ID.RESERVE_STRING20_ID, Title:"文字20", TextAlign:"right", TextColor:g_JSChartResource.Report.FieldColor.Text, MaxText:"擎擎擎擎擎擎" },
144402
144472
 
144403
144473
 
144404
144474
  { Type:REPORT_COLUMN_ID.RESERVE_PROGRESS_BAR1_ID, Title:"进度条1", TextAlign:"center", FixedWidth:100*GetDevicePixelRatio() },
@@ -144455,6 +144525,11 @@ function ChartReport()
144455
144525
  this.Canvas.clip();
144456
144526
  }
144457
144527
 
144528
+ this.CreateTempCache=function()
144529
+ {
144530
+ this.TempCache={ MapReserveDateTime:new Map() }; //MapReserveDateTime:key=colindex, Value:{ PreDate }
144531
+ }
144532
+
144458
144533
  this.Draw=function(lastMouseStatus)
144459
144534
  {
144460
144535
  this.ShowSymbol=[];
@@ -144463,6 +144538,7 @@ function ChartReport()
144463
144538
  this.AryFullSelectedRow=[];
144464
144539
  this.DevicePixelRatio=GetDevicePixelRatio()
144465
144540
  this.LastMouseStatus=lastMouseStatus;
144541
+ this.CreateTempCache();
144466
144542
 
144467
144543
  if (this.GlobalOption) this.GlobalOption.FlashBGCount=0;
144468
144544
 
@@ -144501,6 +144577,7 @@ function ChartReport()
144501
144577
  this.LastMouseStatus=null;
144502
144578
  this.SizeChange=false;
144503
144579
  this.AryFullSelectedRow=[];
144580
+ this.TempCache=null;
144504
144581
  }
144505
144582
 
144506
144583
  this.DrawDragHeaderBG=function()
@@ -144866,8 +144943,12 @@ function ChartReport()
144866
144943
  textWidth=this.Canvas.measureText(item.Text).width;
144867
144944
  }
144868
144945
 
144869
- if (column.TextAlign=='center') x=x+(cellWidth-textWidth)/2;
144870
- else if (column.TextAlign=='right') x=x+textSize.TextMaxWidth-textWidth;
144946
+ var textAlign=column.TextAlign;
144947
+ if (column.TitleAlign) textAlign=column.TitleAlign;
144948
+
144949
+ if (textAlign=='center') x=x+(cellWidth-textWidth)/2;
144950
+ else if (textAlign=='right') x=x+textSize.TextMaxWidth-textWidth;
144951
+
144871
144952
 
144872
144953
  if (item.Text) //文字
144873
144954
  {
@@ -145931,7 +146012,11 @@ function ChartReport()
145931
146012
  [
145932
146013
  REPORT_COLUMN_ID.RESERVE_STRING1_ID,REPORT_COLUMN_ID.RESERVE_STRING2_ID,REPORT_COLUMN_ID.RESERVE_STRING3_ID,REPORT_COLUMN_ID.RESERVE_STRING4_ID,
145933
146014
  REPORT_COLUMN_ID.RESERVE_STRING5_ID,REPORT_COLUMN_ID.RESERVE_STRING6_ID,REPORT_COLUMN_ID.RESERVE_STRING7_ID,REPORT_COLUMN_ID.RESERVE_STRING8_ID,
145934
- REPORT_COLUMN_ID.RESERVE_STRING9_ID,REPORT_COLUMN_ID.RESERVE_STRING10_ID
146015
+ REPORT_COLUMN_ID.RESERVE_STRING9_ID,REPORT_COLUMN_ID.RESERVE_STRING10_ID,
146016
+
146017
+ REPORT_COLUMN_ID.RESERVE_STRING11_ID,REPORT_COLUMN_ID.RESERVE_STRING12_ID,REPORT_COLUMN_ID.RESERVE_STRING13_ID,REPORT_COLUMN_ID.RESERVE_STRING14_ID,
146018
+ REPORT_COLUMN_ID.RESERVE_STRING15_ID,REPORT_COLUMN_ID.RESERVE_STRING16_ID,REPORT_COLUMN_ID.RESERVE_STRING17_ID,REPORT_COLUMN_ID.RESERVE_STRING18_ID,
146019
+ REPORT_COLUMN_ID.RESERVE_STRING19_ID,REPORT_COLUMN_ID.RESERVE_STRING20_ID
145935
146020
  ];
145936
146021
 
145937
146022
  return ARARY_TYPE.includes(value);
@@ -146393,6 +146478,36 @@ function ChartReport()
146393
146478
  }
146394
146479
  }
146395
146480
 
146481
+ this.GetReserveDateTimePreItem=function(colIndex)
146482
+ {
146483
+ if (!this.CreateTempCache) return null;
146484
+ if (!this.TempCache.MapReserveDateTime) return null;
146485
+
146486
+ var mapData=this.TempCache.MapReserveDateTime;
146487
+ if (!mapData.has(colIndex)) return null;
146488
+
146489
+ return mapData.get(colIndex);
146490
+ }
146491
+
146492
+ this.SetReserveDateTimePreItem=function(colIndex,data)
146493
+ {
146494
+ if (!this.CreateTempCache) return false;
146495
+ if (!this.TempCache.MapReserveDateTime) return false;
146496
+
146497
+ var mapData=this.TempCache.MapReserveDateTime;
146498
+ if (mapData.has(colIndex))
146499
+ {
146500
+ var item=mapData.get(colIndex);
146501
+ item.PreItem.Date=data.Date;
146502
+ }
146503
+ else
146504
+ {
146505
+ mapData.set(colIndex, { PreItem:{ Date:data.Date } })
146506
+ }
146507
+
146508
+ return true;
146509
+ }
146510
+
146396
146511
  this.FormatReserveDateTime=function(column, data, drawInfo)
146397
146512
  {
146398
146513
  if (column.DefaultText) drawInfo.Text=column.DefaultText;
@@ -146403,7 +146518,24 @@ function ChartReport()
146403
146518
  var item=data[fieldName];
146404
146519
  if (!IFrameSplitOperator.IsObject(item)) return;
146405
146520
 
146406
- if (item.DateTime) drawInfo.Text=IFrameSplitOperator.FormatDateTimeStringV2(item.DateTime,column.DateTimeFormat);
146521
+ var cacheItem=this.GetReserveDateTimePreItem(drawInfo.ColumnIndex);
146522
+ if (item.DateTime)
146523
+ {
146524
+ var date=item.DateTime.getFullYear()*10000+(item.DateTime.getMonth()+1)*100+item.DateTime.getDate();
146525
+ var format=column.DateTimeFormat;
146526
+ if (cacheItem && cacheItem.PreItem && date==cacheItem.PreItem.Date)
146527
+ {
146528
+ if (column.SubDateTimeFormat) format=column.SubDateTimeFormat
146529
+ }
146530
+ else
146531
+ {
146532
+
146533
+ this.SetReserveDateTimePreItem(drawInfo.ColumnIndex, {Date:date});
146534
+ }
146535
+
146536
+ drawInfo.Text=IFrameSplitOperator.FormatDateTimeStringV2(item.DateTime, format);
146537
+ }
146538
+
146407
146539
  if (item.TextColor) drawInfo.TextColor=item.TextColor;
146408
146540
  if (item.BGColor) drawInfo.BGColor=item.BGColor;
146409
146541
  }
@@ -163606,7 +163738,7 @@ function HQChartScriptWorker()
163606
163738
 
163607
163739
 
163608
163740
 
163609
- var HQCHART_VERSION="1.1.14981";
163741
+ var HQCHART_VERSION="1.1.14990";
163610
163742
 
163611
163743
  function PrintHQChartVersion()
163612
163744
  {