Hello, I want to draw Line Chart based on the Registration Date, but the current data has time data and it is written in Line Chart by the hour. How do I make the Registration Date of the aggregate come out in yyMMdd format only?
Hi @Alfana,
Please format the date when binding data (DataPointList). I have attached a screenshot for your reference.
Please send me your OML file, and I will make the necessary changes for you.
Thanks,
Vipin Yadav
Hello, thank you very much for your response. Based on the information provided, I was able to confirm that the LineChart is separated by date. However, I have noticed that the count in the Aggregate stage is still based on time intervals. I attempted to use the same method of adding a filter within the Aggregate stage using FormatDateTime and DateTimeToDate, but it did not work. I apologize for any inconvenience, but as the file size exceeds the limit, I am unable to attach the OML file.
You can include a date picker and refresh the aggregate when the date picker's value changes.
In the aggregate filter, you can use the following conditions:
If( RegistrationDate <> NullDate(), DateTimeToDate(Sample_Accounts.CreatedOn) = FormatDateTime(RegistrationDate, "yyyy-MM-dd"), True )
I have added oml file for your reference. Please check -
Demo Url - https://vyadav.outsystemscloud.com/FrontEnd/LineChart
Hello,
I received a great deal of help in solving the problem with the answer you provided. Thank you very much.
Alfana
Please follow the below steps
Thank you very much for your help. Your response has solved the problem I was facing.
Best regards,Alfana