text: //******************************************************************************
  // SCICHART® Copyright SciChart Ltd. 2011-2018. All rights reserved.
  //
  // Web: http://www.scichart.com
  // Support: support@scichart.com
  // Sales:   sales@scichart.com
  //
  // DoubleSeries.h is part of the SCICHART® Examples. Permission is hereby granted
  // to modify, create derivative works, distribute and publish any part of this source
  // code whether for commercial, private or personal use.
  //
  // The SCICHART® examples are distributed in the hope that they will be useful, but
  // without any warranty. It is provided "AS IS" without warranty of any kind, either
  // expressed or implied.
  //******************************************************************************
  
  #import <Foundation/Foundation.h>
  #import <SciChart/SciChart.h>
  
  @interface DoubleSeries : NSObject
  
  @property(nonatomic, readonly) SCIGenericType xValues;
  
  @property(nonatomic, readonly) SCIGenericType yValues;
  
  @property(nonatomic, readonly) int size;
  
  - (instancetype)initWithCapacity: (int) capacity;
  
  - (void)addX: (double)x Y:(double)y;
  
  - (void)clear;
  
  - (SCIArrayController *)getXArray;
  
  - (SCIArrayController *)getYArray;
  
  @end
  