We just upgraded to the 12.1 version. Previously, the FinancialPriceSeries Resolution property controlled the width of the candlestick. Resolution could be set to 1 (narrow), 2 (medium) or 3 (wide).
In the 12.1 version, this no longer works. Is it a bug? Or, is there a new way to control candlestick width?
Hello jimrpredictive,
Due to some changes in our internal implementation we modified the default behavior of the control to make the candlesticks wider when the user zoom the chart. Before this was possible through the Resolution property. Based on this if you want to increase or decrease the width of the candles you can now horizontally zoom in and out the XamDataChart.
Please let me know if you have any additional questions on this.
Hi Elena,
Thanks for the quick response. We have no problem if the bar width adjusts for zoom, but it would be nice to disable that feature if possible. We're not sure why a wider bar is of any benefit.
Anyway, our problem is the intial width. On the a chart with no zooming yet done, the candlestick is now unacceptably wide. Before, we could simply set the Resolution to 1 or 2 to narrow this initial width.
How do we make the intial candlesticks narrower? Below is an example. The candlesticks consume almost the entire horizontal space of each day. In our opinion, this is both unnecessary and not graphically pleasing.
Jim
Gap does seem to work. Thanks.
After trying gap, I found that any value > 1 seems to behave as = 1. gap=1 narrows the bars by about 1/3. this is clealy better than gap=0, but we would like the option of making it more narrow, if possible. Overlap seemed to make no change.
I could find no explanation anywhere in the documentation about what gap/overlap does and how to use them. Can you point me to somewhere in the doc I missed?
Is there anyway to make the bar more narrow than gap=1?
Overlap will have an effect only if you have multiple series plotted on the same category axis, and controls how much the visual shape of a series will overlap the other series. Gap is currently clamped between 0 and 1 with 1 meaning that it takes half the space available.
It sounds like you need the Gap to be clamped higher so that you can decrease the width further. I'm not sure what the rationale was in clamping the value to 1, but it probably had to do with disallowing the creation of invalidly narrow shapes in a series.
If you can confirm that you need them to get skinnier than this, I'll log a bug report detailing that we should remove the restriction, and deal with the possible inavlidation of the rendering in another fashion.
-Graham
I, too, require 'thinner' bars per request of my client. Has there been any progress on this as a feature? I am in version 13.latest and it appears the values are still clamped from 0 to 1 unless I'm missing something that changed that allows me to set a different value.
Thanks,
R
Hello Rob,
Currently there isn't a Property for the Column's Width and the best approach seems to be the one Graham suggested, using the Gap Property. If you want I can log this as a Product Idea, because the new features are choosen based on the customers' feedback.
Looking forward for your reply.