Jump to content
Software FX Community

Stacked columns


cowo

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...