Provides data for Axis RangeChanged events.

The AxisRangeChangedEventArgs event fire when the axis range changes.

<IgrDataChart
dataSource={this.state.dataSource}
width="700px"
height="500px">
<IgrCategoryXAxis name="xAxis" label="Date" />
<IgrNumericYAxis name="yAxis" rangeChanaged={this.yAxisRangeChanged} />
<IgrFinancialPriceSeries
name="series2"
xAxisName="xAxis"
yAxisName="yAxis"
displayType="Candlestick"
lowMemberPath="Low"
highMemberPath="High"
openMemberPath="Open"
closeMemberPath="Close"
volumeMemberPath="Volume" />
</IgrDataChart>
  axis.rangeChanged.bind(this.yAxisRangeChanged);
public yAxisRangeChanged(sender : any, e: AxisRangeChangedEventArgs) => {

}

Hierarchy

Hierarchy

  • IgrAxisRangeChangedEventArgs

Constructors

Accessors

  • get maximumValue(): number
  • Gets the maximum value after the range changed. The reported maximum is the effective, not the set value.

    The MaximumValue property is used to gets the maximum value after the range changed.

      public yAxisRangeChanged(sender : any, e: AxisRangeChangedEventArgs) :void {
    let maxVal= e.maximumValue
    let minVal= e.minimumValue

    }

    Returns number

  • set maximumValue(v): void
  • Parameters

    • v: number

    Returns void

  • get minimumValue(): number
  • Gets the minimum value after the range changed. The reported minimum is the effective, not the set value.

    The MinimumValue property is used to getsthe minimum value after the range changed.

      public yAxisRangeChanged(sender : any, e: AxisRangeChangedEventArgs) :void {
    let maxVal= e.maximumValue
    let minVal= e.minimumValue

    }

    Returns number

  • set minimumValue(v): void
  • Parameters

    • v: number

    Returns void

  • get nativeElement(): HTMLElement
  • Returns HTMLElement

  • get oldMaximumValue(): number
  • Gets the maximum value before the range changed. The reported maximum is the effective, not the set value.

    The OldMaximumValue property is used to gets the maximum value before the range changed.

    Returns number

  • set oldMaximumValue(v): void
  • Parameters

    • v: number

    Returns void

  • get oldMinimumValue(): number
  • Gets the minimum value before the range changed. The reported minimum is the effective, not the set value.

    The OldMinimumValue property is used to gets the minimum value before the range changed.

    Returns number

  • set oldMinimumValue(v): void
  • Parameters

    • v: number

    Returns void