Dashboard Widget Question

Started by BlackJaguar1982, June 11, 2014, 02:48:02 PM

Previous topic - Next topic

BlackJaguar1982

Hi!
I'm using ping as node's DCI and have transformation like 'if ($1 == 0 ) { return "О"; } else { return "Д";}'
Then I've created Dashboard element Gauge with Gauge type = Text, set Font to Wingdings, so letter О looks like happy smile and letter Д looks like unhappy smile.
That would be great, but Gauge element in input converts string data to int or similar, so all my text data becomes 0.
Is it a feature?

Victor Kirhenshtein

Hi!

Change your DCI data type to String - this should help.

Best regards,
Victor

BlackJaguar1982

#2
Quote from: Victor Kirhenshtein on June 12, 2014, 10:41:34 PM
Hi!

Change your DCI data type to String - this should help.

Best regards,
Victor

Nothing
I've checked your solution before starting this topic. netxms ver.=1.2.14