Several bug fixes, visual updates on m+ panel, fixed m+ chart again, more updates for Breakdown Wndow

This commit is contained in:
Tercio Jose
2024-08-17 00:03:03 -03:00
committed by andrew6180
parent dc2758ccbe
commit 97e83c95e3
17 changed files with 122 additions and 57 deletions
+4 -4
View File
@@ -180,16 +180,16 @@ function mythicDungeonCharts.ShowChart()
local combatTime = mythicDungeonCharts.ChartTable.ElapsedTime
local opacity = 1
local smoothnessLevel = 50
--local smoothnessLevel = 50
--local smoothMethod = "loess"
local smoothnessLevel = 20
local smoothMethod = "loess"
local smoothMethod = "sma"
local chartSize = #chartData
local shrinkBy = 1
if (chartSize >= 600) then
shrinkBy = math.max(2, math.floor(chartSize/400))
if (chartSize >= 800) then
shrinkBy = math.max(2, math.floor(chartSize/800))
end
local reducedData = chartFrame:ShrinkData(chartData, shrinkBy)