Bar's opacity

Charts for WPF Forum

Posted 8 years ago by adam
Version: 14.1.0601



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?




[Modified 8 years ago]

Comments (2)

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


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 8 years ago by adam

Thank you for the reply.

The latest build of this product (v22.1.4) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.