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.
- bobross778 asked 11 years ago
- You must login to post comments
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
- Yuriy Zadereckiy answered 11 years ago
-
I see, thanks for the reply Yuriy.
- You must login to post comments
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!
- bobross778 answered 11 years ago
-
You are welcome - feel free to ask! We will be glad to help you to get started with SciChart! Best regards, Yuriy
- You must login to post comments
Please login first to submit.