#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.Events;
namespace ChartAndGraph
{
public abstract class BarGenerator : MonoBehaviour, IBarGenerator
{
///
/// generates a bar within the specified rect. The rect is in local coordinates
///
/// A rect that specifies the bounds of the bar. the rect is in local coordinates
/// a value between 0 to 1 representing the size of the rect relative to the size of the chart
public abstract void Generate(float normalizedSize,float scale);
///
/// clears the bar the was generated be the Generate method.
///
public abstract void Clear();
}
}