diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html index 0f18a0ff..0a90fa24 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html @@ -112,7 +112,7 @@

执法数量排行(TOP10)

-
+

执法数量排行(TOP10)

-
+

执法数量排行(TOP10)

-
+
@@ -742,11 +742,6 @@ textStyle: { color: 'rgba(0,0,0,.5)' }, - formatter: function (value) { - // 设定一个最大长度,例如10个字符 - const maxLength = 6; - return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; - } }, splitLine:{ lineStyle:{ @@ -863,12 +858,7 @@ textStyle: { color: 'rgba(0,0,0,.5)' }, - formatter: function (value) { - // 设定一个最大长度,例如10个字符 - const maxLength = 6; - return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; - } - }, + }, splitLine:{ lineStyle:{ color:['#f2f2f2'], @@ -985,11 +975,6 @@ textStyle: { color: 'rgba(0,0,0,.5)' }, - formatter: function (value) { - // 设定一个最大长度,例如10个字符 - const maxLength = 6; - return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; - } }, splitLine:{ lineStyle:{ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html index 6fced1f7..de20d9a4 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html @@ -28,6 +28,7 @@
+
@@ -87,7 +88,7 @@
  • -

    :

    +

    :

    0

    0

    0

    @@ -141,7 +142,7 @@
-
+ @@ -678,9 +679,12 @@ data:xdata, axisLabel: { show: true, - rotate: '30', - textStyle: { - color: 'rgba(0,0,0,.5)' + interval: 0, + rotate: 30, + formatter: function (value) { + // 设定一个最大长度,例如10个字符 + const maxLength = 6; + return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; } }, splitLine:{ @@ -742,6 +746,12 @@ ] ) }}, + label: { + normal: { + show: true, //是否显示标签 + position: 'outside', //标签的位置。 + } + }, data:ydata, }, ] @@ -823,9 +833,12 @@ data:xdata, axisLabel: { show: true, - rotate: '30', - textStyle: { - color: 'rgba(0,0,0,.5)' + interval: 0, + rotate: 30, + formatter: function (value) { + // 设定一个最大长度,例如10个字符 + const maxLength = 6; + return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; } }, splitLine:{ @@ -887,6 +900,12 @@ ] ) }}, + label: { + normal: { + show: true, //是否显示标签 + position: 'outside', //标签的位置。 + } + }, data:ydata1, }, { @@ -910,6 +929,12 @@ ] ) }}, + label: { + normal: { + show: true, //是否显示标签 + position: 'outside', //标签的位置。 + } + }, data:ydata2, }, { @@ -934,6 +959,12 @@ ] ) }}, + label: { + normal: { + show: true, //是否显示标签 + position: 'outside', //标签的位置。 + } + }, data:ydata3, }, { @@ -957,6 +988,12 @@ ] ) }}, + label: { + normal: { + show: true, //是否显示标签 + position: 'outside', //标签的位置。 + } + }, data:ydata4, }, ] @@ -1063,9 +1100,12 @@ data:xdata, axisLabel: { show: true, - rotate: '30', - textStyle: { - color: 'rgba(0,0,0,.5)' + interval: 0, + rotate: 30, + formatter: function (value) { + // 设定一个最大长度,例如10个字符 + const maxLength = 6; + return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; } }, splitLine:{ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statisticsEnterprise/statisticsEnterprise.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statisticsEnterprise/statisticsEnterprise.html index 59cccf73..1731cc86 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statisticsEnterprise/statisticsEnterprise.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statisticsEnterprise/statisticsEnterprise.html @@ -161,7 +161,7 @@