Customization → View Designer → Controls → Single Object Chart
A Single Object Chart is used to show values in a summary view as a chart. The Single Object Chart must be configured using the BrandXML, ConfigureXML, Data Processor, and Data Processor Assembly properties.
The Single Object Chart control has the following properties:
The BrandXML property is used to control the visual display and color scheme of a chart.
The ConfigureXML property is used to control the data displayed on the single object chart.
The DataProcessor property is used to specify the code that generates a chart. Effectively, this determines the type of chart.
The DataProcessorAssembly property is used to specify the location of a custom chart data processor.
The Height property is used to specify the height (in pixels) of an attribute, control, or widget.
The Left property is used to set the number of pixels from the left side of a page that an attribute, control, or widget is positioned. Use this property to align the attributes, controls, and widgets on a page.
Read only. The ID property is used to show the unique ID of the design control.
The Top property is used to set the number of pixels from the top of a page that an attribute, control, or widget is positioned. Use this property to align the attributes, controls, and widgets on a page.
Read only. The Type property is used to show the control type. For example, linklabel, button, hr, and so on.
The Width property is used to specify the width (in pixels) of an attribute, control, or widget.
The Z-Index property is used to set the order by which attributes, controls, and widgets are layered on a page. For example, you can layer a form on top of an image.
A single object chart is an XML-based chart type that can be added to summary views and homepages. Using a single object chart, you can quickly and visually represent several types of data for users.
The following visual shows a single object chart inserted into a summary view. The attributes used to render the chart are also placed on the view. The single object chart provides a quick visual reference for the user of this summary view.
Example files for both a pie chart and gauge chart type are provided. The files for the pie chart type are PESAlignmentPieSOChartBrand.xml and PESAlignmentPieSOChartConfigure.xml, respectively.
The pie chart type can easily be modified to render several other chart types, such as a bar chart and a radar chart, simply by changing the chart type in the XML.
The files for the gauge chart type are PESSOGaugeChartBrand.xml and PESSOGaugeChartConfigure.xml, respectively.
These files are located in your installation directory, by default at C:\Program Files\Serena\Mariner\Mariner\charts\config. You will need the appropriate files to paste into the Code Editor dialog box and then modify for your purposes.
Copyright © 2003–2011 Serena Software, Inc. All rights reserved.