Epigene.UI.UIChartPie.GetValue C# (CSharp) Method

GetValue() public method

public GetValue ( int index ) : float
index int
return float
		public float GetValue(int index)
		{
			if (index < datas.Count)
			{
				Dictionary<string, object> data = datas[index];
				float value = (float)data["value"];
				return value;
			}
			return -1f;
		}