< Back

ShowChart

Sun Jan 19, 2020 5:47 pm

NAME ShowChart



SYNOPSIS

Generates a <ShowChart></ShowChart> XML tag for specifying whether a channel should be displayed in charts by

default in a custom PRTG Network Monitor EXE/XML Sensor.





SYNTAX

ShowChart [[-Value] <String>] [<CommonParameters>]





DESCRIPTION

The ShowChart tag configures whether the channel is shown in charts on the Live Data page. The default value is 1

(true).



This tag will only be considered when the channel is initially created. Once created, the channel chart visibility

can be adjusted under the channel's settings.





PARAMETERS

-Value <String>

The value to use. Either 1 (show in charts) or 0 (hide from charts).



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- EXAMPLE 1 --------------------------



Prtg {

Result {

Channel "My channel"

Value 1

ShowChart 0

}

}



Configure a channel's Graph Rendering property to be "Hide from Graphs" by default.



RELATED LINKS

Online Version: https://github.com/lordmilko/PrtgXml/bl ... owChart.md

Prtg

Result

Channel

Value

ShowTable