Is it possible to achieve this kind of column chart ? Note that the District 1 users are different from District 2 users. Also the number of users in District 1 can differ in District 2. In my example District 1 has 3 users and District 2 has 2 users. I am using NetAdvantage for .NET 2007 Vol.3. My client needs this requirement ASAP.
Try using the following code:
NumericSeries series = new NumericSeries();
series.Label = "District 1";
series.Points.Add(new NumericDataPoint(65, "User A", false));
series.Points.Add(new NumericDataPoint(85, "User B", false));
series.Points.Add(new NumericDataPoint(75, "User C", false));
this.UltraChart1.Series.Add(series);
series = new NumericSeries();
series.Label = "District 2";
series.Points.Add(new NumericDataPoint(70, "User D", false));
series.Points.Add(new NumericDataPoint(50, "User E", false));
series.Points.Add(new NumericDataPoint(0, "", true)); // add an empty data point
this.UltraChart1.Data.ZeroAligned = true;
Thanks. You have given me the right solution.