protected void ModifyMinMax(BaseScrollableCategoryData data, DoubleVector3 point) { if (data.MaxRadius.HasValue == false || data.MaxRadius.Value < point.z) { data.MaxRadius = point.z; } if (data.MaxX.HasValue == false || data.MaxX.Value < point.x) { data.MaxX = point.x; } if (data.MinX.HasValue == false || data.MinX.Value > point.x) { data.MinX = point.x; } if (data.MaxY.HasValue == false || data.MaxY.Value < point.y) { data.MaxY = point.y; } if (data.MinY.HasValue == false || data.MinY.Value > point.y) { data.MinY = point.y; } }
bool IMixedSeriesProxy.AddCategory(string category, BaseScrollableCategoryData data) { return(AddCategory(category, data)); }
/// <summary> /// Adds a new category based on a BaseScrollableCategoryData object /// </summary> /// <param name="category"></param> /// <param name="data"></param> /// <returns></returns> protected abstract bool AddCategory(string category, BaseScrollableCategoryData data);
protected override bool AddCategory(string category, BaseScrollableCategoryData data) { throw new NotImplementedException(); }