import{_ as a,a as r,b as t,ag as o}from"./chunks/framework.BcrMLAmg.js";const m=JSON.parse('{"title":"Graph","description":"","frontmatter":{},"headers":[],"relativePath":"references/elements/Graph.md","filePath":"references/elements/Graph.md","lastUpdated":1757844696000}'),s={name:"references/elements/Graph.md"};function i(h,e,d,n,l,c){return t(),r("div",null,e[0]||(e[0]=[o('

Graph

This is the base class for all graph elements. It is a point based graph.

Extends: VisualElement

Properties

PropertyTypeDefaultDescription
minValuenumber0The minimum value of the graph
maxValuenumber100The maximum value of the graph
seriestable{}The series of the graph

Functions

MethodReturnsDescription
Graph:addSeriesGraphAdds a series to the graph
Graph:removeSeriesGraphRemoves a series from the graph
Graph:getSeriesseriesGets a series from the graph
Graph:changeSeriesVisibilityGraphChanges the visibility of a series
Graph:addPointGraphAdds a point to a series
Graph:focusSeriesGraphFocuses a series
Graph:setSeriesPointCountGraphSets the point count of a series
Graph:clearGraphClears all points from a series

Graph:addSeries(name, symbol, bgCol, fgCol, pointCount)

Parameters

Returns

Graph:removeSeries(name)

Parameters

Returns

Graph:getSeries(name)

Parameters

Returns

Graph:changeSeriesVisibility(name, visible)

Parameters

Returns

Graph:addPoint(name, value)

Parameters

Returns

Graph:focusSeries(name)

Parameters

Returns

Graph:setSeriesPointCount(name, count)

Parameters

Returns

Graph:clear(name?)

Clears all points from a series

Parameters

Returns

',48)]))}const p=a(s,[["render",i]]);export{m as __pageData,p as default};