Files
Basalt/docs/objects/Graph/addDataPoint.md
2023-10-05 17:13:47 +02:00

24 lines
361 B
Markdown

## addDataPoint
### Description
Sets a data point in the graph with specified value.
### Parameters
1. `number` value - The value of the data point. (0-100)
### Returns
1. `object` The object in use
### Usage
* Sets a data point in the graph
```lua
local mainFrame = basalt.createFrame()
local aGraph = mainFrame:addGraph()
aGraph:addDataPoint(13)
```