Пример #1
0
 public void replace(ChartControl chart, IChartDataTable _table)
 {
     release();
     table           = _table;
     listener        = new DataUpdateListener(chart.onUpdateCalled);
     table.onUpdate += listener;
 }
Пример #2
0
 public ChartData(ChartControl chart, IChartDataTable _table, Color _color, ChartStyle _style)
 {
     Debug.Assert(_table != null);
     table           = _table;
     color           = _color;
     style           = _style;
     listener        = new DataUpdateListener(chart.onUpdateCalled);
     table.onUpdate += listener;
 }