User Manual

08.14.2024

MANUAL

Developer Function: Script: $p.events.on_timeseries_load

The Japanese version of the manual is the latest.
Please also check.
## Overview This explains how to specify a method to be executed when the "「Time Series Chart」" 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.' }) ); } ```
code VS Codeで開発作業をもっとスマートに

スクリプト開発の効率を高めたい方に、Code Assistをご用意しています。

Code Assistの詳細はこちら →
account_tree 複雑な構成も、すっきり視覚化

サイト構成やデータのつながりを可視化し、把握しやすくします。

Site Visualizerの詳細はこちら →
TOP