Page 1 of 1

Math Operations with Functions

Posted: Tue Jun 22, 2021 7:01 am
by brett.macpherson
Hi,
trying to do some math operations with some of the built in function which seems trivial but i can get it to work. If i create a simple graph that plots this {DaysInMonth(SiteStatistics.Date)} with an arguement with date and it works no problems. What i want to do is variable / {DaysInMonth(SiteStatistics.Date)} and it doesn't work. I've even tried simply {DaysInMonth(SiteStatistics.Date)} + 2 and it still doesn't work. how do i do math with the results of these built in functions?

Thanks
Brett

Re: Math Operations with Functions

Posted: Tue Jun 22, 2021 8:32 am
by Lech Kulikowski
Hello,

Please check the following expression:
DaysInMonth(SiteStatistics.Date) + 2

Thank you.

Re: Math Operations with Functions

Posted: Fri Jun 25, 2021 4:57 am
by brett.macpherson
Hi Lech,
the suggestion does not work


i'm editing the dashboard https://demo.stimulsoft.com/#Net/Dashbo ... Statistics
and add your equation to the graph and it doesn't work.

Regards,
Brett

Re: Math Operations with Functions

Posted: Fri Jun 25, 2021 2:24 pm
by Lech Kulikowski
Hello,

We still couldn't reproduce the issue.

Thank you.

Re: Math Operations with Functions

Posted: Mon Jun 28, 2021 6:04 am
by brett.macpherson
Hi Lech,
can you put the equation in the values field, not the arguments field.

Re: Math Operations with Functions

Posted: Tue Jun 29, 2021 9:25 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#4283