Skip to main content

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.


Comments

  1. Split it into three records. You can create your own instances of Record and fill them with data using your original record as source.

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?