Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Issue with date axis labels after updating to service release 1
posted

I updated to the latest service release from August 2013, but unfortunately my date labels have now broken. They previously were formatted as "7/07" and "6/26" (month and date only), but now appear as very long and unreadable strings. Attached is a screenshot of how they appear now, and you can see how they were working with the previous release here:

http://linedietapp.com/assets/img/screenshot1.jpg

Unfortunately I also overwrote my previous copies of the IG.dll and IGChart.dll - can you please tell me where I can get a previous release to get unblocked?

Here is the code for setting up my two charts (one for the bars, one for the line overlay):

            IGChartView _chart = new IGChartView(shiftedRect);
            // _chart.RenderingQuality = IGRenderingQuality.IGRenderingQualityHigh;
            _chart.Theme = ChartThemeHelper.GetCustomChartTheme();
            _chart.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
            _chart.BackgroundColor = UIColor.Clear;
            _chart.Delegate = new ChartViewDelegate();

            _xAxis = new IGCategoryDateTimeXAxis("xAxis");
            _xAxis.DisplayType = IGTimeAxisDisplayType.IGTimeAxisDisplayTypeContinuous;
            _xAxis.Gap = 0.48f;
            _xAxis.Minimum = DateHelpers.DateTimeToNSDate(dateRangeStart); // new DateTime(2013, 6, 1));
            _xAxis.Maximum = DateHelpers.DateTimeToNSDate(dateRangeEnd); // new DateTime(2013, 6, 30));

========

                    var xAxis = new IGCategoryDateTimeXAxis("xAxis2");
                    xAxis.DisplayType = IGTimeAxisDisplayType.IGTimeAxisDisplayTypeContinuous;
                    xAxis.Interval = (dateRangeEnd - dateRangeStart).TotalSeconds;
                    xAxis.Minimum = DateHelpers.DateTimeToNSDate(dateRangeStart);
                    xAxis.Maximum = DateHelpers.DateTimeToNSDate(dateRangeEnd);

Thanks for your help!

-roger

Parents
No Data
Reply Children