2017-03-16 5 views
0

私はzoomdataでビジュアライゼーションを作成しました。サーバーと正しく接続しています。サンプルはこのURLから取得されています: https://github.com/Zoomdata/SDK20-ApplicationFW-samples/blob/master/simpleSamples/changeColorAndFilter.htmlZommdataの実行エラー例

サンプルは正しく動作します。 ライブサーバーに接続すると、「変更フィルタ」ボタンが機能しません。色の変更ボタンが機能します。次のエラーが表示されます。

Calling deprecated method filters.add; 
    zoomdata-client.js:65725:12 
Object { instance: Object, schema: Object, propertyPath: "instance", errors: Array[1], throwError: undefined, disableFormat: false } 

ご協力いただければ幸いです。

答えて

0

しかし、コードを少し変更しても問題ありません。

前方法:

window.viz.filters.add(フィルターセット[filterNum])。

変更方法:

window.viz.filters.changeFilters(フィルターセット[filterNum])。

関連する問題