public void AddValue(object key, float merit) { try { SuspendImage(); Items.AddOneTick(); SetLastValue(key, merit); } finally { ResumeImage(); } }
/// <summary> /// Adds a new tick to the end of all categories, initializes the new tick values with NaN, and returns the index of the new tick. /// </summary> /// <returns>The index of the new tick.</returns> public void AddOneTick() { Items.AddOneTick(); RefreshImage(); }