#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ChartAndGraph
{
///
/// represets a generic datum in a chart. This datum can be a point in a graph , a candle stick, a bar or anything else
///
public struct MixedSeriesGenericValue
{
///
/// the name of the object. Used in item lables
///
string name;
///
/// the index of the item. This can be used for example in stacked bar chart. Objects with the same item value are the stacks of the same bar
///
int index;
///
/// the index of this item within a parent item. for example bar stacks of the same bar have different subIndex value
///
int subIndex;
///
/// defines points that can be used in different ways by different series
///
double x, y;
///
/// defines points that can be used in different ways by different series
///
double x1, y1;
///
/// defines a size that can be used in different ways by different series
///
double size;
///
/// defines the high end of a custom range that can used in diffrent ways by different series
///
double high;
///
/// defines the low end of a custom range that can be used in different ways by different series
///
double low;
///
/// this can contain just about anything. This value is passed to child prefabs, use this to create custom behaviors such as a chart within a chart etc
///
object userData;
}
}