File

projects/wms-framework/src/lib/models/interfaces/IAxis.ts

Description

Interface IAxis

Index

Properties
Methods

Methods

CanPlot
CanPlot(valye: any)

Can plot method

Parameters :
Name Type Optional
valye any No
Returns : boolean

{boolean}

GetPlotAreaCoordinate
GetPlotAreaCoordinate(value: any)

Get plot Area coordinate

Parameters :
Name Type Optional
value any No
Returns : UnitValue

{UnitValue}

Properties

DependentAxes
DependentAxes: ObservableCollection<IAxis>
Type : ObservableCollection<IAxis>

Dependendent Axes

Orientation
Orientation: AxisOrientation
Type : AxisOrientation

Orientation

OrientationChanged
OrientationChanged: SubscriptionEvent<void>
Type : SubscriptionEvent<void>

OrientationChanged event

RegisteredListeners
RegisteredListeners: ObservableCollection<IAxisListener>
Type : ObservableCollection<IAxisListener>

Axis listeners

import { ObservableCollection } from '../../baseframework';
import { AxisOrientation } from '../enums/AxisOrientation';
import { IAxisListener } from './IAxisListener';
import { UnitValue } from '../../baseframework/UnitValue';
import { SubscriptionEvent } from '../../utils/SubscriptionEvent';

/**
 * Interface IAxis
 *
 * @export
 * @interface IAxis
 * @wInterface System.Windows.Controls.DataVisualization.Charting.IAxis
 */
export interface IAxis {
  /**
   * Dependendent Axes
   *
   * @type {ObservableCollection<IAxis>}
   * @memberof IAxis
   */
  DependentAxes: ObservableCollection<IAxis>;
  /**
   * Orientation
   *
   * @type {AxisOrientation}
   * @memberof IAxis
   */
  Orientation: AxisOrientation;
  /**
   * Axis listeners
   *
   * @type {IAxisListener}
   * @memberof IAxis
   */
  RegisteredListeners: ObservableCollection<IAxisListener>;
  /**
   * OrientationChanged event
   *
   * @memberof IAxis
   */
  OrientationChanged: SubscriptionEvent<(a1: any, a2: any) => void>;
  /**
   * Can plot method
   *
   * @param {*} valye
   * @return {*}  {boolean}
   * @memberof IAxis
   */
  CanPlot(valye: any): boolean;
  /**
   * Get plot Area coordinate
   *
   * @param {*} value
   * @return {*}  {UnitValue}
   * @memberof IAxis
   */
  GetPlotAreaCoordinate(value: any): UnitValue;
}

result-matching ""

    No results matching ""