SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

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
    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.