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

361 B

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
local mainFrame = basalt.createFrame()
local aGraph = mainFrame:addGraph()
aGraph:addDataPoint(13)