Friday, April 2, 2010

column chart variable column width in a...

Hi All

I am having an array as dataProvider for my column chart where some values are null. Is there any way through which i can define my null values as 0 column width or remove columns from series. sample array as follows -

%26lt;arr X=''something'' S0Y0=''5'' S0Y1=''3'' S1Y0=''2'' /%26gt;

%26lt;arr X=''something'' S0Y0=''3'' S0Y1='''' S1Y0=''7'' /%26gt;

%26lt;arr X=''something'' S0Y0=''5'' S0Y1=''5'' S1Y0='''' /%26gt;

%26lt;arr X=''something'' S0Y0='''' S0Y1=''3'' S1Y0='''' /%26gt;

%26lt;arr X=''something'' S0Y0=''7'' S0Y1=''4'' S1Y0=''6'' /%26gt;

Null values create a hole in column series so all i need to remove the gap in my series.

any help is highly needed.

thanks and regards,

Varun Bajaj

column chart variable column width in a...

Hi,

the easiest way is to remove this data from dataProvider. (If any any attribute is empty)

column chart variable column width in a...

Hi Natasha

Thanks for your reply but I can't remove null values for 2 reasons -

1) Whole series values are not null, Only some values in column are null.

2) Values are generated by certain selection of user so at runtime you can't

predict which values will be null.

Warm regards,

Varun Bajaj

No comments:

Post a Comment