Salesforce Lightning ダッシュボードにおいて、グループ化項目が選択リストまたは数式項目である場合、グラフの凡例の順序は保証されません。この動作が一般的に見られる例を以下に示します:
この記事では、Salesforce のダッシュボードコンポーネント間でグラフの凡例の順序や色が一致しない理由について説明します。
これは想定された動作です — Salesforce はグラフの凡例の並べ替え順を保証していません。Lightning ダッシュボードは、選択リストや数式のような項目型の並び順を反映するようには設計されておらず、選択リスト値が翻訳されると、言語によって動作が異なる場合があります。描画エンジンは、項目のメタデータ設定ではなく、データそのものに基づいて表示時に凡例の値を並べ替えます。
現在、凡例の順序をレポートや選択リストのメタデータの順序に一致させるよう強制するサポートされた方法はありません。関連する機能要望に対して、こちらでプラス投票ができます。
000394299

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.