Hi,
When using the Candle (OHLC) the x axis seems to move a tiny bit (some white space at the begin and end of the graph). This problem doesn't seem to happen when setting:
Chart.Axes.Bottom.Automatic = false;
or when using:
Chart.Axes.Bottom.SetMinMax(chart.Chart.Axes.Bottom.Minimum, chart.Chart.Axes.Bottom.Maximum);
Is this a known error or am i doing something wrong that cause this problem?
This error occurs both when making an empty candle or one with values and add it to the current chart (with other series which are not candles).
Some code i tried:
Plain candle without data:
Steema.TeeChart.Styles.Candle candle1 = new Steema.TeeChart.Styles.Candle();
chart.Series.Add(candle1);
After this a white space (margin) occurs at begin and end.
Steema.TeeChart.Styles.Candle candle1 = new Steema.TeeChart.Styles.Candle();
candle1.Add(series.XValues[100], 50, 90, 40, 70);
chart.Series.Add(candle1);
Same happens.
Candle (OHLC) axis problem
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi SPS,
You can try using this:
If this doesn't help please send us a simple example project we can run "as-is" to reproduce the problem here and an image indicating which the problem is.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
You can try using this:
Code: Select all
candle1.Pointer.InflateMargins = false;
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |