I created a simple bar chart with one serie and 5 bars which have no x value. If e.g. the 3rd y value is zero, the 4th and 5th bar is missing.
Displaying 4 or 6 bars is correct; means all 4 or 6 bars are shown.
For reproducibility here an example:
Place a TeeChart on a WebForm and use this code for displaying the data:
Code: Select all
protected void Page_Load(object sender, EventArgs e)
{
Steema.TeeChart.Styles.Series series1 = null;
series1 = WebChart1.Chart.Series.Add(new Steema.TeeChart.Styles.Bar());
series1.Title = "Test";
series1.ShowInLegend = true;
series1.Marks.Visible = false;
series1.Add(99.1, "A");
series1.Add(75.0, "B");
series1.Add(0, "C");
series1.Add(63.3, "D");
series1.Add(50.0, "E");
}
I'm using VS2008 with TeeChart v3.5.3317.17532 (30.1.2009)
Best regards,
Olliver