浏览代码

traffic: using logarithmic scale to better cope with outliers

Rodja Trappe 2 年之前
父节点
当前提交
346226e2ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      traffic_tracking.py

+ 1 - 1
traffic_tracking.py

@@ -28,7 +28,7 @@ class TrafficChard(ui.chart):
             'title': {'text': 'Page Visits'},
             'navigation': {'buttonOptions': {'enabled': False}},
             'chart': {'type': 'line'},
-            'yAxis': {'title': False},
+            'yAxis': {'title': False, 'type': 'logarithmic', },
             'xAxis': {
                 'type': 'datetime',
                 'labels': {'format': '{value:%b %e}', },