projects/wms-framework/src/lib/models/controls/SeriesModel.ts
ActualDependentRangeAxis |
Type : IAxis
|
ActualIndependentAxis |
Type : IAxis
|
DependentRangeAxis |
Type : any
|
Decorators :
@Dependency(ColumnBarBaseSeries.DependentRangeAxisProperty)
|
Static DependentRangeAxisProperty |
Type : DependencyProperty
|
Default value : new DependencyProperty('DependentRangeAxis', null, null)
|
IndependentAxis |
Type : IAxis
|
Decorators :
@Dependency(ColumnBarBaseSeries.IndependentAxisProperty)
|
Static IndependentAxisProperty |
Type : DependencyProperty
|
Default value : new DependencyProperty(
'IndependentAxis',
null,
null
)
|
ActualDataPointStyle |
Type : Style
|
Decorators :
@Dependency(DataPointSingleSeriesWithAxes.ActualDataPointStyleProperty)
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:157
|
ActualDataPointStyleName |
Type : string
|
Default value : 'ActualDataPointStyle'
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:166
|
Static ActualDataPointStyleProperty |
Type : DependencyProperty
|
Default value : new DependencyProperty('ActualDataPointStyle', null, null)
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:147
|
ActualLegendItemStyle |
Type : Style
|
Decorators :
@Dependency(DataPointSingleSeriesWithAxes.ActualLegendItemStyleProperty)
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:160
|
Static ActualLegendItemStyleProperty |
Type : DependencyProperty
|
Default value : new DependencyProperty('ActualLegendItemStyle', null, null)
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:150
|
GlobalSeriesIndex |
Type : number
|
Decorators :
@Dependency(DataPointSingleSeriesWithAxes.GlobalSeriesIndexProperty)
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:154
|
Static GlobalSeriesIndexProperty |
Type : DependencyProperty
|
Default value : new DependencyProperty(
'GlobalSeries',
null,
null
)
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:141
|
LegendItem |
Type : any
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:162
|
PaletteResources |
Type : ResourceDictionary
|
Inherited from
DataPointSingleSeriesWithAxes
|
Defined in
DataPointSingleSeriesWithAxes:164
|
InternalActualDependentAxis |
Type : IAxis
|
Inherited from
DataPointSeriesWithAxes
|
Defined in
DataPointSeriesWithAxes:113
|
InternalActualDependentAxis |
InternalActualIndependentAxis |
Type : IAxis
|
Inherited from
DataPointSeriesWithAxes
|
Defined in
DataPointSeriesWithAxes:121
|
InternalActualIndependentAxis |
InternalDependentAxis |
Type : IAxis
|
Inherited from
DataPointSeriesWithAxes
|
Defined in
DataPointSeriesWithAxes:129
|
InternalDependentAxis |
InternalIndependentAxis |
Type : IAxis
|
Inherited from
DataPointSeriesWithAxes
|
Defined in
DataPointSeriesWithAxes:137
|
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
|
Defined in
DataPointSeries:103
|
Selection Changed event |
Title |
Type : any
|
Default value : ''
|
Inherited from
DataPointSeries
|
Defined in
DataPointSeries:111
|
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> {}