DataSeries<TKey>
[Serializable]public class DataSeries<TKey>No description is available for this type.
Events
Section titled “Events”
CollectionChanged
Section titled “CollectionChanged”public event NotifyCollectionChangedEventHandler CollectionChangedNo description is available for this member.
Returns
System.Collections.Specialized.NotifyCollectionChangedEventHandler — No return description is available.
DataChanged
Section titled “DataChanged”public event Action<DataSeries<TKey>> DataChangedNo description is available for this member.
Returns
System.Action{ChartGuru.DataSeries`1} — No return description is available.
Properties
Section titled “Properties”
public TKey Key { get; set; }No description is available for this member.
Returns
{TKey} — No return description is available.
public string Name { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
public Color Color { get; set; }No description is available for this member.
Returns
UnityEngine.Color — No return description is available.
Visible
Section titled “Visible”public bool Visible { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
SeriesIndex
Section titled “SeriesIndex”public int SeriesIndex { get; }No description is available for this member.
Returns
System.Int32 — No return description is available.
public int Count { get; }No description is available for this member.
Returns
System.Int32 — No return description is available.
IsDirty
Section titled “IsDirty”public bool IsDirty { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
public float MinY { get; }No description is available for this member.
Returns
System.Single — No return description is available.
public float MaxY { get; }No description is available for this member.
Returns
System.Single — No return description is available.
public float MinX { get; }No description is available for this member.
Returns
System.Single — No return description is available.
public float MaxX { get; }No description is available for this member.
Returns
System.Single — No return description is available.
this[int]
Section titled “this[int]”public DataPoint this[int index] { get; set; }No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
index |
System.Int32 |
Returns
ChartGuru.DataPoint — No return description is available.
Constructors
Section titled “Constructors”
DataSeries()
Section titled “DataSeries()”public DataSeries()No description is available for this member.
DataSeries(TKey)
Section titled “DataSeries(TKey)”public DataSeries(TKey key)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
key |
{TKey} | |
DataSeries(TKey, IEnumerable)
Section titled “DataSeries(TKey, IEnumerable)”public DataSeries(TKey key, IEnumerable<DataPoint> points)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
key |
{TKey} | |
points |
System.Collections.Generic.IEnumerable{ChartGuru.DataPoint} | |
DataSeries(TKey, Color)
Section titled “DataSeries(TKey, Color)”public DataSeries(TKey key, Color color)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
key |
{TKey} | |
color |
UnityEngine.Color |
Methods
Section titled “Methods”
Add(DataPoint)
Section titled “Add(DataPoint)”public void Add(DataPoint point)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
point |
ChartGuru.DataPoint | |
Add(float, float)
Section titled “Add(float, float)”public void Add(float x, float y)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
x |
System.Single | |
y |
System.Single | |
AddRange(IEnumerable)
Section titled “AddRange(IEnumerable)”public void AddRange(IEnumerable<DataPoint> points)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
points |
System.Collections.Generic.IEnumerable{ChartGuru.DataPoint} | |
AddRange(IEnumerable<(float x, float y)>)
Section titled “AddRange(IEnumerable<(float x, float y)>)”public void AddRange(IEnumerable<(float x, float y)> points)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
points |
System.Collections.Generic.IEnumerable{System.ValueTuple{System.Single,System.Single}} | |
RemoveAt(int)
Section titled “RemoveAt(int)”public void RemoveAt(int index)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
index |
System.Int32 | |
Clear()
Section titled “Clear()”public void Clear()No description is available for this member.
GetNativeData(Allocator)
Section titled “GetNativeData(Allocator)”public NativeList<DataPoint> GetNativeData(Allocator allocator = Allocator.TempJob)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
allocator |
Unity.Collections.Allocator |
Returns
Unity.Collections.NativeList{ChartGuru.DataPoint} — No return description is available.
CopyToNative(ref NativeList)
Section titled “CopyToNative(ref NativeList)”public void CopyToNative(ref NativeList<DataPoint> destination)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
destination |
Unity.Collections.NativeList{ChartGuru.DataPoint} | |
ClearDirty()
Section titled “ClearDirty()”public void ClearDirty()No description is available for this member.
GetEnumerator()
Section titled “GetEnumerator()”public IEnumerator<DataPoint> GetEnumerator()No description is available for this member.
Returns
System.Collections.Generic.IEnumerator{ChartGuru.DataPoint} — No return description is available.
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Section titled “OnCollectionChanged(NotifyCollectionChangedEventArgs)”protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
e |
System.Collections.Specialized.NotifyCollectionChangedEventArgs | |
Dispose()
Section titled “Dispose()”public void Dispose()No description is available for this member.