The last Candlestick at the first Pic was shown only a Half Bar?
but The last Candlestick at the second Pic was shown as a Full Bar?
How can i set StockChart to show a full bar for the last one.
- fxchenlin asked 9 years ago
- You must login to post comments
Hi there,
Our candlesticks are centred on data-points, so the last bar will always be split I’m afraid (we have no knowledge of width of bar before drawing).
I would suggest adding a small GrowBy to your CategoryDateTimeAxis. For instance:
<s:CategoryDateTimeAxis GrowBy="0,0.02"/>
This will ensure there is always a 2% padding to the right of the last bar. You can experiment with the value to get the desired effect.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 9 years ago
- You must login to post comments
the first Pic was captrued on the offline demo, the second Pic was captrued on your online demo. what’s the difference? both of them are Zoom In to a part of the series.
- fxchenlin answered 9 years ago
- last edited 9 years ago
-
Hi there, the difference is in the version of the SciChart dll used. Online demo uses v3.2, where this issue is fixed. Also, may I remind you that this forums use the question-answers format (like StackOverflow), so please leave a comment or update your original post for clarifying the request. Thanks!
- You must login to post comments
Please login first to submit.