hqchart 1.1.14108 → 1.1.14115

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.
@@ -13991,7 +13991,7 @@ function JSChartContainer(uielement, OffscreenElement, cacheElement)
13991
13991
  if (srcParam)
13992
13992
  {
13993
13993
  this.DestroyPopMinuteChart();
13994
- this.InitalPopMinuteChart( {KLine:{KLineDoubleClick:true}} );
13994
+ this.InitalPopMinuteChart( { PopMinuteChart:{ Enable:true }} );
13995
13995
  }
13996
13996
  else
13997
13997
  {
@@ -72718,6 +72718,9 @@ function JSChartResource()
72718
72718
  {
72719
72719
  BGColor:"rgba(250,250,250,0.95)",
72720
72720
  BorderColor:"rgb(0,0,0)",
72721
+
72722
+ TitleColor:'rgb(250,250,250)', //标题颜色
72723
+ TitleBGColor:"rgb(200, 66, 69)", //标题背景颜色
72721
72724
  }
72722
72725
 
72723
72726
  this.SelectRectBGColor="rgba(1,130,212,0.06)"; //背景色
@@ -74219,6 +74222,8 @@ function JSChartResource()
74219
74222
  var item=style.PopMinuteChart;
74220
74223
  if (item.BGColor) this.PopMinuteChart.BGColor=item.BGColor;
74221
74224
  if (item.BorderColor) this.PopMinuteChart.BorderColor=item.BorderColor;
74225
+ if (item.TitleColor) this.DialogSearchIndex.TitleColor=item.TitleColor;
74226
+ if (item.TitleBGColor) this.DialogSearchIndex.TitleBGColor=item.TitleBGColor;
74222
74227
  }
74223
74228
 
74224
74229
  if (style.DefaultTextColor) this.DefaultTextColor = style.DefaultTextColor;
@@ -77390,9 +77395,16 @@ function KLineChartContainer(uielement,OffscreenElement, cacheElement)
77390
77395
 
77391
77396
  this.InitalPopMinuteChart=function(option)
77392
77397
  {
77393
- if (!option || !option.KLine) return false;
77394
- var item=option.KLine;
77395
- if (item.KLineDoubleClick===true)
77398
+ if (!option) return false;
77399
+
77400
+ if (option.PopMinuteChart && option.PopMinuteChart.Enable) //新的配置格式
77401
+ {
77402
+ var item=option.PopMinuteChart;
77403
+ this.PopMinuteChart=new JSPopMinuteChart();
77404
+ this.PopMinuteChart.Inital(this, item);
77405
+ return true;
77406
+ }
77407
+ else if (option.KLine && option.KLine.KLineDoubleClick===true) //旧的格式 不要使用了
77396
77408
  {
77397
77409
  this.PopMinuteChart=new JSPopMinuteChart();
77398
77410
  this.PopMinuteChart.Inital(this);
@@ -124728,7 +124740,7 @@ function GetBlackStyle()
124728
124740
 
124729
124741
  PopMinuteChart:
124730
124742
  {
124731
- BGColor:"rgba(0,0,0,0.95)",
124743
+ BGColor:"rgba(0,0,0,0.85)",
124732
124744
  BorderColor:"rgb(230,230,230)",
124733
124745
  },
124734
124746
 
@@ -127143,6 +127155,11 @@ function JSReportChart(divElement)
127143
127155
  this.CreateExtraCanvasElement(JSReportChart.TooltipCursorCanvasKey, { ZIndex:99 });
127144
127156
  }
127145
127157
 
127158
+ if (option.MinuteChartTooltip && option.MinuteChartTooltip.Enable)
127159
+ {
127160
+ chart.InitalMinuteChartTooltip(option.MinuteChartTooltip);
127161
+ }
127162
+
127146
127163
  if (option.Symbol) chart.Symbol=option.Symbol;
127147
127164
  if (option.Name) chart.Name=option.Name;
127148
127165
 
@@ -127465,6 +127482,9 @@ function JSReportChartContainer(uielement)
127465
127482
  this.JSPopMenu; //内置菜单
127466
127483
  this.IsShowRightMenu=true;
127467
127484
 
127485
+ //
127486
+ this.TooltipMinuteChart; //分时图
127487
+
127468
127488
  //MouseOnStatus:{ RowIndex:行, ColumnIndex:列}
127469
127489
  this.LastMouseStatus={ MoveStatus:null, TooltipStatus:null, MouseOnStatus:null };
127470
127490
 
@@ -127472,6 +127492,8 @@ function JSReportChartContainer(uielement)
127472
127492
  {
127473
127493
  this.IsDestroy=true;
127474
127494
  this.StopAutoUpdate();
127495
+
127496
+ this.DestroyMinuteChartTooltip();
127475
127497
  }
127476
127498
 
127477
127499
  this.StopAutoDragScrollTimer=function()
@@ -127493,6 +127515,48 @@ function JSReportChartContainer(uielement)
127493
127515
  this.JSPopMenu.Inital();
127494
127516
  }
127495
127517
 
127518
+ this.InitalMinuteChartTooltip=function(option)
127519
+ {
127520
+ if (this.TooltipMinuteChart) return;
127521
+
127522
+ this.TooltipMinuteChart=new JSTooltipMinuteChart();
127523
+ this.TooltipMinuteChart.Inital(this, option);
127524
+ this.TooltipMinuteChart.Create();
127525
+ }
127526
+
127527
+ this.DestroyMinuteChartTooltip=function()
127528
+ {
127529
+ if (!this.TooltipMinuteChart) return;
127530
+
127531
+ this.TooltipMinuteChart.Destroy();
127532
+ this.TooltipMinuteChart=null;
127533
+ }
127534
+
127535
+ //data={ Symbol }
127536
+ this.ShowMinuteChartTooltip=function(x,y, data)
127537
+ {
127538
+ if (!this.TooltipMinuteChart) return;
127539
+
127540
+ var rtClient=this.UIElement.getBoundingClientRect();
127541
+ var rtScroll=GetScrollPosition();
127542
+
127543
+ var offsetLeft=rtClient.left+rtScroll.Left;
127544
+ var offsetTop=rtClient.top+rtScroll.Top;
127545
+
127546
+ data.Offset={ Left:offsetLeft, Top:offsetTop };
127547
+
127548
+ this.TooltipMinuteChart.Show(data, x,y);
127549
+ }
127550
+
127551
+ this.HideMinuteChartTooltip=function()
127552
+ {
127553
+ if (!this.TooltipMinuteChart) return;
127554
+
127555
+ this.TooltipMinuteChart.Hide();
127556
+ }
127557
+
127558
+
127559
+
127496
127560
  this.AutoScrollPage=function(step)
127497
127561
  {
127498
127562
  this.AutoDragScrollTimer=setTimeout(() =>
@@ -128928,6 +128992,9 @@ function JSReportChartContainer(uielement)
128928
128992
  var bDrawTooltip=false;
128929
128993
  if (this.LastMouseStatus.TooltipStatus) bDrawTooltip=true;
128930
128994
  this.LastMouseStatus.TooltipStatus=null;
128995
+
128996
+ var bShowChartTooltip=false;
128997
+ var chartTooltipData=null;
128931
128998
 
128932
128999
  if (this.DragRow) return;
128933
129000
  if (this.DrawHeader) return;
@@ -128998,8 +129065,19 @@ function JSReportChartContainer(uielement)
128998
129065
  var tooltipData=report.GetTooltipData(x,y); //单元格提示信息
128999
129066
  if (tooltipData)
129000
129067
  {
129001
- this.LastMouseStatus.TooltipStatus={ X:x, Y:y, Data:tooltipData, ClientX:e.clientX, ClientY:e.clientY };
129002
- bDrawTooltip=true;
129068
+ if (tooltipData.Type==20)
129069
+ {
129070
+ if (tooltipData.Stock && tooltipData.Stock.Symbol)
129071
+ {
129072
+ bShowChartTooltip=true;
129073
+ chartTooltipData={ Symbol:tooltipData.Stock.OriginalSymbol, Rect:tooltipData.Rect };
129074
+ }
129075
+ }
129076
+ else
129077
+ {
129078
+ this.LastMouseStatus.TooltipStatus={ X:x, Y:y, Data:tooltipData, ClientX:e.clientX, ClientY:e.clientY };
129079
+ bDrawTooltip=true;
129080
+ }
129003
129081
  }
129004
129082
  }
129005
129083
 
@@ -129030,6 +129108,15 @@ function JSReportChartContainer(uielement)
129030
129108
 
129031
129109
  if (bDraw || bDrawTab) this.Draw();
129032
129110
  else if (bDrawTooltip) this.DrawTooltip(this.LastMouseStatus.TooltipStatus);
129111
+
129112
+ if (bShowChartTooltip)
129113
+ {
129114
+ this.ShowMinuteChartTooltip(null, null, chartTooltipData);
129115
+ }
129116
+ else
129117
+ {
129118
+ this.HideMinuteChartTooltip();
129119
+ }
129033
129120
  }
129034
129121
 
129035
129122
  this.UIOnMounseOut=function(e)
@@ -131480,7 +131567,7 @@ function ChartReport()
131480
131567
  this.RectClient={};
131481
131568
 
131482
131569
  //{ Rect:rtItem, Stock:stock, Index:index, Column:column, RowType:rowType, Type:drawInfo.Tooltip.Type, Data:{ AryText:[ {Text:xx} ]} };
131483
- //Type:1=数据截断
131570
+ //Type:1=数据截断 2=表头提示信息 20=分时图
131484
131571
  // { Text, Color, Title:, TitleColor, Space, Margin:{ Left, Top, Right, Bottom }}
131485
131572
  this.TooltipRect=[];
131486
131573
 
@@ -131614,6 +131701,7 @@ function ChartReport()
131614
131701
  if (IFrameSplitOperator.IsNumber(item.ColorType)) colItem.ColorType=item.ColorType; //0=默认 1=(>0, =0, <0) 2=(>=0, <0)
131615
131702
  else colItem.IsDrawCallback=false;
131616
131703
  if (item.Icon) colItem.Icon=item.Icon;
131704
+ if (IFrameSplitOperator.IsBool(item.EnableChartTooltip)) colItem.EnableChartTooltip=item.EnableChartTooltip;
131617
131705
 
131618
131706
  //点击表头弹出菜单
131619
131707
  if (IFrameSplitOperator.IsBool(item.EnablePopupHeaderMenu)) colItem.EnablePopupHeaderMenu=item.EnablePopupHeaderMenu;
@@ -133053,12 +133141,19 @@ function ChartReport()
133053
133141
  var tooltipData={ Rect:rtItem, Stock:stock, Index:index, Column:column, RowType:rowType, Type:drawInfo.Tooltip.Type, Data:drawInfo.Tooltip.Data };
133054
133142
  this.TooltipRect.push(tooltipData);
133055
133143
  }
133144
+ else if (column.EnableChartTooltip)
133145
+ {
133146
+ var tooltipData={ Rect:rtItem, Stock:stock, Index:index, Column:column, RowType:rowType, Type:20 };
133147
+ this.TooltipRect.push(tooltipData);
133148
+ }
133056
133149
 
133057
133150
  if (drawInfo.Botton)
133058
133151
  {
133059
133152
  var buttonData={ Stock:stock, Index:index, ColumnIndex:columnIndex, Column:column, Rect:drawInfo.Botton.Rect, Type:drawInfo.Botton.Type, Data:drawInfo.Data };
133060
133153
  this.ButtonRect.push(buttonData);
133061
133154
  }
133155
+
133156
+
133062
133157
  }
133063
133158
 
133064
133159
  this.IsReserveProgressBarColumn=function(value)
@@ -143550,12 +143645,17 @@ function JSDialogModifyDraw()
143550
143645
  function JSPopMinuteChart()
143551
143646
  {
143552
143647
  this.DivDialog=null;
143553
- this.DivInfoText=null;
143648
+ this.TitleBox=null; //{ DivTitle, DivName, DivName }
143554
143649
  this.HQChart=null;
143555
143650
  this.DragTitle=null;
143556
143651
  this.Date=null;
143557
143652
  this.ID=Guid();
143558
143653
 
143654
+ this.TitleColor=g_JSChartResource.PopMinuteChart.TitleColor;
143655
+ this.TitleBGColor=g_JSChartResource.PopMinuteChart.TitleBGColor;
143656
+ this.BGColor=g_JSChartResource.PopMinuteChart.BGColor;
143657
+ this.BorderColor=g_JSChartResource.PopMinuteChart.BorderColor;
143658
+
143559
143659
  this.Minute=
143560
143660
  {
143561
143661
  Option:JSPopMinuteChart.GetMinuteOption(),
@@ -143563,9 +143663,18 @@ function JSPopMinuteChart()
143563
143663
  Date:null,
143564
143664
  }
143565
143665
 
143566
- this.Inital=function(hqchart)
143666
+ this.Inital=function(hqchart, option)
143567
143667
  {
143568
143668
  this.HQChart=hqchart;
143669
+
143670
+ if (option)
143671
+ {
143672
+ if (IFrameSplitOperator.IsObject(option.Option))
143673
+ {
143674
+ var item=CloneData(option.Option); //复制一份出来
143675
+ this.Minute.Option=Object.assign(this.Minute.Option,item);
143676
+ }
143677
+ }
143569
143678
  }
143570
143679
 
143571
143680
  this.Create=function()
@@ -143573,8 +143682,6 @@ function JSPopMinuteChart()
143573
143682
  var divDom=document.createElement('div');
143574
143683
  divDom.className='jchart_pop_minute_dailog';
143575
143684
  divDom.id=this.ID;
143576
- divDom.style["background-color"]=g_JSChartResource.PopMinuteChart.BGColor;
143577
- divDom.style["border-color"]=g_JSChartResource.PopMinuteChart.BorderColor;
143578
143685
 
143579
143686
  var divTitle=document.createElement("div");
143580
143687
  divTitle.className='jschart_pop_minute_chart_Title_Div';
@@ -143598,6 +143705,7 @@ function JSPopMinuteChart()
143598
143705
  divChart.className='jschart_pop_minute_chart';
143599
143706
  divDom.appendChild(divChart);
143600
143707
 
143708
+ this.TitleBox={ DivTitle:divTitle, DivName:divInfoText, DivColor:divClose };
143601
143709
  this.DivDialog=divDom;
143602
143710
 
143603
143711
  var chart=JSChart.Init(divChart);
@@ -143609,6 +143717,19 @@ function JSPopMinuteChart()
143609
143717
  chart.SetOption(this.Minute.Option); //设置K线配置
143610
143718
 
143611
143719
  document.body.appendChild(divDom);
143720
+
143721
+ this.UpdateStyle();
143722
+ }
143723
+
143724
+ this.UpdateStyle=function()
143725
+ {
143726
+ if (!this.DivDialog) return;
143727
+
143728
+ if (this.BGColor) this.DivDialog.style['background-color']=this.BGColor;
143729
+ if (this.BorderColor) this.DivDialog.style['border-color']=this.BorderColor;
143730
+
143731
+ if (this.TitleBGColor) this.TitleBox.DivTitle.style['background-color']=this.TitleBGColor;
143732
+ if (this.TitleColor) this.TitleBox.DivName.style['color']=this.TitleColor;
143612
143733
  }
143613
143734
 
143614
143735
  this.NetworkFilter=function(data, callback)
@@ -143636,7 +143757,7 @@ function JSPopMinuteChart()
143636
143757
  {
143637
143758
  if (this.DivDialog) document.body.removeChild(this.DivDialog);
143638
143759
  this.DivDialog=null;
143639
- this.DivInfoText=null;
143760
+ this.TitleBox=null;
143640
143761
  this.Minute.JSChart=null;
143641
143762
  }
143642
143763
 
@@ -143656,7 +143777,7 @@ function JSPopMinuteChart()
143656
143777
  var name=data.Symbol;
143657
143778
  if (data.Name) name=data.Name;
143658
143779
  var title=`${name} ${IFrameSplitOperator.FormatDateString(data.Date)} 分时图`
143659
- this.DivInfoText.innerText=title;
143780
+ this.TitleBox.DivName.innerText=title;
143660
143781
 
143661
143782
  if (this.Minute.JSChart)
143662
143783
  {
@@ -143724,10 +143845,14 @@ function JSPopMinuteChart()
143724
143845
 
143725
143846
  this.ReloadResource=function(option)
143726
143847
  {
143848
+ this.TitleColor=g_JSChartResource.PopMinuteChart.TitleColor;
143849
+ this.TitleBGColor=g_JSChartResource.PopMinuteChart.TitleBGColor;
143850
+ this.BGColor=g_JSChartResource.PopMinuteChart.BGColor;
143851
+ this.BorderColor=g_JSChartResource.PopMinuteChart.BorderColor;
143852
+
143727
143853
  if (!this.DivDialog) return;
143728
143854
 
143729
- this.DivDialog.style["background-color"]=g_JSChartResource.PopMinuteChart.BGColor;
143730
- this.DivDialog.style["border-color"]=g_JSChartResource.PopMinuteChart.BorderColor;
143855
+ this.UpdateStyle();
143731
143856
 
143732
143857
  if (this.Minute.JSChart) this.Minute.JSChart.ReloadResource(option);
143733
143858
  }
@@ -143812,6 +143937,243 @@ JSPopMinuteChart.GetMinuteOption=function()
143812
143937
  }
143813
143938
 
143814
143939
 
143940
+ ///////////////////////////////////////////////////////
143941
+ // 分时图提示信息
143942
+ //
143943
+ //////////////////////////////////////////////////////
143944
+
143945
+ function JSTooltipMinuteChart()
143946
+ {
143947
+ this.DivDialog=null;
143948
+ this.HQChart=null;
143949
+ this.ID=Guid();
143950
+
143951
+ this.BGColor=g_JSChartResource.PopMinuteChart.BGColor;
143952
+ this.BorderColor=g_JSChartResource.PopMinuteChart.BorderColor;
143953
+
143954
+ this.Minute=
143955
+ {
143956
+ Option:JSTooltipMinuteChart.GetMinuteOption(),
143957
+ JSChart:null,
143958
+ Symbol:null,
143959
+ Date:null,
143960
+ }
143961
+
143962
+ this.Inital=function(hqchart, option)
143963
+ {
143964
+ this.HQChart=hqchart;
143965
+
143966
+ if (option)
143967
+ {
143968
+ if (IFrameSplitOperator.IsObject(option.Option))
143969
+ {
143970
+ var item=CloneData(option.Option); //复制一份出来
143971
+ this.Minute.Option=Object.assign(this.Minute.Option,item);
143972
+ }
143973
+ }
143974
+ }
143975
+
143976
+ this.Create=function()
143977
+ {
143978
+ var divDom=document.createElement('div');
143979
+ divDom.className='UMyChart_Tooltip_Minute_Div';
143980
+ divDom.id=this.ID;
143981
+
143982
+ var divChart=document.createElement('div');
143983
+ divChart.className='UMyChart_Tooltip_Minute_Chart_Div';
143984
+ divDom.appendChild(divChart);
143985
+
143986
+ this.DivDialog=divDom;
143987
+
143988
+ var chart=JSChart.Init(divChart);
143989
+ this.Minute.JSChart=chart;
143990
+
143991
+ //语言跟主图保持一致
143992
+ if (this.HQChart) this.Minute.Option.Language=g_JSChartLocalization.GetLanguageName(this.HQChart.LanguageID);
143993
+ this.Minute.Option.OnCreatedCallback=(chart)=>{ this.OnCreateHQChart(chart); }
143994
+ this.Minute.Option.NetworkFilter=(data, callback)=>{ this.NetworkFilter(data, callback); }
143995
+ chart.SetOption(this.Minute.Option); //设置K线配置
143996
+
143997
+ document.body.appendChild(divDom);
143998
+
143999
+ this.UpdateStyle();
144000
+ }
144001
+
144002
+ this.UpdateStyle=function()
144003
+ {
144004
+ if (!this.DivDialog) return;
144005
+
144006
+ if (this.BGColor) this.DivDialog.style['background-color']=this.BGColor;
144007
+ if (this.BorderColor) this.DivDialog.style['border-color']=this.BorderColor;
144008
+ }
144009
+
144010
+ this.NetworkFilter=function(data, callback)
144011
+ {
144012
+ if (!this.HQChart || !this.HQChart.NetworkFilter) return;
144013
+
144014
+ /*
144015
+ if (data) data.PopMinuteData={ Date:this.Date }; //弹出分时图额外数据
144016
+
144017
+ if (data.Name== 'MinuteChartContainer::RequestMinuteData') //分时图数据对接
144018
+ {
144019
+ data.Request.Data.date=this.Date;
144020
+ data.Name="MinuteChartContainer::RequestPopMinuteData";
144021
+ data.Explain="指定日期分时数据"
144022
+ };
144023
+ */
144024
+
144025
+ this.HQChart.NetworkFilter(data, callback);
144026
+ }
144027
+
144028
+ this.OnCreateHQChart=function(chart)
144029
+ {
144030
+
144031
+ }
144032
+
144033
+ this.Destroy=function()
144034
+ {
144035
+ if (this.DivDialog) document.body.removeChild(this.DivDialog);
144036
+ this.DivDialog=null;
144037
+ this.TitleBox=null;
144038
+ if (!this.Minute.JSChart) this.Minute.JSChart.ChartDestory();
144039
+ this.Minute.JSChart=null;
144040
+ }
144041
+
144042
+ this.IsShow=function()
144043
+ {
144044
+ if (!this.DivDialog) return false;
144045
+
144046
+ return this.DivDialog.style.visibility==='visible';
144047
+ }
144048
+
144049
+ this.Show=function(data, x, y)
144050
+ {
144051
+ if (!this.DivDialog) this.Create();
144052
+ if (!data || !data.Symbol) return;
144053
+
144054
+ var symbol=data.Symbol;
144055
+ var date=null;
144056
+ if (IFrameSplitOperator.IsPlusNumber(data.Date)) date=data.Date;
144057
+
144058
+ if (this.Minute.JSChart)
144059
+ {
144060
+ if (this.Minute.Symbol!=symbol || this.Minute.Date!=date)
144061
+ {
144062
+ this.Minute.Symbol=symbol;
144063
+ this.Minute.Date=date;
144064
+ this.Minute.JSChart.ChangeSymbol(symbol);
144065
+ }
144066
+ }
144067
+
144068
+ if (IFrameSplitOperator.IsNumberV2(x,y))
144069
+ {
144070
+
144071
+ }
144072
+ else if (data.Rect)
144073
+ {
144074
+ var rtCell=data.Rect;
144075
+ var pixelRatio=GetDevicePixelRatio();
144076
+ var rtItem={ Left:rtCell.Left/pixelRatio, Right:rtCell.Right/pixelRatio, Bottom:rtCell.Bottom/pixelRatio, Top:rtCell.Top/pixelRatio };
144077
+ rtItem.Width=rtItem.Right-rtItem.Left;
144078
+ rtItem.Height=rtItem.Bottom-rtItem.Top;
144079
+
144080
+ //超出窗口调整位置
144081
+ var height=this.DivDialog.offsetHeight;
144082
+ var width=this.DivDialog.offsetWidth;
144083
+ var x=rtItem.Right+data.Offset.Left;
144084
+ var y=rtItem.Bottom+data.Offset.Top;
144085
+
144086
+ var xRight=window.innerWidth-5;
144087
+ var ybottom=window.innerHeight-5;
144088
+ if (x+width>xRight) x=xRight-width;
144089
+ if (y+height>ybottom) y=(rtItem.Top+data.Offset.Top)-height;
144090
+
144091
+ this.DivDialog.style.visibility='visible';
144092
+ this.DivDialog.style.top = y + "px";
144093
+ this.DivDialog.style.left = x + "px";
144094
+ }
144095
+ }
144096
+
144097
+ this.Hide=function()
144098
+ {
144099
+ if (!this.DivDialog) return;
144100
+ if (this.DivDialog.style.visibility!='hidden')
144101
+ this.DivDialog.style.visibility='hidden';
144102
+ }
144103
+
144104
+ }
144105
+
144106
+ JSTooltipMinuteChart.GetMinuteOption=function()
144107
+ {
144108
+ var option=
144109
+ {
144110
+ Type:'分钟走势图', //创建图形类型
144111
+ Windows: //窗口指标
144112
+ [
144113
+ //{ Index:"VOL" },
144114
+ //{ Index:"RSI" }
144115
+ ],
144116
+
144117
+ Symbol:null, // cf1909.czc
144118
+ IsAutoUpdate:false, //是自动更新数据
144119
+ AutoUpdateFrequency:10000, //数据更新频率
144120
+ DayCount:1, //1 最新交易日数据 >1 多日走势图
144121
+ IsShowRightMenu:false, //是否显示右键菜单
144122
+
144123
+ EnableSelectRect:true,
144124
+ EnableZoomIndexWindow:true,
144125
+ EnableResize:true,
144126
+
144127
+ //BeforeOpen:{IsShow:true, Width:120, IsShowMultiDay:true, MulitiDayWidth:100, },
144128
+ //AfterClose:{IsShow:true, Width:100, IsShowMultiDay:true, MulitiDayWidth:50, ShareVol:2 }, //ShareVol:0=盘后成交量独立坐标, 1==盘后成交量主图共用 2==盘后成交量盘前共用
144129
+
144130
+ CorssCursorInfo:{ Left:2, Right:1, Bottom:1 },
144131
+
144132
+ MinuteLine:
144133
+ {
144134
+
144135
+ },
144136
+
144137
+ MinuteTitle:
144138
+ {
144139
+ IsShowTime:true,
144140
+ IsShowName:true,
144141
+ IsShowDate:true,
144142
+ IsShowVolTitle:true,
144143
+ //IsAlwaysShowLastData:true,
144144
+ IsTitleShowLatestData:true,
144145
+ },
144146
+
144147
+ MinuteVol:
144148
+ {
144149
+ BarColorType:1,
144150
+ },
144151
+
144152
+ //Language:'EN',
144153
+
144154
+ Border: //边框
144155
+ {
144156
+ Left:20, //左边间距
144157
+ Right:120, //右边间距
144158
+ Top:25,
144159
+ Bottom:25,
144160
+
144161
+ AutoLeft:{ Blank:10, MinWidth:40 },
144162
+ AutoRight:{ Blank:10, MinWidth:40 },
144163
+ },
144164
+
144165
+ Frame: //子框架设置
144166
+ [
144167
+ { SplitCount:5 },
144168
+ { SplitCount:3 },
144169
+ { SplitCount:3 },
144170
+ ],
144171
+ }
144172
+
144173
+ return option;
144174
+ }
144175
+
144176
+
143815
144177
 
143816
144178
  /*
143817
144179
  Copyright (c) 2018 jones
@@ -145202,7 +145564,7 @@ function JSFloatTooltip()
145202
145564
  }
145203
145565
  }
145204
145566
 
145205
- this.Show=function(x, y)
145567
+ this.Show=function(x, y, option)
145206
145568
  {
145207
145569
  if (!this.DivDialog) return;
145208
145570
  if (!this.HQChart) return;
@@ -145213,7 +145575,11 @@ function JSFloatTooltip()
145213
145575
  var bottom=top+this.DivDialog.offsetHeight;
145214
145576
 
145215
145577
  if ((right+5)>=window.innerWidth) left=left-this.DivDialog.offsetWidth;
145216
- if ((bottom+5)>=window.innerHeight) top=window.innerHeight-this.DivDialog.offsetHeight-5;
145578
+ if ((bottom+5)>=window.innerHeight)
145579
+ {
145580
+ top=(y+rtClient.top)-this.DivDialog.offsetHeight;
145581
+ if (option && IFrameSplitOperator.IsNumber(option.YMove)) top-=option.YMove;
145582
+ }
145217
145583
 
145218
145584
  this.DivDialog.style.top = top + "px";
145219
145585
  this.DivDialog.style.left = left + "px";
@@ -145433,7 +145799,7 @@ function JSFloatTooltip()
145433
145799
  {
145434
145800
  var x=data.Point.X;
145435
145801
  var y=data.Point.Y+data.Point.YMove;
145436
- this.Show(x, y);
145802
+ this.Show(x, y, { YMove:data.Point.YMove });
145437
145803
  }
145438
145804
  }
145439
145805
 
@@ -148268,7 +148634,7 @@ function HQChartScriptWorker()
148268
148634
 
148269
148635
 
148270
148636
 
148271
- var HQCHART_VERSION="1.1.14107";
148637
+ var HQCHART_VERSION="1.1.14114";
148272
148638
 
148273
148639
  function PrintHQChartVersion()
148274
148640
  {