Wijmo UI for the Web
beforeSeriesChange イベント
標準 jQuery.Event オブジェクト。

古い系列値と新しい系列値を含むオブジェクト。

data.oldSeriesList: 変更前の古い系列リスト。

data.newSeriesList: 古い系列リストを置き換える新しい系列リスト。

このイベントは、系列が変更される前に発生します。"return false" を使用してイベントをキャンセルできます。

型: Function

デフォルト値: null

シンタックス
Javascript (Usage) 
$(function () {
    %JQueryMemberName%イベントハンドラ関数を設定する 
    $(".selector").wijchartcore({ 
        beforeSeriesChange : function (e, data) { 
     
        } 
    });
});
Javascript (Specification) 
beforeSeriesChange = function ( 
   e : jQuery.Event,
   data : IBeforeSeriesChangeEventArgs
) { };

パラメータ

e
標準 jQuery.Event オブジェクト。
data

古い系列値と新しい系列値を含むオブジェクト。

data.oldSeriesList: 変更前の古い系列リスト。

data.newSeriesList: 古い系列リストを置き換える新しい系列リスト。

使用例
This code, which uses the function as an option, cancels the event.
$("#barchart").wijbarchart({
    beforeSeriesChange: function(e, data) {
        return false;
    }
});
This example shows how to bind to the event by type.
$("#barchart").bind("wijbarchartbeforeserieschange", function(e, data) {} );

関連トピック

参照

options タイプ
wijchartcore メソッド

 

 


Copyright © GrapeCity inc. All rights reserved.