s-string">&apos;black&apos;</span>,  <span class="hljs-comment">// color for data at index 3</span>
    <span class="hljs-comment">//...</span>
]
</code></pre>
<h2 id="option-context">Option Context</h2>
<p>The option context is used to give contextual information when resolving options and currently only applies to <a href="#scriptable-options">scriptable options</a>.</p>
<p>The context object contains the following properties:</p>
<ul>
<li><code>chart</code>: the associated chart</li>
<li><code>dataIndex<