Exemple #1
0
        public Dialog_BarChart(DataVolume dataVolume)
        {
            this.dataVolume = dataVolume;

            draggable            = true;
            preventCameraMotion  = false;
            doCloseX             = true;
            onlyOneOfTypeAllowed = false;
        }
Exemple #2
0
 public void CreateVolume(string key, DataVolume dataVolume)
 {
     if (ContainsKey(key))
     {
         Log.Error($"Data volume with key {key} already exists; use {nameof(Save)} to add {nameof(DataPoint)}");
     }
     else
     {
         History[key] = dataVolume;
     }
 }