You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This time occurs with Value metric. Values are returned as strings with thousands separator which Vue component handles as numbers. Then increaseOrDecrease computed property of BaseValueMetric component is equal to "NaN".
The text was updated successfully, but these errors were encountered:
You should provide a valid numeric value in any of the following formats:
class TotalUsers extends Value
{
publicfunctioncalculate(Request$request)
{
// As integerreturn$this->result(123);
// As floatreturn$this->result(123.45);
// As stringreturn$this->result('123');
return$this->result('123.45');
}
}
Formatted numbers (with thousands separator) are not supported.
This time occurs with Value metric. Values are returned as strings with thousands separator which Vue component handles as numbers. Then
increaseOrDecrease
computed property ofBaseValueMetric
component is equal to "NaN".The text was updated successfully, but these errors were encountered: