hqchart 1.1.13526 → 1.1.13537
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 +114 -90
- package/package.json +1 -1
- package/src/jscommon/umychart.js +9 -10
- package/src/jscommon/umychart.report.js +409 -35
- package/src/jscommon/umychart.style.js +1 -1
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +420 -47
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +420 -47
package/package.json
CHANGED
package/src/jscommon/umychart.js
CHANGED
|
@@ -124,15 +124,14 @@ function JSChart(divElement, bOffscreen, bCacheCanvas)
|
|
|
124
124
|
this.OnSize=function(option)
|
|
125
125
|
{
|
|
126
126
|
//画布大小通过div获取 如果有style里的大小 使用style里的
|
|
127
|
+
var height=this.DivElement.offsetHeight;
|
|
128
|
+
var width=this.DivElement.offsetWidth;
|
|
127
129
|
if (this.DivElement.style.height && this.DivElement.style.width)
|
|
128
130
|
{
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
{
|
|
134
|
-
var height=this.DivElement.offsetHeight;
|
|
135
|
-
var width=this.DivElement.offsetWidth;
|
|
131
|
+
if (this.DivElement.style.height.includes("px"))
|
|
132
|
+
height=parseInt(this.DivElement.style.height.replace("px",""));
|
|
133
|
+
if (this.DivElement.style.width.includes("px"))
|
|
134
|
+
width=parseInt(this.DivElement.style.width.replace("px",""));
|
|
136
135
|
}
|
|
137
136
|
|
|
138
137
|
if (this.ToolElement)
|
|
@@ -67198,9 +67197,9 @@ function JSChartResource()
|
|
|
67198
67197
|
Mergin:{ Left:5, Right:5, Top:4, Bottom:2 },
|
|
67199
67198
|
|
|
67200
67199
|
TabTitleColor:'rgb(60,60,60)',
|
|
67201
|
-
TabSelectedTitleColor:'rgb(
|
|
67202
|
-
TabSelectedBGColor:"rgb(
|
|
67203
|
-
TabMoveOnTitleColor:"rgb(
|
|
67200
|
+
TabSelectedTitleColor:'rgb(255,255,255)',
|
|
67201
|
+
TabSelectedBGColor:"rgb(234,85,4)",
|
|
67202
|
+
TabMoveOnTitleColor:"rgb(234,85,4)",
|
|
67204
67203
|
TabBGColor:"rgb(220,220,220)"
|
|
67205
67204
|
},
|
|
67206
67205
|
|