Hi al,
With IGFinancialPriceSeries we use IGOHLCSeriesDataSourceHelper for data source. In al samples xAxis values are only labels.
We have 2 problems, one; we add more than one IGFinancialPriceSeries, for example at first series data values starts from 2013, but second series starts from 2010,
The other problem is we can't set min max values for xAxis.
How can we use IGCategoryDateTimeXAxis with IGFinancialPriceSeries.
thanks, sorry about bad english :D
Hi,
The bollinger band doesn't really work for Nans. Using Nans to show two financial series side by side is more of a workaround, so I wouldn't suggest using Nans further to add margin space. You can use clustering mode property of the x axis to avoid having first and last points getting half clipped.
Beyond that, I recommend waiting for the plotAreaMargin property to be fixed instead of using Nans as padding space. I'm attaching a small sample with two financial series and a bollinger band overlay. Hopefully, it's helpful.
i solved last candle stick visibility (margin) problem with
plotAreaRightMargin
property
Thank you. But if i add nan values to data arrays, and if i add IGBollingerBandOverlay series, it doest show proper. The first image is the data array with nan values, second one without nan values. How can i fix this. And i want to add a space after last point (candle stick) how can i do this, again with nan values. (fist image has nan values at the and, so we can see last candle stick, but second doesn't have nan values at the end of array, so we can't see the last candle stick completely.
The date time axis and financial series are currently incompatible, unfortunately. The date time axis is limited to non column-based category data, such as line/area/spline series. Financial series can only use IGCategoryXAxis, so it's not possible to set min and max dates on it. The only way to show multiple financial series with different start and end dates is to create a combined data set, padded with Nans for each of the series. Something like this:financial data, nan, nan, nan... //series1 datanan, nan, nan... financial data //series2 data
Does that make sense?