NetXMS Support Forum

English Support => General Support => Topic started by: lindeamon on October 31, 2011, 05:31:11 PM

Title: Java Console - Graphs
Post by: lindeamon on October 31, 2011, 05:31:11 PM
hi,

i have created a dci to check free space on a network share.after a few days i wanted to see the changes via graphs.in the console i right clicked on the dci, chose graph, adjusted the number of days to go back and everything worked fine.on the java console (v1.1.5) i have right clicked on the dci, chose "line chart" and nothing.it stayed on zero

is it a bug in the console ?

Best Regards,
Lindeamon
Title: Re: Java Console - Graphs
Post by: lindeamon on October 31, 2011, 05:36:22 PM
i have forgot to mention that i have used transformation script to view the number like "13.gb" and not as the actual collected value.
i also checked another dci which does not use transformation script and the graph is shown.
it seems to be a bug since the old console does show the graph regardless of the transformation script.

Best Regards,
Lindeamon
Title: Re: Java Console - Graphs
Post by: Victor Kirhenshtein on November 01, 2011, 10:01:06 AM
Hi!

It is because Java and legacy console threats invalid numbers differently. Legacy console tries to parse value as a number, and if it starts with a number, uses that part, so 13gb becomes 13. Java console threats all incorrect numbers as zeros, so 13gb becomes 0.

Best regards,
Victor
Title: Re: Java Console - Graphs
Post by: lindeamon on November 01, 2011, 10:09:31 AM
hi victor,

thank you for the answer but one thing remains open,will it be fixed ?

Best Regards,
Lindeamon