Changeset 12854


Ignore:
Timestamp:
08/13/15 11:18:49 (7 years ago)
Author:
mkommend
Message:

#2379: Added new sample for new bubble chart.

Location:
branches/BubbleChart
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BubbleChart/HeuristicLab.Optimization.BubbleChart/3.3/RecursiveDataItem.cs

    r12498 r12854  
    7777      data.Add(key, item);
    7878    }
     79
     80    public void Add(string key, double value) {
     81      data.Add(key, new DoubleValue(value));
     82    }
     83    public void Add(string key, int value) {
     84      data.Add(key, new IntValue(value));
     85    }
     86    public void Add(string key, string value) {
     87      data.Add(key, new StringValue(value));
     88    }
     89    public void Add(string key, DateTime value) {
     90      data.Add(key, new DateTimeValue(value));
     91    }
     92
     93
    7994    public void Add(RecursiveDataItem child) {
    8095      children.Add(child);
Note: See TracChangeset for help on using the changeset viewer.