Jump to content
Software FX Community

Stacking on multiseries bar chart with secondary y axis


User (Legacy)

Recommended Posts

Posted

I have a multiseries chart with a secondary y axis where I want both series 

to be represented by bars where one series overlays the other. Something

like this (I did this in visual studio with the designer obviously):

However, when ever I try to accomplish this in my service code (which

exports the image using GetHtmlDataEx) by changing both series to bars they

present side by side. I tried setting the chart.stacked property to Normal

and the series attributes stacked properties to true, but to no avial, I

always end up with something crazy like the attached image. What do I need

to do with my multiseries chart to get something like the image above?

Posted

First of all it is not clear which picture refers to which chart.

Assuming CFT1130_0701163E7A9.png is what you want, this chart is not

stacked. It is Clustered (Cluster = true) and the Volume for the series on

front was set to a lower value than that of the series on the back. For

example:

chart1.Series[0].Volume = 25;

chart1.Series[1].Volume = 75;

--

FP

Software FX

Posted

Thats what I needed.  Thanks for the clairification.

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:pJp5EMI2EHA.1120@webserver3.softwarefx.com...

> First of all it is not clear which picture refers to which chart.

>

> Assuming CFT1130_0701163E7A9.png is what you want, this chart is not

> stacked. It is Clustered (Cluster = true) and the Volume for the series on

> front was set to a lower value than that of the series on the back. For

> example:

>

> chart1.Series[0].Volume = 25;

> chart1.Series[1].Volume = 75;

>

>

> --

> FP

> Software FX

>

Archived

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

×
×
  • Create New...