Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9536 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    May 2009
    Posts
    151
    Vote Rating
    9
    ZachG will become famous soon enough

      2  

    Default [4.1.0] Stacked Column Chart with Missing Y Value has Incorrect Maximum

    [4.1.0] Stacked Column Chart with Missing Y Value has Incorrect Maximum


    REQUIRED INFORMATION
    Ext version tested:
    • ExtJS 4.1.0
    Browser versions tested against:
    • Chrome
    Description:
    • I have a stacked column chart whose data can have a y value of the empty string.
    • In 4.0.7, these were interpreted by the chart as 0, and not displayed.
    • In 4.1.0, these are not displayed but increase the maximum of the y axis substantially.
    Steps to reproduce the problem:
    • Run the code below in 4.0.7 and 4.1.0.
    The result that was expected:
    • It to look like 4.0.7.
    The result that occurs instead:
    • Nope
    Test Case:
    Code:
    Ext.create("Ext.window.Window", {
    	width:500,
    	height:500,
    	layout:"fit",
    	items:[
    		{
    			xtype:"chart",
    			store:{
    				proxy:{
    					type:"memory",
    					reader:{
    						type:"json"
    					}
    				},
    				model:Ext.define("MyModel", {
    					extend:"Ext.data.Model",
    					fields:[
    						"month",
    						"count_a",
    						"count_b",
    						"count_c"
    					]
    				}),
    				data:[
    					{
    						month:"January",
    						count_a:"",
    						count_b:40,
    						count_c:60
    					},
    					{
    						month:"February",
    						count_a:40,
    						count_b:10,
    						count_c:10
    					},
    					{
    						month:"March",
    						count_a:25,
    						count_b:41,
    						count_c:80
    					},
    					{
    						month:"April",
    						count_a:1,
    						count_b:12,
    						count_c:80
    					}
    				]
    			},
    			axes:[
    				{
    					type:"Numeric",
    					position:"left",
    					fields:["count_a", "count_b", "count_c"],
    					grid:true,
    					minimum:0
    				},
    				{
    					type:"Category",
    					position:"bottom",
    					fields:["month"]
    				}
    			],
    			series:[
    				{
    					type:"column",
    					axis:"left",
    					stacked:true,
    					xField:"month",
    					yField:["count_a", "count_b", "count_c"]
    				}
    			]
    		}
    	]
    }).show();

  2. #2
    Sencha Premium Member
    Join Date
    May 2009
    Posts
    151
    Vote Rating
    9
    ZachG will become famous soon enough

      2  

    Default


    If my count_a, count_b, and count_c fields are defined in the model with type:"int", the issue does not happen anymore. Note that the January ​count_a is the one with the empty string.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    0
    markddavidoff is on a distinguished road

      0  

    Default THANK YOU!

    THANK YOU!


    This fixed it ! Thank you sooooooo much!

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    50
    Vote Rating
    2
    pierresas is on a distinguished road

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar