ChartSeries CustomModel (3 points fail)

If in your sample about chart series we display only 3 points, the resulting picture is wrong (See attach) // Samples\2.0\Chart Series\CustomModel\CSCustomModel.aspx.cs ... protected void InitializeChartData() { ChartSeries series = this.ChartWebControl1.Model.NewSeries("Simple Series"); // 3 POINTS series.SeriesIndexedModelImpl = new ArrayModel(new double[] { 122, 150, 332 }); ... this.ChartWebControl1.PrimaryYAxis.LabelsImpl = new LabelModel(new string[] { "Mercdes", "BMW", "Jaguar" }); this.ChartWebControl1.PrimaryYAxis.ValueType = ChartValueType.Custom;

Chart CustomModelSample.zip

2 Replies

AD Administrator Syncfusion Team April 5, 2006 03:59 AM UTC

Hi Riccardo Tarli, This is not an Issue. Please set the Indexed property into true in your sample. The following code snippet illustrates this: this.ChartWebControl1.Indexed=true; I attached the screen shot. Please let me know if this helps you. Thanks for your interest in Syncfusion products. Regards, F.Rashidha

ChartCustomModelSample.zip


RT Riccardo Tarli April 5, 2006 08:37 AM UTC

It works, thanks a lot. Riccardo

Loader.
Up arrow icon