hqchart 1.1.13573 → 1.1.13584

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.13573",
3
+ "version": "1.1.13584",
4
4
  "description": "HQChart - H5, 微信小程序 沪深/港股/数字货币/期货/美股 K线图(kline),走势图,缩放,拖拽,十字光标,画图工具,截图,筹码图. 分析家语法,通达信语法,(麦语法),第3方数据对接",
5
5
  "main": "lib/main.js",
6
6
  "scripts": {
@@ -2601,6 +2601,7 @@ var JSCHART_EVENT_ID=
2601
2601
  ON_DRAW_REPORT_ROW_BG:140, //报价列表整行背景
2602
2602
  ON_CLICK_REPORT_CHECKBOX:141, //报价列表checkbox
2603
2603
  ON_CLICK_REPORT_BUTTON:142, //报价列表按钮
2604
+ ON_CLICK_REPORT_LINK:143, //报价列表 链接
2604
2605
 
2605
2606
 
2606
2607
  ON_CHANGE_INDEX:150, //切换指标
@@ -67439,10 +67440,46 @@ function JSChartResource()
67439
67440
  CheckBox:
67440
67441
  {
67441
67442
  Family:"iconfont", Size:15,
67442
- Checked:{ Color:"rgb(33,148,240)", Symbol:"\ue6b3", DisableColor:"rgb(112,128,144)" },
67443
- Unchecked:{ Color:"rgb(33,148,240)", Symbol:"\ue6b4", DisableColor:"rgb(112,128,144)" },
67443
+ Checked:{ Color:"rgb(69,147,238)", Symbol:"\ue6b3", DisableColor:"rgb(230,230,230)", MouseOnColor:"rgb(69,147,238)" },
67444
+ Unchecked:{ Color:"rgb(120,120,120)", Symbol:"\ue6b4", DisableColor:"rgb(230,230,230)", MouseOnColor:"rgb(69,147,238)" },
67444
67445
 
67445
67446
  Margin:{ Left:5, Right:5, Bottom:2, Top:4 },
67447
+ },
67448
+
67449
+ Link:
67450
+ {
67451
+ Font:`${12*GetDevicePixelRatio()}px 微软雅黑`,
67452
+ TextColor:"rgb(30,144,255)",
67453
+
67454
+ Disable:{ TextColor:"rgb(211,211,211)" },
67455
+ MouseOn:{ TextColor:"rgb(30,144,255)" },
67456
+ },
67457
+
67458
+ ProgressBar:
67459
+ {
67460
+ BGColor:"rgb(229,231,238)",
67461
+ BarColor:"rgb(26,125,255)",
67462
+ Margin:{ Left:2, Right:2, Bottom:2, Top:2 },
67463
+ BarMargin:{ Left:2, Right:2, Bottom:2, Top:2 },
67464
+ TextColor:"rgb(0,0,0)",
67465
+ Font:`${12*GetDevicePixelRatio()}px 微软雅黑`,
67466
+ TextMargin:{ Left:40, Right:2, Bottom:2, Top:2},
67467
+ Disable:{ BGColor:"rgb(229,231,238)", BarColor:"rgb(131,131,131)", TextColor:"rgb(159,161,159)"}
67468
+ },
67469
+
67470
+ Button:
67471
+ {
67472
+ BGColor:"rgb(61,134,180)",
67473
+ TextColor:"rgb(255,255,255)",
67474
+ BorderColor:"rgb(200,200,200)",
67475
+
67476
+ Disable:{ BGColor:"rgb(105,105,105)", TextColor:"rgb(169,169,169)"},
67477
+ MouseOn:{ BGColor:"rgb(57,125,169)", TextColor:"rgb(230,230,230)" },
67478
+
67479
+ Margin:{ Left:5, Right:5, Bottom:2, Top:2 },
67480
+ TextMargin:{ Bottom:2 },
67481
+
67482
+ Font:`${12*GetDevicePixelRatio()}px 微软雅黑`
67446
67483
  }
67447
67484
  },
67448
67485
 
@@ -68485,6 +68522,58 @@ function JSChartResource()
68485
68522
 
68486
68523
  CopyMarginConfig(dest.CheckBox.Margin, subItem.Margin);
68487
68524
  }
68525
+
68526
+ if (item.Link)
68527
+ {
68528
+ var subItem=item.Link;
68529
+ if (subItem.Font) dest.Link.Font=subItem.Font;
68530
+ if (subItem.TextColor) dest.Link.TextColor=subItem.TextColor;
68531
+ if (subItem.Disable && subItem.Disable.TextColor) dest.Link.Disable.TextColor=subItem.Disable.TextColor;
68532
+ if (subItem.MouseOn && subItem.MouseOn.TextColor) dest.Link.MouseOn.TextColor=subItem.MouseOn.TextColor;
68533
+ }
68534
+
68535
+ if (item.ProgressBar)
68536
+ {
68537
+ var subItem=item.ProgressBar;
68538
+ if (subItem.BGColor) dest.ProgressBar.BGColor=subItem.BGColor;
68539
+ if (subItem.BarColor) dest.ProgressBar.BarColor=subItem.BarColor;
68540
+ if (subItem.TextColor) dest.ProgressBar.TextColor=subItem.TextColor;
68541
+ if (subItem.Font) dest.ProgressBar.Font=subItem.Font;
68542
+ if (subItem.Disable)
68543
+ {
68544
+ if (subItem.Disable.BGColor) dest.ProgressBar.Disable.BGColor=subItem.Disable.BGColor;
68545
+ if (subItem.Disable.BarColor) dest.ProgressBar.Disable.BarColor=subItem.Disable.BarColor;
68546
+ if (subItem.Disable.TextColor) dest.ProgressBar.Disable.TextColor=subItem.Disable.TextColor;
68547
+ }
68548
+
68549
+ CopyMarginConfig(dest.ProgressBar.Margin, subItem.Margin);
68550
+ CopyMarginConfig(dest.ProgressBar.BarMargin, subItem.BarMargin);
68551
+ CopyMarginConfig(dest.ProgressBar.TextMargin, subItem.TextMargin);
68552
+ }
68553
+
68554
+ if (item.Buttom)
68555
+ {
68556
+ var subItem=item.Buttom;
68557
+ if (subItem.BGColor) dest.Buttom.BGColor=subItem.BGColor;
68558
+ if (subItem.TextColor) dest.Buttom.TextColor=subItem.TextColor;
68559
+ if (subItem.BorderColor) dest.Buttom.BorderColor=subItem.BorderColor;
68560
+ if (subItem.Font) dest.Buttom.Font=subItem.Font;
68561
+
68562
+ if (subItem.Disable)
68563
+ {
68564
+ if (subItem.Disable.BGColor) dest.Buttom.Disable.BGColor=subItem.Disable.BGColor;
68565
+ if (subItem.Disable.TextColor) dest.Buttom.Disable.TextColor=subItem.Disable.TextColor;
68566
+ }
68567
+
68568
+ if (subItem.MouseOn)
68569
+ {
68570
+ if (subItem.MouseOn.BGColor) dest.Buttom.MouseOn.BGColor=subItem.MouseOn.BGColor;
68571
+ if (subItem.MouseOn.TextColor) dest.Buttom.MouseOn.TextColor=subItem.MouseOn.TextColor;
68572
+ }
68573
+
68574
+ CopyMarginConfig(dest.Buttom.Margin, subItem.Margin);
68575
+ CopyMarginConfig(dest.Buttom.TextMargin, subItem.TextMargin);
68576
+ }
68488
68577
 
68489
68578
  }
68490
68579