using System.Drawing; namespace DelftTools.Controls.Swf.Charting { public delegate void NotifyChartSeriesValueChanged(object sender, NotifyChartSeriesValueChangedArgs args); public class NotifyChartSeriesValueChangedArgs { // tell what it is, index, value, new, old } /// /// Provides data in a suitable format to be used by chartseries of Steema.TeeChart. /// public interface IChartSeriesValueProvider { T GetX(int index); T GetY(int index); Color GetColor(int index); string GetLabel(int index); void SetX(int index, T value); void SetY(int index, T value); void SetColor(int index, Color color); void SetLabel(int index, string text); event NotifyChartSeriesValueChanged ValueChanged; } }