Page 1 of 1
Line chart XAxis Time format
Posted: Mon Jun 15, 2020 9:09 am
by adbaisan
Hello, I have a line chart with a timeline in seconds (0,1,2,...) and I would want my X Axis to display minutes:seconds. I set the format to X Axis to "00:00", the column is set with DateTime type, DateTime step in X Axis is set to Second, but the timestamps are looking like "00:99", "01:74", they don't stop at 59 looking like seconds. Is there a way to make my timeline display in minutes:seconds? Maybe I am missing a property or the format of my timeline i wrong?
Re: Line chart XAxis Time format
Posted: Mon Jun 15, 2020 9:13 am
by HighAley
Hello,
What id the format of the column that you use to pass the seconds?
The chart can't convert integer value to minutes and seconds automatically.
Maybe you should add a Calculate column that will convert seconds to DateTime or TimeSpan.
Thank you.
Re: Line chart XAxis Time format
Posted: Mon Jun 15, 2020 10:28 am
by adbaisan
Thanks for the quick reply. The format is indeed integer, but if you could tell me what format should I send it it won't be a problem to change it.
Re: Line chart XAxis Time format
Posted: Tue Jun 16, 2020 7:28 am
by adbaisan
Can you tell me what is the default datetime and timespan type format?
Re: Line chart XAxis Time format
Posted: Thu Jun 18, 2020 7:33 am
by Lech Kulikowski
Hello,
It depends of the localization setting or Culture property of the report.
Thank you.
Re: Line chart XAxis Time format
Posted: Thu Jun 25, 2020 2:45 pm
by adbaisan
Just for others to know, I set the time field to Timespan and removed the format from the chart, data in time field is in format "hh:mm:ss", still wanted "mm:ss" format but that's a smaller issue
Re: Line chart XAxis Time format
Posted: Fri Jun 26, 2020 8:58 am
by Lech Kulikowski
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.