SmartQuant.FinChart.Pad.RemovePrimitive C# (CSharp) Method

RemovePrimitive() public method

public RemovePrimitive ( IChartDrawable primitive ) : void
primitive IChartDrawable
return void
        public void RemovePrimitive(IChartDrawable primitive)
        {
            Primitives.Remove(primitive);
            if (primitive is IDateDrawable)
                this.rangeList[(primitive as IDateDrawable).DateTime].Remove(primitive);
            else
                this.simplePrimitives.Remove(primitive);
        }