hqchart 1.1.14533 → 1.1.14542
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/lib/umychart.vue.js +73 -39
- package/package.json +1 -1
- package/src/jscommon/umychart.DialogDrawTool.js +4 -0
- package/src/jscommon/umychart.PopKLineChart.js +6 -4
- package/src/jscommon/umychart.PopMinuteChart.js +6 -3
- package/src/jscommon/umychart.js +381 -17
- package/src/jscommon/umychart.style.js +17 -0
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +399 -18
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +415 -25
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ function JSTooltipKLineChart()
|
|
|
24
24
|
|
|
25
25
|
this.BGColor=g_JSChartResource.PopMinuteChart.BGColor;
|
|
26
26
|
this.BorderColor=g_JSChartResource.PopMinuteChart.BorderColor;
|
|
27
|
-
this.
|
|
27
|
+
this.OnCreatedCallback=null;
|
|
28
28
|
|
|
29
29
|
this.KLine=
|
|
30
30
|
{
|
|
@@ -43,8 +43,10 @@ function JSTooltipKLineChart()
|
|
|
43
43
|
{
|
|
44
44
|
var item=CloneData(option.Option); //复制一份出来
|
|
45
45
|
this.KLine.Option=Object.assign(this.KLine.Option,item);
|
|
46
|
+
|
|
47
|
+
if (IFrameSplitOperator.IsNonEmptyArray(option.Option.EventCallback)) this.KLine.Option.EventCallback=option.Option.EventCallback;
|
|
46
48
|
}
|
|
47
|
-
if (option.
|
|
49
|
+
if (option.OnCreatedCallback) this.OnCreatedCallback=option.OnCreatedCallback;
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
|
|
@@ -91,7 +93,7 @@ function JSTooltipKLineChart()
|
|
|
91
93
|
|
|
92
94
|
this.OnCreateHQChart=function(chart)
|
|
93
95
|
{
|
|
94
|
-
if (this.
|
|
96
|
+
if (this.OnCreatedCallback) this.OnCreatedCallback(chart);
|
|
95
97
|
}
|
|
96
98
|
|
|
97
99
|
this.Destroy=function()
|
|
@@ -232,7 +234,7 @@ JSTooltipKLineChart.GetKLineOption=function()
|
|
|
232
234
|
{
|
|
233
235
|
IsShowName:true, //不显示股票名称
|
|
234
236
|
IsShowSettingInfo:true, //不显示周期/复权
|
|
235
|
-
|
|
237
|
+
IsTitleShowLatestData:true,
|
|
236
238
|
},
|
|
237
239
|
|
|
238
240
|
Border: //边框
|
|
@@ -326,7 +326,7 @@ function JSTooltipMinuteChart()
|
|
|
326
326
|
|
|
327
327
|
this.BGColor=g_JSChartResource.PopMinuteChart.BGColor;
|
|
328
328
|
this.BorderColor=g_JSChartResource.PopMinuteChart.BorderColor;
|
|
329
|
-
this.
|
|
329
|
+
this.OnCreatedCallback;
|
|
330
330
|
|
|
331
331
|
this.Minute=
|
|
332
332
|
{
|
|
@@ -346,8 +346,11 @@ function JSTooltipMinuteChart()
|
|
|
346
346
|
{
|
|
347
347
|
var item=CloneData(option.Option); //复制一份出来
|
|
348
348
|
this.Minute.Option=Object.assign(this.Minute.Option,item);
|
|
349
|
+
|
|
350
|
+
if (IFrameSplitOperator.IsNonEmptyArray(option.Option.EventCallback)) this.Minute.Option.EventCallback=option.Option.EventCallback;
|
|
349
351
|
}
|
|
350
|
-
if (option.
|
|
352
|
+
if (option.OnCreatedCallback) this.OnCreatedCallback=option.OnCreatedCallback;
|
|
353
|
+
|
|
351
354
|
}
|
|
352
355
|
}
|
|
353
356
|
|
|
@@ -405,7 +408,7 @@ function JSTooltipMinuteChart()
|
|
|
405
408
|
|
|
406
409
|
this.OnCreateHQChart=function(chart)
|
|
407
410
|
{
|
|
408
|
-
if (this.
|
|
411
|
+
if (this.OnCreatedCallback) this.OnCreatedCallback(chart);
|
|
409
412
|
}
|
|
410
413
|
|
|
411
414
|
this.Destroy=function()
|