The following is my configuration for the stock series.
_stockSeries.CandleStyle = CandleStyle.Bar;
_stockSeries.DataLabelStyle.Visible = false;
_stockSeries.UpStrokeStyle.Width = new NLength(1, NGraphicsUnit.Point);
_stockSeries.UpStrokeStyle.Color = Color.Black;
_stockSeries.DownStrokeStyle.Width = new NLength(1, NGraphicsUnit.Point);
_stockSeries.DownStrokeStyle.Color = Color.Crimson;
_stockSeries.CandleWidth = new NLength(2, NGraphicsUnit.Point);
_stockSeries.UseXValues = true;
_stockSeries.InflateMargins = false;
I am wondering is it possible to make the CandleWidth changable automatically with respect to the space between two adjacent bars.
The Chart1.png in the attachments is a nice chart. But if I zoom in, as shown in Chart2.png, or zoom out, as shown in Chart3.png, the width of the bar stays the same( == 2 NGraphicsUnit.Points). Is it possible to make the candle width equal to, let's say, 1/4 of the space between adjacent bars.
Please tell me if I don't make myself clear.
Thank you very much.