public Dialog_BarChart(DataVolume dataVolume) { this.dataVolume = dataVolume; draggable = true; preventCameraMotion = false; doCloseX = true; onlyOneOfTypeAllowed = false; }
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; } }