Hello,
I found a solution here in the forum and helpfiles.
Thank you and best regards,
Otto
dp.onBeforeEventRender = function(args) {
if (args.data.tags && args.data.tags.type === "important"){
args.data.rightClickDisabled = true;
args.data.barColor = "red";
}
//Test
args.data.barColor = "red";
args.data.backColor = "#99b433";
};