new rendering funcionallity, when no category is set to gannt chart, the category array is calcualted from tasks