CHART Output Format Parameters

Log Parser

CHART Output Format Parameters

The CHART output format supports the following parameters:

chartType
  Values: name of chart type
  Default: Line
  Description: Chart type.
  Details: The set of available chart types depends on the version of the Microsoft Office Web Components installed on the local computer.
For a list of the available chart types, type the following help command from the command-line shell:
LogParser -h -o:CHART
  Example: -chartType:Pie3D
 
categories
  Values: ON | OFF | AUTO
  Default: AUTO
  Description: Display category labels along the category axis.
  Details: When this parameter is set to "ON", the CHART output format uses the values of the first output record field to display category labels along the category axis.
Setting this parameter to "AUTO" causes the CHART output format to display category labels only when the first output record field is of the STRING or TIMESTAMP data types.
Setting this parameter to "OFF" prevents the CHART output format from displaying category labels.
  Example: -categories:ON
 
maxCategoryLabels
  Values: number
  Default: 0
  Description: Maximum number of category labels displayed along the category axis.
  Details: This parameter is used to limit the number of category labels displayed along the category axis, in order to prevent clutter in the output image.
When this parameter is set to "0", the CHART output format calculates the maximum number of category labels to display as a function of the dimensions of the target image.
Setting this parameter to "-1" causes the number of category labels displayed along the category axis to be unlimited.
  Example: -maxCategoryLabels:20
 
legend
  Values: ON | OFF | AUTO
  Default: AUTO
  Description: Display a legend describing the series.
  Details: When this parameter is set to "ON", the CHART output format displays a legend on the chart that describes the series being plotted.
Setting this parameter to "AUTO" causes the CHART output format to display a legend only when 2 or more series are being plotted.
Setting this parameter to "OFF" prevents the CHART output format from displaying a legend.
  Example: -legend:ON
 
values
  Values: ON | OFF | AUTO
  Default: AUTO
  Description: Display value labels.
  Details: When this parameter is set to "ON", the CHART output format displays a label along each value being plotted, showing its numeric value.
Setting this parameter to "AUTO" causes the CHART output format to display value labels depending on the type of chart selected.
Setting this parameter to "OFF" prevents the CHART output format from displaying value labels.
  Example: -values:ON
 
groupSize
  Values: widthxheight
  Default: 640x480
  Description: Dimensions of the target image, in pixels.
  Details: This parameter specifies the width and height of the target image, in pixels.
  Example: -groupSize:400x260
 
fileType
  Values: GIF | JPG | AUTO
  Default: AUTO
  Description: Format of the output image file.
  Details: When this parameter is set to "AUTO", the CHART output format determines the output image file format by inspecting the extension of the file specified for the into-entity.
  Example: -fileType:JPG
 
config
  Values: comma-separated list of file paths
  Default: not specified
  Description: Configuration scripts to use for chart customization.
  Details: This parameter specifies a comma-separated list of scripts in the JScript or VBScript languages that can be used to further customize the chart generated by the CHART output format.
For more information on configuration scripts, see CHART Output Format Configuration Scripts.
  Example: -config:C:\MyScripts\MyConfig1.js,C:\MyScripts\MyConfig2.vbs
 
chartTitle
  Values: chart title
  Default: Auto
  Description: Title of the chart.
  Details: When this parameter is set to "Auto" and the output records contain 1 series only, the CHART output format uses the series' field name as the title of the chart.
  Example: -chartTitle:"Bytes Per Page"
 
oTsFormat
  Values: timestamp format
  Default: yyyy-MM-dd hh:mm:ss
  Description: Format of timestamp values in the category labels.
  Details: This parameter specifies the date and/or time format to use when formatting values of the TIMESTAMP data type to generate category labels.
For more information on date and time formats, see Timestamp Format Specifiers.
  Example: -oTsFormat:"MMM dd, yyyy"
 
view
  Values: ON | OFF
  Default: OFF
  Description: Display chart image.
  Details: Setting this parameter to "ON" causes the CHART output format to open a window displaying the generated output image file.
  Example: -view:ON
 


© 2004 Microsoft Corporation. All rights reserved.