Completed
Last Updated: 10 Sep 2013 01:39 by ADMIN
ADMIN
Created by: Georgi I. Georgiev
Comments: 0
Category: ChartView
Type: Bug Report
0
To reproduce:
this.chart.Controllers.Add(new ChartTrackballController());
this.chart.Dock = DockStyle.Fill;
this.chart.AreaType = ChartAreaType.Cartesian;
LineSeries lineSeries1 = new LineSeries();
lineSeries1.Name = "Line 1";

lineSeries1.DataPoints.Add(new CategoricalDataPoint(10, "1"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(4, "2"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(23, "3"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(11, "4"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(15, "5"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(10, "6"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(4, "7"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(7, "8"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(11, "9"));
lineSeries1.DataPoints.Add(new CategoricalDataPoint(15, "10"));
this.chart.Series.Add(lineSeries1);

LineSeries lineSeries2 = new LineSeries();
lineSeries2.Name = "Line 2";

lineSeries2.DataPoints.Add(new CategoricalDataPoint(6, "1"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(20, "2"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(7, "3"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(8, "4"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(4, "5"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(10, "6"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(24, "7"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(17, "8"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(18, "9"));
lineSeries2.DataPoints.Add(new CategoricalDataPoint(43, "10"));
this.chart.Series.Add(lineSeries2);
this.chart.ShowTrackBall = true;

For workaround, use this class:
public class MyTrackBallController : ChartTrackballController
{
    protected override string GetTrackballText(List<DataPointInfo> points)
    {
        StringBuilder result = new StringBuilder("<html>");

        SortedDictionary<Telerik.WinControls.UI.ChartSeries, List<DataPoint>> visiblePoints 
            = new SortedDictionary<Telerik.WinControls.UI.ChartSeries, List<DataPoint>>(new ChartSeriesComparer());
        
        foreach (DataPointInfo pointInfo in points)
        {
            if (visiblePoints.ContainsKey(pointInfo.Series))
            {
                visiblePoints[pointInfo.Series].Add(pointInfo.DataPoint);
            }
            else
            {
                visiblePoints.Add(pointInfo.Series, new List<DataPoint>() { pointInfo.DataPoint });
            }
        }
        
        int counter = 0;
        foreach (Telerik.WinControls.UI.ChartSeries series in visiblePoints.Keys)
        {
            for (int i = 0; i < visiblePoints[series].Count; i++)
            {
                Color pointColor = this.GetColorForDataPoint(series, visiblePoints[series][i]);
                string color = string.Format("{0},{1},{2},{3}", pointColor.A, pointColor.R, pointColor.G, pointColor.B);
                result.AppendFormat("<color={0}>{1}", color, this.GetPointText(visiblePoints[series][i]));
        
                if (i < visiblePoints[series].Count)
                {
                    result.Append(" ");
                }
            }
        
            counter++;
        
            if (counter < visiblePoints.Keys.Count)
            {
                result.Append("\n");
            }
        }
        
        result.Append("</html>");
        
        return result.ToString();
    }

    class ChartSeriesComparer : IComparer<Telerik.WinControls.UI.ChartSeries>
    {
        public int Compare(Telerik.WinControls.UI.ChartSeries x, Telerik.WinControls.UI.ChartSeries y)
        {
            if (!(x is IndicatorBase) && y is IndicatorBase)
            {
                return -1;
            }
            else if (x is IndicatorBase && !(y is IndicatorBase))
            {
                return 1;
            }

            if (x.Equals(y))
            {
                return 0;
            }

            return 1;
        }
    }

}
Completed
Last Updated: 30 Aug 2013 12:22 by ADMIN
Add method to zoom by specified parameters
Completed
Last Updated: 18 Jul 2013 08:29 by ADMIN
To reproduce: 
AddChartView();
            radChartView1.ShowGrid = true;

            CartesianGrid grid = ((CartesianGrid)radChartView1.GetArea<CartesianArea>().Grid);
            grid.DrawVerticalFills = true;
            grid.AlternatingHorizontalColor = false;
            grid.AlternatingVerticalColor = false;
            grid.BackColor = Color.Red;
            grid.ForeColor = Color.Blue;
            grid.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
Completed
Last Updated: 26 Apr 2013 08:27 by ADMIN
Steps to reproduce:
1. Add a chart to a form.
2. Add any cartesian series
3. Set the LabelFitMode of the horizontal axis to Rotate.

You will see that labels have incorrect layout.
Completed
Last Updated: 18 Apr 2013 11:17 by ADMIN
Steps to reproduce:
1. Create an instance of any chart series
2. Set the Palette property to a new/existing PaletteEntry instance with any colors 

Run the project and you will see an exception.
Completed
Last Updated: 12 Mar 2013 04:18 by ADMIN
ADMIN
Created by: Ivan Petrov
Comments: 0
Category: ChartView
Type: Bug Report
1
If one sets the LabelFormat property of LinearAxis it will not be respected in most cases.
Steps to reproduce:
1. Add a LineSeries to a chart
2. Set the VerticalAxis.LabelFormat to "{0:F2}"
3. Run the project
You will see that the labels are not formatted.
Completed
Last Updated: 28 Feb 2013 03:24 by ADMIN
If one removes the trackball controller while the trackball info element is visible it will remain on the chart.
Steps to reproduce:
1. Add a chart to a form
2. Add series and data points 
3. Subscribe for the chart MouseClick event 
4. In the event handler change the value of the chart ShowTrackball property (from false to true or vice versa)
Start the project and click several times on the chart. You will see that trackball info elements will remain on the chart.
Completed
Last Updated: 27 Feb 2013 07:48 by ADMIN
Steps to reproduce:
1. Add a chart to a form
2. Add a PanZoomController with ChartPanZoomMode set to Both
3. Add a series with some data
4. Set the LabelFitMode of the horizontal axis to Rotate
5. Run the project and zoom in on the chart and then pan.
You will see that when you pan vertically the labels of the horizontal axis will move in the wrong direction.
Completed
Last Updated: 29 Jan 2013 01:17 by ADMIN
Steps to reproduce:
1. Set up a pie chart with several segments
2. Set ShowTrackBall property to true
3. Run the project and hover a segment An ArgumentOutOfRange exception will be thrown.
Completed
Last Updated: 04 Dec 2012 03:40 by ADMIN
HeightAspectRatio affects the height of BarSeries even when the area has a horizontal orientation
Completed
Last Updated: 02 Nov 2012 04:08 by ADMIN
If one sets the LabelsOffsetFromCenter property to any value there will be no change in the series labels on the chart.
Completed
Last Updated: 10 Oct 2012 03:58 by ADMIN
RadChartView cannot read data from integer columns of a DataTable
Completed
Last Updated: 21 Sep 2012 02:33 by ADMIN
To reproduce:
DataTable table = new DataTable();
table.Columns.Add("CategoryName");
table.Columns.Add("Sales");
table.Rows.Add("Beverages", 102074.31);
table.Rows.Add("Condiments", 55277.6);
table.Rows.Add("Confections", 80894.14);
table.Rows.Add("Diary Products", 114749.78);
table.Rows.Add("Grains/Cereals", 55948.82);
table.Rows.Add("Meat/Poultry", 81338.06);
table.Rows.Add("Produce", 53019.98);
table.Rows.Add("Seafood", 65544.18);
var result = table.AsEnumerable().Take(5);
this.radChartView1.AreaType = ChartAreaType.Pie;
PieSeries series = new PieSeries();
radChartView1.Series.Add(series);
series.ShowLabels = true;
series.ValueMember = "Sales";
series.DisplayMember = "CategoryName";
series.DataSource = result.ToList();
The last row will produce invalid binding. Here is a valid binding in this scenario:
using System;
using System.Data;
using System.Linq;
using System.Windows.Forms;
using Telerik.WinControls.UI;
namespace Lab.Chart
{
public partial class ChartBindToEnumerableForm : Form
{
private RadChartView chartView = new RadChartView();
public ChartBindToEnumerableForm()
{
InitializeComponent();
chartView.Dock = DockStyle.Fill;
chartView.Parent = this;
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
DataTable table = new DataTable();
table.Columns.Add("CategoryName");
table.Columns.Add("Sales");
table.Rows.Add("Beverages", 5);
table.Rows.Add("Condiments", 5);
table.Rows.Add("Confections", 4);
table.Rows.Add("Diary Products", 4);
table.Rows.Add("Grains/Cereals", 23);
table.Rows.Add("Meat/Poultry", 2);
table.Rows.Add("Produce", 1);
table.Rows.Add("Seafood", 3);
var result = table.AsEnumerable().Take(5);
chartView.AreaType = ChartAreaType.Cartesian;
BarSeries series = new BarSeries();
chartView.Series.Add(series);
series.ShowLabels = true;
series.ValueMember = "Sales";
series.CategoryMember = series.DisplayMember = "CategoryName";
//series.DataSource = result.ToList(); WRONG WAY!!!, produce list of DataRows, which related to DataTable, DataView implementation of custom PropertyDescriptoCollection will generated errors and invalid binding for all list binding controls: grid, list, combo, chart, listview
series.DataSource = result.CopyToDataTable();
}
}
}
Completed
Last Updated: 10 Sep 2012 02:03 by ADMIN
ADMIN
Created by: Boryana
Comments: 0
Category: ChartView
Type: Bug Report
0
The last one or two characters of axis titles are cut off.
Completed
Last Updated: 24 Aug 2012 03:00 by ADMIN
ADMIN
Created by: Julian Benkov
Comments: 0
Category: ChartView
Type: Bug Report
0
Now I got stuck when trying to give the Y-values displayed in the Chart another format (currency):
I`m setting LineSeries instance properties "DisplayMember" without achieving an effect i.e. the values are displayed the same way as if DisplayMember  was not set (f.e. 4995148.92 instead of 4.995.148.92 €).
Completed
Last Updated: 20 Aug 2012 03:49 by ADMIN
Zooming out of RadChartView affects the vertical axis labels
Completed
Last Updated: 24 Jul 2012 03:45 by ADMIN
FIX. RadChartView - the Arctic palette menu item appears twice in the context menu
2 3 4 5 6 7