Pre loader

Set Opacity of Candlestick Wicks

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


I use SciChart mostly for stock charts. My understanding is that the line color of a candlestick sets both the body outline and the wicks. Is there any way to set the opacity and line color of the wicks differently than the body outline?

In a stock chart with many points, the color of the wicks becomes the dominant color, and therefore when looking at a chart the curve of the wicks becomes the dominant curve. I would like to reduce the opacity of the wicks so that the curve of the candlestick bodies is the dominant curve when looking at the chart.


SciChart WPF v5.3
  • You must to post comments

Hi Andrew,
Thank you for your suggestion. I’ll give it a try.
Warm regards,

  • You must to post comments

Hi Steven,

Short answer is no, there isn’t a way to separately colour the wicks and the candle bodies in SciChart WPF’s Candlestick Chart, however, you could achieve this by overriding the FastCandlestickRenderableSeries type.

Since you have the source code, why not have a look at FastCandlestickRenderableSeries.InternalDraw and see how we draw this series type?

All the drawing occurs in about 100 lines of code here

private void DrawVanilla(IRenderContext2D renderContext, IRenderPassData renderPassData, 
     IStrokePaletteProvider strokePaletteProvider, IFillPaletteProvider fillPaletteProvider, 
     IPenManager penManager)
   // ... 

Take a look at that — I think you may be able to override in just a few places to get the desired behaviour?

Let me know if this helps,

Best regards,

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.