Pre loader

Candle width

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

0
0

Hi, I’m just getting started with my trial of SciChart, and so far I think it’s very nice. I’ve added a FastCandlestickRenderableSeries to the SciChartSurface, and it seems to be working as expected, but I’m wondering if there’s a way to change the width of each individual candle? I know the FastCandlestickRenderableSeries has a Width property, but changing its value seems to have no effect on anything. Just to clarify, I’m only trying to change the width of the individual candles, I’m not trying to fit more candles on the chart. Thanks!

Edit: I’ve also noticed in the code-behind that FastCandlestickRenderableSeries has a property called ‘ActualWidth’, and its value always seems to return as zero. I’m not sure if that means anything to anyone, but I thought I’d add that.

  • You must to post comments
0
0

Hello there,

Unfortunately, you cannot change a width of candles in series: it is calculated internally based on amount of points on screen. ActualWidth and Width properties which you have mentioned are just inherited from base class(Control), and they are ignored because all series are rendered as bitmaps.

Please, don’t hesitate to ask questions, we will be glad to help!

Best regards,
Yuriy

  • bobross778
    I see, thanks for the reply Yuriy.
  • You must to post comments
0
0

Yuriy,

I just figured I’d report back and say that I was able to get the candle widths set the way I want by adjusting the XAxis.VisibleRange, which worked the way you said it would. I just had to mess around with different visible ranges to get a feel for how the candles would resize. Thanks again!

  • Yuriy Zadereckiy
    You are welcome - feel free to ask! We will be glad to help you to get started with SciChart! Best regards, Yuriy
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies