Biểu đồ hiển thị có thể tùy chọn xem chi tiết

Đây là một kiểu biểu đồ của Apexcharts card giúp bạn có thể xem chi tiết một số liệu nào đó trong khoảng mà mình chọn.

YAML
type: custom:apexcharts-card
experimental:
  color_threshold: true
  brush: true
graph_span: 8h
brush:
  selection_span: 1h
  apex_config: null
series:
  - entity: sensor.tong_pv
    color: blue
    type: area
    stroke_width: 1
    color_threshold:
      - value: 4000
        color: red
      - value: 2500
        color: yellow
      - value: 1500
        color: green
  - entity: sensor.tong_pv
    color: red
    stroke_width: 1
    float_precision: 0
    show:
      in_brush: true
      in_chart: false
update_interval: 30s
card_mod:
  style: |
    ha-card {
      backdrop-filter: blur(10px);
      box-shadow: none;
      border: none
    }

Hãy thay thế sensor cần thiết vào biểu đồ và xài thôi

0 0 đánh giá
Đánh giá bài viết
Theo dõi
Thông báo của
0 Góp ý
Được bỏ phiếu nhiều nhất
Mới nhất Cũ nhất
Phản hồi nội tuyến
Xem tất cả bình luận
0
Rất thích suy nghĩ của bạn, hãy bình luận.x