361 B
361 B
addDataPoint
Description
Sets a data point in the graph with specified value.
Parameters
numbervalue - The value of the data point. (0-100)
Returns
objectThe object in use
Usage
- Sets a data point in the graph
local mainFrame = basalt.createFrame()
local aGraph = mainFrame:addGraph()
aGraph:addDataPoint(13)