私は google.visualization.DataTable を使用しており、関連する 2 つの列があり、colSmall と colLarge と呼びます。特定の行で colSmall が colLarge より大きい場合、その行の背景色を赤にしたいと思います。
最も近いのは、google.visualization.ColorFormat() を使用することです。フォーマッタと addRange を作成して、特定の値をハードコーディングし、colSmall がその値を超えると赤になるようにすることができます (以下を参照)。
var formatter = new google.visualization.ColorFormat();
formatter.addRange('100', null, 'black', 'red'); // anything greater than 100 will be red (the quotes are because these are string values)
formatter.format(data, 7); // colSmall is index 7
この行の別の列を表示する方法を見つけることができませんでした。私が抱えているもう1つの問題は、これが行全体ではなくセルのみを赤くすることです。