NetXMS Support Forum

English Support => General Support => Topic started by: mrocha on July 13, 2016, 02:22:38 PM

Title: Dashboard with line graph from table
Post by: mrocha on July 13, 2016, 02:22:38 PM
Hello,

Maybe this has allready been answered, but I'm trying to create a line graph, inside a dashboard.
The datasource should be a table with data collected from a DB query.
How can I do this?
I have been going around with this and would greatly apprecciate any help.
Thank you
Title: Re: Dashboard with line graph from table
Post by: mrocha on July 15, 2016, 03:44:21 PM
Anyone can help ?
Title: Re: Dashboard with line graph from table
Post by: Tursiops on July 18, 2016, 09:27:05 AM
I don't think you can do that directly.

However you should be able to create a separate DCI that uses a script.
That script could utilise GetDCIValue (https://wiki.netxms.org/wiki/NXSL:GetDCIValue) and Table methods (https://wiki.netxms.org/wiki/NXSL:Table) to obtain the data you're after. That DCI can then be used in the Dashboard.

Hope that helps somewhat.
Title: Re: Dashboard with line graph from table
Post by: mrocha on July 18, 2016, 01:06:42 PM
Thank you for your help.

I'll take a look at this information and see what I can get of it.

Greetings.