Bar's opacity

Charts for WPF Forum

Posted 5 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 5 years ago]

Comments (2)

Answer - Posted 5 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 5 years ago by adam
Avatar

Thank you for the reply.

The latest build of this product (v2019.1 build 0682) 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.