PDA

View Full Version : [OPEN] 148113-Category-Axis-not-redrawn-when-underlying-store-has-getCount()-1



pcr
8 Jan 2012, 2:00 AM
Seems the 'touch chart' forum is not watched by Sencha. So I report this bug in the Sencha Touch bug forum.


http://www.sencha.com/forum/showthread.php?148113-Category-Axis-not-redrawn-when-underlying-store-has-getCount()-1&highlight=getCount()


You can reproduce this bug by changing index.js for examples/bar or examples column.






//change
window.store1 = new Ext.data.JsonStore({
fields: ['name', 'data1', 'data2', 'data3', 'data4', 'data5', 'data6', 'data7', 'data9', 'data9'],
data: generateData(5, 20)
});
// into
window.store1 = new Ext.data.JsonStore({
fields: ['name', 'data1', 'data2', 'data3', 'data4', 'data5', 'data6', 'data7', 'data9', 'data9'],
// generate just one record in store for refresh
data: generateData(1, 20)
});



I tried to debug 'touch charts' code. So far I put in some console.log to look what is happening inside. What I saw is indeed if only one record in store then the the label is recognized but never draw. Maybe it's a small problem in a loop somewhere I cant find.


Please, is there somebody who can look after this.

mitchellsimoens
9 Jan 2012, 7:44 AM
Thank you for the report.

pcr
12 Jan 2012, 6:10 AM
Hi Mitchell

Thank you for your reply. What is the state of the bug report. Can we expect a solution soon?
Did we provide enough information to reproduce the bug?

I hope the Sencha Touch team is working hard on this..

thanks