#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace ChartAndGraph
{
///
/// Contains data about a chart legend
///
public class LegenedData
{
///
/// Each item has a name and material
///
public class LegenedItem
{
public string Name;
public Material Material;
}
///
/// list of categories each with a name and material
///
List mItems = new List();
public void AddLegenedItem(LegenedItem item)
{
mItems.Add(item);
}
///
/// returns that data for this legend item
///
public IEnumerable Items
{
get { return mItems; }
}
}
}