113
Views
1
Comments
Plot date and time on X-axis on Line chart
Question

Hi,

I need to plot date and time on x-axis that I receive from a service. Somehow I am not at all able to get those values on the axis. I am however getting correct x and y axis values on the tooltip.I tried assigning minimum and maximum value of the dates from the service using XAxisFormat_Init action with formatting the date as "MM-dd-yyyy HH:mm:ss" But it is displaying it as 0 to 48 since there are 48 intervals that i get in service. Its time for 2 days per hour.
What should I do to achieve this?
Badly need a solution for this.
Thanks,
Anagha

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi Anagha,

can you share oml or screenprints ?  Without that, it's hard to see what you are dealing with and what you might have to do differently.

so we need to see : the raw data that come back from the service, the mapping you have done from these data to the chart widget, the resulting chart when testing.

Dorine

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.