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.
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.
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.
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.
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.
Add Scatter Line Series Support to RadChartView
HeightAspectRatio affects the height of BarSeries even when the area has a horizontal orientation
If one sets the LabelsOffsetFromCenter property to any value there will be no change in the series labels on the chart.
RadChartView cannot read data from integer columns of a DataTable
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(); } } }
The last one or two characters of axis titles are cut off.
IMPROVE. RadChartView - one should be able to access the tooltip instance in order to customize it (change font, delay, etc)
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 €).
Zooming out of RadChartView affects the vertical axis labels
FIX. RadChartView - the Arctic palette menu item appears twice in the context menu
A localization provider should be created in order to allow customization of the strings (context menu, etc)