Zigma
Zigma

Reputation: 529

Bars in Bar graph are of different size

I am drawing a bar chart and I saw some of them have different width than others.

I tried changing PointWidth and PixelPointWidth properties. But of no use. Here is the graph I got :

enter image description here

The only configure I done is barChart1.Series["DeltaE"]["PointWidth"] = (0.6).ToString();

Upvotes: 0

Views: 865

Answers (1)

Haoshu
Haoshu

Reputation: 914

You may have too many data and the chart is too small. Try delete some data or make the chart bigger.

I made an example. I created a c# project, put a chart in the form, randomly add some data and run the program.

When the chart is big enough, it looks well.

bigger

When the chart is smaller, not all the columns are the same width.

smaller

Upvotes: 1

Related Questions