Jump to content
Software FX Community

Stacked columns


cowo
 Share

Recommended Posts

Hello,

 

I am using Chart FX Lite for ASP.NET and need help for the following issue.

 

On the x – Axis I have 12 months. For every month I have 4 values. I want to display value 1 and 2 in a stacked column and 3 and 4 in another stacked column.

 

I tried to separate them in different Y-Axis, but it doesn’t work.

 

 for (int i = 0; i < metaData.DataColumnCount; i++)

{

  if (i < 2)

  {

  chart.Series.YAxis = SoftwareFX.ChartFX.Lite.Internet.YAxis.Main;

  }

  else

  {

  chart.Series.YAxis = SoftwareFX.ChartFX.Lite.Internet.YAxis.Secondary;

  }

}

 

All 4 values are displayed in one stacked bar.

How can I separate my series with 4 values in 2 stacked columns?

 

Thanks for any reply.

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...