We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ChartSeries CustomModel (3 points fail)

Thread ID:





42694 Apr 4,2006 12:35 PM Apr 5,2006 04:37 AM ASP.NET Web Forms (Classic) 2
Tags: Chart
Riccardo Tarli
Asked On April 4, 2006 12:35 PM

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

Administrator [Syncfusion]
Replied On April 4, 2006 11:59 PM

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


Riccardo Tarli
Replied On April 5, 2006 04:37 AM

It works, thanks a lot. Riccardo


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.