Jump to content
Software FX Community

Stacking by default - unexpected.


User (Legacy)
 Share

Recommended Posts

I am generating a 2d bar chart on the fly and it is stacking by default...

ie. I am giving it a 5-column dataset. It is getting translated as 1-title

column and 4 series which is all good.

eg.

periodname revenue cos a'cs rec debt tax

2001 300 30 50 40 45

2002 300 30 50 40 45

2003 300 30 50 40 45

I set the chart gallery to BAR - but for som reason it is displaying this as

a stacked bar chart. I've even tried explicitly turning off stacking - but

it seems to have no effect (Chart1.Stacked = Stacked.No).

Any ideas?

Thanks,

Dan.

Link to comment
Share on other sites

Actually - I'm slightly confused. It's not displaying as "stacked". Whats

actually happening is that for each period - the bars are all in front or

behind each other - not side by side - (I can see this using the transparent

property). So for example - the table below should have periods along the

x-axis (its doing this OK) and then 5 bars (side-by-side) above each period.

Why is it putting the bars all in front/behind one another?

"Dan Walls" <wallsy@hotmail.com> wrote in message

news:Aoah4uMbEHA.3080@webserver3.softwarefx.com...

> I am generating a 2d bar chart on the fly and it is stacking by default...

> ie. I am giving it a 5-column dataset. It is getting translated as 1-title

> column and 4 series which is all good.

> eg.

>

> periodname revenue cos a'cs rec debt tax

> 2001 300 30 50 40 45

> 2002 300 30 50 40 45

> 2003 300 30 50 40 45

>

> I set the chart gallery to BAR - but for som reason it is displaying this

as

> a stacked bar chart. I've even tried explicitly turning off stacking - but

> it seems to have no effect (Chart1.Stacked = Stacked.No).

>

> Any ideas?

>

> Thanks,

> Dan.

>

>

Link to comment
Share on other sites

Don't worry - I've found the cluster property.

dan

"Dan Walls" <wallsy@hotmail.com> wrote in message

news:Aoah4uMbEHA.3080@webserver3.softwarefx.com...

> I am generating a 2d bar chart on the fly and it is stacking by default...

> ie. I am giving it a 5-column dataset. It is getting translated as 1-title

> column and 4 series which is all good.

> eg.

>

> periodname revenue cos a'cs rec debt tax

> 2001 300 30 50 40 45

> 2002 300 30 50 40 45

> 2003 300 30 50 40 45

>

> I set the chart gallery to BAR - but for som reason it is displaying this

as

> a stacked bar chart. I've even tried explicitly turning off stacking - but

> it seems to have no effect (Chart1.Stacked = Stacked.No).

>

> Any ideas?

>

> Thanks,

> Dan.

>

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...