Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IDataDistributionCalculator

Implemented by

Index

Properties

Readonly containsNaN

containsNaN: boolean

containsNaN Data Distribution flag

Readonly isSortedAscending

isSortedAscending: boolean

isSortedAscending Data Distribution flag

Methods

clear

  • clear(isSorted: boolean, containsNaN: boolean): void
  • Clears the DataDistributionCalculator flags

    Parameters

    • isSorted: boolean
    • containsNaN: boolean

    Returns void

onAppend

  • onAppend(isSorted: boolean, containsNaN: boolean, currentXValues: SCRTDoubleVector, newXValues: NumberArray, newYValues: NumberArray): void
  • Called when X Values are appended. Should update the Data Distribution flags

    Parameters

    • isSorted: boolean
    • containsNaN: boolean
    • currentXValues: SCRTDoubleVector
    • newXValues: NumberArray
    • newYValues: NumberArray

    Returns void

onInsert

  • onInsert(isSorted: boolean, containsNaN: boolean, currentXValues: SCRTDoubleVector, newXValues: NumberArray, newYValues: NumberArray, indexWhereInserted: number): void
  • Called when new values are inserted. Should update the Data Distribution flags

    Parameters

    • isSorted: boolean
    • containsNaN: boolean
    • currentXValues: SCRTDoubleVector
    • newXValues: NumberArray
    • newYValues: NumberArray
    • indexWhereInserted: number

    Returns void

onUpdate

  • onUpdate(isSorted: boolean, containsNaN: boolean, currentXValues: SCRTDoubleVector, newXValues: NumberArray, newYValues: NumberArray, indexWhereUpdated: number): void
  • Called when yValues are updated. Should update the Data Distribution flags

    Parameters

    • isSorted: boolean
    • containsNaN: boolean
    • currentXValues: SCRTDoubleVector
    • newXValues: NumberArray
    • newYValues: NumberArray
    • indexWhereUpdated: number

    Returns void

setContainsNaN

  • setContainsNaN(value: boolean): void
  • Called to update containsNaN flag manually, for example when IDataSeries.containsNaN property changes

    Parameters

    • value: boolean

    Returns void

setIsSortedAscending

  • setIsSortedAscending(value: boolean): void
  • Called to update isSortedAscending flag manually, for example when IDataSeries.isSorted property changes

    Parameters

    • value: boolean

    Returns void

Generated using TypeDoc