Skip to content

Debology.Debby.Elements.Graphs ​

DebbyBaseGraph Class ​

A base class for all graphs in the Debby profiler.

csharp
public abstract class DebbyBaseGraph

Inheritance UnityEngine.UIElements.VisualElement 🡒 DebbyBaseGraph

Derived
↳ DebbyBarGraph
↳ DebbyLineGraph

Methods ​

DebbyBaseGraph.SetData(float[], int, float, float) Method ​

Sets the data for the graph and marks it dirty for repaint.

csharp
public abstract void SetData(float[] data, int divisions, float minBound=-1f, float maxBound=-1f);

Parameters ​

data System.Single[]

Data points to show

divisions System.Int32

How many vertical divisions the graph should have

minBound System.Single

The lower bound or -1 for automatic

maxBound System.Single

The upper bound of -1 for automatic