private BarRecord CreateBarRecord() { BarRecord r = new BarRecord(); r.SetBarSpace((short)0); r.SetCategorySpace((short)150); r.SetHorizontal(false); r.SetStacked(false); r.SetDisplayAsPercentage(false); r.SetShadow(false); return r; }