PDA

View Full Version : [INFOREQ] Chart not well displayed with a filtered store



medley
27 Oct 2011, 4:59 AM
Charts not well displayed with a filtered store REQUIRED INFORMATION


Ext version tested:

Ext 4.0.7

Browser versions tested against:

Firefox 7, IE 8

Description:

When a store is filtered, the chart displays also non-filtered datas.

Steps to reproduce the problem:

Apply a filter to a store, load the records and display the chart.

The result that was expected:


Only the filtered datas should be visible

The result that occurs instead:


Non-filtered datas also appears in the chart

Test Case:


Possible fix:

not provided

Additional CSS used:

only default ext-all.css

Operating System:


Windows XP

Scott Murawski
30 Jan 2012, 11:50 AM
I have an example of the problem with a filtered store and a chart at:
http://theedgehalfmoon.com/topout_or_tapout_comp_2012_28_01.html

Also there's some other bugs too, in Chrome and IE, the page jumps when you click a row on the men's grid. In Firefox the page doesn't jump. The code is all really simple and straight up too.

Thanks

evant
2 Feb 2012, 1:56 PM
Are you saying that you're applying the filter, then adding the records to the store?

Scott Murawski
2 Feb 2012, 2:17 PM
In the example in my previous post, if you go to the women's grid and then do a points column filter < 1000, you'll see there's extra labels on the right side of the chart "700 430 350". The labels don't seem to get cleared out properly. After you do the filter, I'm not adding any further records. The records are all statically defined in the JS and the coding is all straight up, I don't have any extensions or overrides or anything. The only thing I have is some renderers for the labels. All the js files are being loaded from http://cdn.sencha.io (http://cdn.sencha.io/ext-4.0.7-gpl/resources/css/ext-all.css)