Class IgrAxisRangeChangedEventArgs

Provides data for Axis RangeChanged events.

The IgrAxisRangeChangedEventArgs 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

  • IgrAxisRangeChangedEventArgs

Constructors

constructor

Accessors

maximumValue

  • get maximumValue(): number
  • set maximumValue(v: number): void
  • 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

  • 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
    
        }

    Parameters

    • v: number

    Returns void

minimumValue

  • get minimumValue(): number
  • set minimumValue(v: number): void
  • 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

  • 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
    
        }

    Parameters

    • v: number

    Returns void

oldMaximumValue

  • get oldMaximumValue(): number
  • set oldMaximumValue(v: number): void
  • 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

  • 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.

    Parameters

    • v: number

    Returns void

oldMinimumValue

  • get oldMinimumValue(): number
  • set oldMinimumValue(v: number): void
  • 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

  • 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.

    Parameters

    • v: number

    Returns void