SystemMonitor.ScaleToFit method

Scale counter values to fit in the graph.

Syntax

SystemMonitor.ScaleToFit( _
  ByVal selectedCountersOnly As Boolean _
)

Parameters

selectedCountersOnly [in]

True to scale only the selected counters; otherwise, false to scale all counters.

Return value

This method does not return a value.

Remarks

This method will clear the graph view. SYSMON then uses the scale factor specified for each counter to redraw the graph if the data source is a log file, or begin graphing new counter values if the data source is real time activity.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Sysmon.ocx

See also

SystemMonitor

CounterItem.ScaleFactor

CounterItem.Selected