File

projects/wms-framework/src/lib/models/controls/SeriesModel.ts

Extends

DataPointSeriesWithAxes

Index

Properties

Properties

ActualDataPointStyle
Type : Style
Decorators :
@Dependency(DataPointSingleSeriesWithAxes.ActualDataPointStyleProperty)
ActualDataPointStyleName
Type : string
Default value : 'ActualDataPointStyle'
Static ActualDataPointStyleProperty
Type : DependencyProperty
Default value : new DependencyProperty('ActualDataPointStyle', null, null)
ActualLegendItemStyle
Type : Style
Decorators :
@Dependency(DataPointSingleSeriesWithAxes.ActualLegendItemStyleProperty)
Static ActualLegendItemStyleProperty
Type : DependencyProperty
Default value : new DependencyProperty('ActualLegendItemStyle', null, null)
GlobalSeriesIndex
Type : number
Decorators :
@Dependency(DataPointSingleSeriesWithAxes.GlobalSeriesIndexProperty)
Static GlobalSeriesIndexProperty
Type : DependencyProperty
Default value : new DependencyProperty( 'GlobalSeries', null, null )
LegendItem
Type : any
PaletteResources
Type : ResourceDictionary
InternalActualDependentAxis
Type : IAxis
Inherited from DataPointSeriesWithAxes

InternalActualDependentAxis

InternalActualIndependentAxis
Type : IAxis
Inherited from DataPointSeriesWithAxes

InternalActualIndependentAxis

InternalDependentAxis
Type : IAxis
Inherited from DataPointSeriesWithAxes

InternalDependentAxis

InternalIndependentAxis
Type : IAxis
Inherited from DataPointSeriesWithAxes

InternalIndependentAxis

AnimationSequence
Type : any
Default value : null
Inherited from DataPointSeries
Defined in DataPointSeries:83

Animation sequence

DataPointStyle
Type : any
Inherited from DataPointSeries
Defined in DataPointSeries:48
DependentValuePath
Type : string
Default value : null
Inherited from DataPointSeries
Defined in DataPointSeries:69

Dependent value path

IndependentValuePath
Type : string
Default value : null
Inherited from DataPointSeries
Defined in DataPointSeries:76

Independent value path

IsSelectionEnabled
Default value : false
Inherited from DataPointSeries
Defined in DataPointSeries:89

Is selection enabled

ItemsSource
Type : unknown
Inherited from DataPointSeries
Defined in DataPointSeries:62

Items source

LegendItems
Type : ObservableCollection<any>
Inherited from DataPointSeries
Defined in DataPointSeries:46

Legend Items

LegendItemStyle
Type : any
Default value : null
Inherited from DataPointSeries
Defined in DataPointSeries:55

Legend Item Style

SelectedItem
Type : any
Default value : null
Inherited from DataPointSeries
Defined in DataPointSeries:96

Selected item

SelectionChanged
Type : SubscriptionEvent<any>
Default value : new SubscriptionEvent()
Inherited from DataPointSeries

Selection Changed event

Title
Type : any
Default value : ''
Inherited from DataPointSeries

Title

import {
  Control,
  Dependency,
  DependencyProperty,
  ResourceDictionary,
} from '../../basecomponentmodel';
import { ObservableCollection } from '../../baseframework';
import { BarDataPoint } from '../../datavisualization/series';
import { IAxis } from '../interfaces/IAxis';
import { ISeries } from '../interfaces/ISeries';

export class Series extends Control implements ISeries {
  /**
   * Title property
   *
   * @static
   * @memberof Series
   */
  public static readonly TitleProperty = new DependencyProperty(
    'Title',
    null,
    null
  );

  /**
   * Legend Items for Series
   *
   * @type {ObservableCollection<any>}
   * @memberof Series
   */
  LegendItems: ObservableCollection<any> = new ObservableCollection<any>();

  /**
   *  Series TitleName
   *
   * @protected
   * @memberof Series
   */
  protected TitleName = 'Title';
}

export class DataPointSeries extends Series {
  /**
   * ItemsSourceProperty dependency property
   *
   * @static
   * @type {DependencyProperty}
   * @memberof DataPointSeries
   */
  static ItemsSourceProperty: DependencyProperty = new DependencyProperty(
    'ItemsSource',
    null,
    null
  );

  @Dependency(DataPointSeries.ItemsSourceProperty)
  public ItemsSource: Iterable<any>;

  /**
   * Data point style name
   *
   * @protected
   * @memberof DataPointSeries
   */
  protected DataPointStyleName = 'DataPointStyle';
  /**
   * Legend Items style name
   *
   * @protected
   * @memberof DataPointSeries
   */
  protected LegendItemStyleName = 'LegendItemStyle';
  /**
   * Plot area name
   *
   * @protected
   * @memberof DataPointSeries
   */
  protected PlotAreaName = 'PlotArea';

  /**
   * Actual legend item style name
   *
   * @protected
   * @memberof DataPointSeries
   */
  protected ActualLegendItemStyleName = 'ActualLegendItemStyle';
}

export class DataPointSeriesWithAxes extends DataPointSeries {
  /**
   * InternalActualDependentAxis
   *
   * @type {IAxis}
   * @memberof DataPointSeriesWithAxes
   */
  InternalActualDependentAxis: IAxis;

  /**
   * InternalActualIndependentAxis
   *
   * @type {IAxis}
   * @memberof DataPointSeriesWithAxes
   */
  InternalActualIndependentAxis: IAxis;

  /**
   * InternalDependentAxis
   *
   * @type {IAxis}
   * @memberof DataPointSeriesWithAxes
   */
  InternalDependentAxis: IAxis;

  /**
   * InternalIndependentAxis
   *
   * @type {IAxis}
   * @memberof DataPointSeriesWithAxes
   */
  InternalIndependentAxis: IAxis;
}

export class DataPointSingleSeriesWithAxes extends DataPointSeriesWithAxes {
  static GlobalSeriesIndexProperty: DependencyProperty = new DependencyProperty(
    'GlobalSeries',
    null,
    null
  );

  static ActualDataPointStyleProperty: DependencyProperty =
    new DependencyProperty('ActualDataPointStyle', null, null);

  static ActualLegendItemStyleProperty: DependencyProperty =
    new DependencyProperty('ActualLegendItemStyle', null, null);

  @Dependency(DataPointSingleSeriesWithAxes.GlobalSeriesIndexProperty)
  GlobalSeriesIndex: number;

  @Dependency(DataPointSingleSeriesWithAxes.ActualDataPointStyleProperty)
  ActualDataPointStyle: Style;

  @Dependency(DataPointSingleSeriesWithAxes.ActualLegendItemStyleProperty)
  ActualLegendItemStyle: Style;

  LegendItem: any;

  PaletteResources: ResourceDictionary;

  ActualDataPointStyleName = 'ActualDataPointStyle';
}

export class ColumnBarBaseSeries<T> extends DataPointSingleSeriesWithAxes {
  static DependentRangeAxisProperty: DependencyProperty =
    new DependencyProperty('DependentRangeAxis', null, null);
  static IndependentAxisProperty: DependencyProperty = new DependencyProperty(
    'IndependentAxis',
    null,
    null
  );

  @Dependency(ColumnBarBaseSeries.DependentRangeAxisProperty)
  DependentRangeAxis: any;

  @Dependency(ColumnBarBaseSeries.IndependentAxisProperty)
  IndependentAxis: IAxis;

  ActualDependentRangeAxis: IAxis;
  ActualIndependentAxis: IAxis;
}

export class BarSeries extends ColumnBarBaseSeries<BarDataPoint> {}

result-matching ""

    No results matching ""