This commit is contained in:
Insality
2025-03-14 01:06:20 +02:00
parent 1aa96d8dbc
commit 11aeb377c2
5 changed files with 242 additions and 31 deletions

View File

@@ -1,6 +1,11 @@
local color = require("druid.color")
local helper = require("druid.helper")
---Widget to display a several lines with different height in a row
---Init, set amount of samples and max value of value means that the line will be at max height
---Use `push_line_value` to add a new value to the line
---Or `set_line_value` to set a value to the line by index
---Setup colors inside template file (at minimum and maximum)
---@class widget.mini_graph: druid.widget
local M = {}