Browse Source

图表大小

master
lijunjie 3 years ago
parent
commit
ad156e850c
  1. 9
      public/script/http/lora2.js

9
public/script/http/lora2.js

@ -278,7 +278,7 @@ function buildCompare(dom) {
{
name: '血氧',
type: 'scatter',
symbolSize: 10,
symbolSize: 20,
yAxisIndex: 0,
tooltip: {
valueFormatter: (value) => value.toFixed(2) + ' %'
@ -287,7 +287,7 @@ function buildCompare(dom) {
{
name: '温度',
type: 'scatter',
symbolSize: 10,
symbolSize: 20,
yAxisIndex: 1,
tooltip: {
valueFormatter: (value) => value.toFixed(2) + ' ℃'
@ -296,7 +296,7 @@ function buildCompare(dom) {
{
name: '心率',
type: 'scatter',
symbolSize: 10,
symbolSize: 20,
yAxisIndex: 2,
tooltip: {
valueFormatter: (value) => value.toFixed(2) + ' 次'
@ -305,7 +305,7 @@ function buildCompare(dom) {
{
name: '湿度',
type: 'scatter',
symbolSize: 10,
symbolSize: 20,
yAxisIndex: 3,
tooltip: {
valueFormatter: (value) => value.toFixed(2) + ' %'
@ -608,6 +608,7 @@ function buildDevice(dom) {
data: special_compare_data[key],
type: 'line',
smooth: true,
symbolSize:10,
})
}

Loading…
Cancel
Save