diff --git a/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua b/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua index 2a64745f..06074121 100644 --- a/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua +++ b/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua @@ -119,6 +119,11 @@ local toggle = function() end local drawGraph = function(graph, value) + if graph:getGraphsCount() == 0 then + graph:createGraph() + graph:setLineWidth(1, 1) + graph:setLineColor(1, "#FF0000") + end graph:addValue(value) end diff --git a/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.otui b/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.otui index feb1c4bb..7ed60e17 100644 --- a/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.otui +++ b/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.otui @@ -178,8 +178,6 @@ AnalyzerLootItem < UIItem AnalyzerGraph < UIGraph height: 140 capacity: 400 - line-width: 1 - color: red margin-top: 5 margin-left: 5 margin-right: 5 diff --git a/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua b/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua index 74859f16..7a2c8e5d 100644 --- a/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua +++ b/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua @@ -133,6 +133,11 @@ local toggle = function() end local drawGraph = function(graph, value) + if graph:getGraphsCount() == 0 then + graph:createGraph() + graph:setLineWidth(1, 1) + graph:setLineColor(1, "#FF0000") + end graph:addValue(value) end diff --git a/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.otui b/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.otui index 216d9583..78899bfa 100644 --- a/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.otui +++ b/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.otui @@ -229,8 +229,6 @@ AnalyzerLootItem < UIItem AnalyzerGraph < UIGraph height: 140 capacity: 400 - line-width: 1 - color: red margin-top: 5 margin-left: 5 margin-right: 5