2025-06-04 05:12:01 +08:00

18 lines
351 B
Plaintext

local baseCell = autoImport("BaseCell")
LineChartTipCell = class("LineChartTipCell", baseCell)
function LineChartTipCell:Init()
self:FindObjs()
end
function LineChartTipCell:FindObjs()
self.label = self.gameObject:GetComponent(UILabel)
end
function LineChartTipCell:SetData(data)
self.data = data
if data then
self.label.text = data
end
end