Hello,
I am looking for component to draw stock chart. I saw your demo and have a few questions:
1. In MS Chart I can use the data point index in the series collection to position candles along the axis X to remove gaps between candles and have DateTime labels on axis X.
For example my code is:
series1.XValueType =
series1.YValuesPerPoint = 4;
series1.XValueIndexed =
Do you have similar option in Nevron Charts?
2. When I used zoom/scroll in your demo the most right candle always appeared with only half of its width. Can I add some space between most right candle and chart border so that this candle could be drawn completly on chart?
3. Do you have an option to have variable width of candles depending on amount of candles on chart and chart width? In the demo Candles and volume bars are overlaping each other.
Hi Roman,
Regarding question 1 - In our control you can simply tell the series to use the X values:
someSeries.UseXValues = true;and then feed X coordinated in date time or other number: someSeries.XValues.Add(DateTime.Now.ToOADate());If you use date time you should also switch the axis scale to date/time (in order to get some meaningful scale). For exemple check out the All Examples\Axes\Scaling\Date Time Scale
Regarding questions 2 and 3 - can you please point out which examples are you refering to?
Regarding question 3 - with the CandleWidth property you can set the candle width relatively to the chart size or in absolute units like points or pixels. Currently the candle width cannot be set dynamically based on the amount of visible candles.
Best Regards,Nevron Support Team