Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ReportChartComponentLayoutItem Class
Namespace
Usage
Use this class when accessing Metadata.Layout metadata components. For more information, see
“ReportChartComponentLayoutItem” in the Metadata API Developer Guide.
ReportChartComponentLayoutItem Properties
The following are properties for ReportChartComponentLayoutItem.
cacheData
Indicates whether to use cached data when displaying the chart. When
the attribute is set to true, data is cached for 24 hours. When the attribute is set to false,
the report is run every time the page is refreshed.
Signature
public Boolean cacheData {get; set;}
Property Value
Type: Boolean
contextFilterableField
Unique development name of the field by which a report chart is
filtered to return data relevant to the page. If set, the ID field for the parent object of
the page or report type is the chart data filter. The parent object for the report type and
the page must match for a chart to return relevant data.
Signature
public String contextFilterableField {get; set;}
Property Value
Type: String
hideOnError
Controls whether users see a chart that has an error. When an error
occurs and this attribute is not set, the chart doesn’t show any data except the error. Set
the attribute to true to hide the chart from a page on error.
Signature
public Boolean hideOnError {get; set;}
Property Value
Type: Boolean