-
6 Sep 2012 4:40 AM #1
Wrong calculation of step in Ext.draw.Draw
Wrong calculation of step in Ext.draw.Draw
REQUIRED INFORMATION
Ext version tested:- Ext 4.1
- Chrome 21.0.1180.79 m (Windows)
- IE8
- Wrong calculation of Case of day in snapEndsByDateAndStep in Ext.draw.Draw
- Create a chart with step Day and a value greater than 1
- An error occured and the chart does not load correctly with step greater than 1
Test Case:
The situation now
Code:Currently is: parentheses missing:
Code:new Date(fromStat[0], fromStat[1], Math.floor(fromStat[2] - 1 / step[1]) * step[1] + 1, 0, 0, 0, 0); Should be: new Date(fromStat[0], fromStat[1], Math.floor((fromStat[2] - 1) / step[1]) * step[1] + 1, 0, 0, 0, 0);
HELPFUL INFORMATION
Debugging already done:- This function should be corrected
- override this method?
-
19 Sep 2012 11:19 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
This has been fixed in 4.1.2
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-7186
in
4.1.2.


Reply With Quote