Skip to content

Commit 1c7558d

Browse files
authored
Fix typo in Graph/addDataPoint (#97)
1 parent 8d4e96a commit 1c7558d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/objects/Graph/addDataPoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ Sets a data point in the graph with specified value.
1919
```lua
2020
local mainFrame = basalt.createFrame()
2121
local aGraph = mainFrame:addGraph()
22-
aGraph:setDataPoint(13)
22+
aGraph:addDataPoint(13)
2323
```

0 commit comments

Comments
 (0)