Hello , I am trying to create same time of graph with custom columns on x axis trying to set date min and max and on y axis workitem count.
markerLine.setValue(DateTimeDataElementImpl.create(new Date(y,m,d)));
this line of code gives me below error.
Cannot convert Invalid Date to java.lang.Long at line 34 of chart script: '
Can you please suggest what is wrong, I tried using CDateTime method too.and imported all packages also.