Skip to main content

Posts

Showing posts with the label sencha

Ext JS 4.0 providing "unconventional” data to charts

I have a store which always contains a single record. Lets say the record looks like this: {'good': 5, 'bad': 2, 'neutral': 3} How would I render that as a Pie chart ? Ext.js normally uses each record in a store as one point of the series. In my case, I have only one record and want it to be used as three points in the series.