#63 allow hbar to have variable height, other bar improvement

This commit is contained in:
Mikayla Fischler
2022-06-09 11:59:55 -04:00
parent 11e4d89b1d
commit 1fa87132d6
2 changed files with 26 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
-- Horizontal Bar Graphics Element
-- Vertical Bar Graphics Element
local util = require("scada-common.util")
@@ -16,7 +16,7 @@ local element = require("graphics.element")
-- new vertical bar
---@param args vbar_args
local function vbar(args)
-- last state
-- properties/state
local last_num_bars = -1
-- create new graphics element base object