/// <summary>
        /// Disposes resources used by this object.
        /// </summary>
        /// <param name="disposing">Whether this method was called form Dispose() or the finalizer.</param>
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    _chartGraph.Dispose();
                }

                _disposed = true;
            }
        }