Note that there are some explanatory texts on larger screens.

plurals
  1. POExtJS combining records in a store which has the same field
    primarykey
    data
    text
    <p>Example XML file:</p> <pre><code>&lt;BrowserInformation&gt; &lt;Value&gt; &lt;Year&gt;2011&lt;/Year&gt; &lt;Name&gt;Firefox&lt;/Name&gt; &lt;Count&gt;4952&lt;/Count&gt; &lt;/Value&gt; &lt;Year&gt;2011&lt;/Year&gt; &lt;Name&gt;MSIE&lt;/Name&gt; &lt;Count&gt;4613&lt;/Count&gt; &lt;Value&gt; &lt;Year&gt;2011&lt;/Year&gt; &lt;Name&gt;Chrome&lt;/Name&gt; &lt;Count&gt;1401&lt;/Count&gt; &lt;/Value&gt; &lt;Value&gt; &lt;Year&gt;2011&lt;/Year&gt; &lt;Name&gt;Safari&lt;/Name&gt; &lt;Count&gt;1111&lt;/Count&gt; &lt;/Value&gt; &lt;Value&gt; &lt;Year&gt;2011&lt;/Year&gt; &lt;Name&gt;Unknown&lt;/Name&gt; &lt;Count&gt;1119&lt;/Count&gt; &lt;/Value&gt; &lt;Value&gt; &lt;Year&gt;2011&lt;/Year&gt; &lt;Name&gt;Opera&lt;/Name&gt; &lt;Count&gt;9&lt;/Count&gt; &lt;/Value&gt; &lt;Value&gt; &lt;Year&gt;2012&lt;/Year&gt; &lt;Name&gt;Firefox&lt;/Name&gt; &lt;Count&gt;3544&lt;/Count&gt; &lt;/Value&gt; ... &lt;/BrowserInformation&gt; </code></pre> <p>Column chart produced: <img src="https://i.stack.imgur.com/tSCpe.png" alt="enter image description here"></p> <p>Presently, there is a bar in the chart for each record in the XML file. I want to get an aggregated count for each browser (i.e. for Firefox it would be 4952 + 3544). The config options idProperty and groupers for data and store classes just seems to put the bars with the same name next to each other in the chart but doesn't seem to combine them. Assume the data in the file cannot change. How would I accomplish this? Is there a specific config property that I can set in the model, store, or chart? If so which? Or is there another way?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload