Internal Build 2010_1_0319

2 posts, 0 answers
  1. Ramin Aminloo
    Ramin Aminloo avatar
    35 posts
    Member since:
    Dec 2009

    Posted 24 Mar 2010 Link to this post

    Posted 1 day ago (permalink)

    Due to grouping error on Grid control I was told to use the latest internal build. The grouping is fixed but now our chart is broken.

    ObservableCollection<PHIMonth> items = e.Result as ObservableCollection<PHIMonth>;

                radChart.DefaultView.ChartTitle.Visibility = Visibility.Collapsed;

                //radChart.DefaultView.ChartLegend.Header = "Legend";
                radChart.DefaultView.ChartLegend.Visibility = Visibility.Collapsed;

                radChart.DefaultView.ChartLegend.UseAutoGeneratedItems = false;
                //Axis X
                radChart.DefaultView.ChartArea.AxisX.Title = "Month";

                radChart.DefaultView.ChartArea.AxisX.Visibility = Visibility.Collapsed;
                radChart.DefaultView.ChartArea.AxisX.AutoRange = false;
                radChart.DefaultView.ChartArea.AxisX.MinValue = 1;
                radChart.DefaultView.ChartArea.AxisX.MaxValue = 12;
                radChart.DefaultView.ChartArea.AxisX.Step = 1;
                radChart.DefaultView.ChartArea.AxisX.LayoutMode = AxisLayoutMode.Between;
                //Axis Y
                radChart.DefaultView.ChartArea.AxisY.Visibility = Visibility.Collapsed;

                radChart.DefaultView.ChartArea.NoDataString = string.Empty;

                DataSeries series = new DataSeries();
                series.Definition = new LineSeriesDefinition();
                //series.LegendLabel = "Product Sales";
                LineSeriesDefinition l = new LineSeriesDefinition();
                l.ShowItemToolTips = true;
                l.Appearance.PointMark.Stroke = new SolidColorBrush(Colors.Black);
                l.Appearance.PointMark.StrokeThickness = 1;

                series.Definition = l;

                foreach (PHIMonth item in items)
                    DataPoint dp = new DataPoint();
                    dp.IsDateTime = true;
                    dp.Tooltip = "{y}";
                    dp.YValue = item.Total;

                    dp.Tooltip = item.Month.ToString() + " " + item.Year.ToString();

                    radChart.DefaultView.ChartTitle.Visibility = Visibility.Collapsed;


  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 25 Mar 2010 Link to this post

    Hi Martin,

    Thank you for elaborating on this.

    Indeed we were able to reproduce the problematic behavior in our local tests now and we have forwarded it to our developers for further review. We will do our best to address this issue for the next weekly internal build (scheduled for tomorrow) -- for the time being as a workaround we would suggest you to set the AxisX.Visibility to "Visible".

    Sorry for the temporary inconvenience.

    Sincerely yours,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top