I've got a candlestick chart showing prices with two series representing price and volume. This all works fine and displays as follows.
The point width for these candles is set using _stockSeries["PointWidth"] = "0.6";
I then add a new series to the same chart area indicating points on the chart and the candle width changes to become very thin. I then have to set the PointWidth to ~15000 to get the candles a reasonable width. This number seems to bear no relation to anything on the chart as far as I can tell and is a lot larger than the original 0.6. Can anyone explain what's going on here?
The code used for adding the points is
var genericPoints = new Series(name);
if (style != MarkerStyle.None)
genericPoints.MarkerStyle = style;
genericPoints.ChartType = SeriesChartType.FastPoint;
foreach (var price in points)
genericPoints.Points.AddXY(price.TimeStamp, price.Value);
_chart.Series.Add(genericPoints);


PixelPointWidth, then the candles are not affected by adding another series. - Will Calderwood1. You may also want to try thePixelPointWidthcust.property instead, see here. Your x-values look, um a bit large. Sure they are correct? - TaWPixelPointWidthworks fine. (I mentioned that above). Do you know how I can get the width of the chart area? There'sChartArea.Position, but the width of that is zero, I assume because it's set to auto size. I'll try to create an SSCCE. The X values are ms epoch times - they are correct, just not elegant yet. It's a work in progress. :-) - Will Calderwood