Jump to content
Software FX Community

Display two charts in one


User (Legacy)

Recommended Posts

Hi, I want to show two charts as one.

One chart is Bar and the other is Line, so I did but the first chart "hides"

the second one. In the enclosed chart you'll see that the bar chart "hides"

a part of the line chart, something my customer doesn't like. So how come I

do to give a some "transparent" looks to the bar chart or that the line

chart appears over the bar chart.

TIA

Attachments.zip

Link to comment
Share on other sites

Dear Emma,

I see two solutions:

1) make the series color more opaque like this:

chart1.Series[1].Color = Color.FromArgb(128, chart1.Series[1].Color);

2) Change the order of your data. We paint the series in the order they are

given to the chart. So, if the line is first it will get painted first. Thus

a bar after a line will hide it as you see. So, if you can, change the order

it would solve the problem. But this is not always possible.

As a conciliation, the new version of ChartFX handles this problem in a

variety of ways.

hope this helps.

-c

"Emma" <eluna@bitconsultingusa.net> wrote in message

news:4FtVplTxFHA.1764@webserver3.softwarefx.com...

> Hi, I want to show two charts as one.

>

> One chart is Bar and the other is Line, so I did but the first chart

> "hides" the second one. In the enclosed chart you'll see that the bar

> chart "hides" a part of the line chart, something my customer doesn't

> like. So how come I do to give a some "transparent" looks to the bar chart

> or that the line chart appears over the bar chart.

>

>

>

> TIA

>

>

>

>

>

>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...