t</span>) </span>{
    <span class="hljs-keyword">var</span> index = context.dataIndex;
    <span class="hljs-keyword">var</span> value = context.dataset.data[index];
    <span class="hljs-keyword">return</span> value &lt; <span class="hljs-number">0</span> ? <span class="hljs-string">&apos;red&apos;</span> :  <span class="hljs-comment">// draw negative values in red</span>
        index % <span class="hljs-number">2</span> ? <span class="hljs-string">&apos;blue&apos;</span> :    <span class="hljs-comment">