Data
DoubleSeries.cs
// *************************************************************************************
// SCICHART® Copyright SciChart Ltd. 2011-2021. All rights reserved.
//
// Web: http://www.scichart.com
// Support: [email protected]
// Sales: [email protected]
//
// DoubleSeries.cs is part of SCICHART®, High Performance Scientific Charts
// For full terms and conditions of the license, see http://www.scichart.com/scichart-eula/
//
// This source code is protected by international copyright law. Unauthorized
// reproduction, reverse-engineering, or distribution of all or any portion of
// this source code is strictly prohibited.
//
// This source code contains confidential and proprietary trade secrets of
// SciChart Ltd., and should at no time be copied, transferred, sold,
// distributed or made available without express written permission.
// *************************************************************************************
using System.Collections.Generic;
using System.Linq;
namespace SciChart.Examples.ExternalDependencies.Data
{
///
/// A data-structure to contain a list of X,Y double-precision points
///
public clast DoubleSeries : List
{
public DoubleSeries()
{
}
public DoubleSeries(int capacity) : base(capacity)
{
}
public IList XData { get { return this.Select(x => x.X).ToArray(); } }
public IList YData { get { return this.Select(x => x.Y).ToArray(); } }
}
}