Page 1 of 1
[Twinsen][0.17.41] Production graph x axis labels for 250 and 1000 hrs weird
Posted: Tue May 21, 2019 12:02 pm
by Phoenix27833
Seems to divide hours by 60 for 250 and 1000 hour axis:
Credit here:
https://www.reddit.com/r/factorio/comme ... n_the_250/
Re: [Twinsen][0.17.41] Production graph x axis labels for 250 and 1000 hrs weird
Posted: Wed May 22, 2019 11:51 am
by Twinsen
Classic
Code: Select all
//show seconds, minutes or hours. This needs to be updated if we ever need to display more than 99 hours
while (timeFrame > 99)
{
valueToPrint = valueToPrint / 60;
timeFrame = timeFrame / 60;
}
I knew exactly what the problem was when you said "Seems to divide hours by 60"
Fixed in Version: 0.17.43. It now divides by 24 to show days.
Thanks.