For AI agents: the complete documentation index is available at https://docs.dataplatform.ovh.net/ja/llms.txt, the full documentation bundle is available at https://docs.dataplatform.ovh.net/ja/llms-full.txt, and this page is available as Markdown at https://docs.dataplatform.ovh.net/ja/sdk/app-dynamic_parameters-list-monthspicker.md.
  • 🇯🇵 日本語
  • Monthspicker

    Warning

    再作業が予定されており、納期は未定です。 Front App SDK(ReactJS)と Front API SDK(NodeJS)の両方が置き換えられます。このページは現在のリリースを文書化し、置き換えが出荷されるまで正確で維持されます。これに対して書かれたコードは引き続き動作します。

    Monthspicker を使用すると、月範囲を選択してチャート内のデータをフィルタリングできます。

    datepicker の完全なリファレンスを参照してください。唯一の違いは component の値です。

    Configuration

    {
      "id": "monthspicker",
      "type": "filter",
      "component": "datepicker.months",
      "reference": "range_date",
      "startAt": "startOf('month')",
      "endAt": "endOf('day')",
      "minDate": "subtract(3, 'year').startOf('month')",
      "maxDate": "endOf('day')",
      "disable_reference_date": false,
      "request": {
        "data": {
          "fields": {
            "date": ["max"]
          }
        }
      },
      "diamonds": null,
      "ranges": [{
        "label": "Past month",
        "start": "subtract(1, 'month').startOf('month')",
        "end": "subtract(1, 'month').endOf('month')"
      }, {
        "label": "Current month",
        "start": "startOf('month')",
        "end": "endOf('day')"
      }]
    }