-codeblock language-js"><pre><code class="qm-code-font">[
  { <span class="hljs-comment">// Segment would be 25% of the total size of the progress bar and positive</span>
    <span class="hljs-string">"class"</span>: <span class="hljs-string">"hx-positive"</span>
    <span class="hljs-string">"value"</span>: <span class="hljs-number">0.25</span>
  },
  { <span class="hljs-comment">// Segment would be 75% of the total size of the progress bar</span>
    <span class="hljs-string">"value"</span>: <span class="