///////////////////////////////////////////////////////////////// // DATASOURCE DEFINITIONS ///////////////////////////////////////////////////////////////// /** * <p>Adds a custom, {@link org.Rrd4n.data.Plottable plottable} datasource (<b>PDEF</b>). * The datapoints should be made available by a class extending * {@link org.Rrd4n.data.Plottable Plottable} class.</p> * * @param name source name. * @param plottable class that extends Plottable class and is suited for graphing. */ public void addDatasource(String name, Plottable plottable) { sources.Add(new DataPDef(name, plottable)); }
public DataPDef(String name, Plottable plottable) : base(name) { this.plottable = plottable; }