User Manual

08.14.2024

MANUAL

Developer Function: Script: $p.events.on_timeseries_load

## Overview This explains how to specify a method to be executed when the "[Time Series Chart](/en/manual/table-management-timeseries)" is loaded or when the content to be displayed is changed by a filter, etc. ## Syntax When setting up a script, be sure to check "Time Series Chart" in "Output Destination." ##### JavaScript ``` $p.events.on_timeseries_load= function () { //Processing content } ``` ## Usage example If you set the following sample code to Pleasanter script, a message will be displayed at the bottom of the screen when the time series chart screen is loaded. ##### JavaScript ``` $p.events.on_timeseries_load= function () { $p.setMessage('#Message', JSON.stringify({ Css: 'alert-success', Text: 'The time series chart has been loaded.' }) ); } ```
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.