Bar's opacity

Charts for WPF Forum

Posted 10 years ago by adam
Version: 14.1.0601
Avatar

Hi,

 

In my scenario, I'd like to display mixed types of Series (LineSeries, BarSeries, etc.) on a single chart (XYChart).

Is possible to manually change each bar's opacity in order to get lines more visible?

 

Cheers,

Adam

[Modified 10 years ago]

Comments (2)

Answer - Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Yes, if you look at the last part of the Area Chart Type sample, you can see where we manually set a Shape style with semi-transparent fill to the two areas.  You could do a similar thing to whichever series you add to the chart, and yes, multiple kinds of series can be added to a chart.

You also could do something like in our PaletteCustomColors QuickStart where you specify exact colors to use for the style selector.  You would specify semi-transparent colors instead of opaque ones.  That might be a cleaner solution.


Actipro Software Support

Posted 10 years ago by adam
Avatar

Thank you for the reply.

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.