Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コア プロットを使用して棒グラフを描画しています。1 つの棒に 2 つの色を表示したいのですが、どうすればよいですか? Y 値が 0 から 15 までの緑色で、15 から 25 までが赤色であるように、誰か助けてもらえますか?
2 つの棒グラフを使用して積み上げ棒グラフを作成します。最初のものにバーの下部 (0 から 15) を表示させます。2 番目のプロットで YES に設定barBasesVaryし、それを使用して残りを表示します。
barBasesVary
サンプル コードについては、プロット ギャラリー アプリの縦棒グラフの例を参照してください。