CorsixTH Lua Documentation

UIGraphs Class

Charts fullscreen window

Declared on: line 22 of Lua/dialogs/fullscreen/graphs.lua.
Inheritance: UIGraphs » UIFullscreen » Window

Method Index

Member Index

(*) only used in superclass methods
function UIGraphs:UIGraphs(ui)

Parameters:

NameTypeDescription
ui ? ?

Declared on: line 42 of Lua/dialogs/fullscreen/graphs.lua.

function UIGraphs:afterLoad(old, new)

Parameters:

NameTypeDescription
old ? ?
new ? ?

Overrides: UIFullscreen:afterLoad.
Declared on: line 488 of Lua/dialogs/fullscreen/graphs.lua.

function UIGraphs:draw(canvas, x, y)

Parameters:

NameTypeDescription
canvas ? ?
x ? ?
y ? ?

Overrides: UIFullscreen:draw.
Declared on: line 374 of Lua/dialogs/fullscreen/graphs.lua.

function UIGraphs:getHospitalStatistics()

Get the statistics from the hospital that should be displayed.

Selection starts at the last (=newest) entry, and goes back in time.

Declared on: line 139 of Lua/dialogs/fullscreen/graphs.lua.

function UIGraphs:toggleGraph(name)

Parameters:

NameTypeDescription
name ? ?

Declared on: line 469 of Lua/dialogs/fullscreen/graphs.lua.