ReportChartComponentLayoutItem Class
Represents the settings for a report chart on a standard or custom page.
Use this class when accessing Metadata.Layout metadata components. For more information, see “ReportChartComponentLayoutItem” in the Metadata API Developer Guide.
The following are properties for ReportChartComponentLayoutItem.
-
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.
-
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.
-
Error string that is populated only when an error occurs in the underlying report.
-
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.
-
If true, filters the report chart to return data that’s relevant to the page.
-
Unique development name of a report that includes a chart.
-
If true, applies the title from the report to the chart.
-
Size of the displayed chart. The default is medium.
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.
public Boolean cacheData {get; set;}
Type: Boolean
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.
public String contextFilterableField {get; set;}
Type: String
Error string that is populated only when an error occurs in the underlying report.
public String error {get; set;}
Type: String
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.
public Boolean hideOnError {get; set;}
Type: Boolean
If true, filters the report chart to return data that’s relevant to the page.
public Boolean includeContext {get; set;}
Type: Boolean
Unique development name of a report that includes a chart.
public String reportName {get; set;}
Type: String
If true, applies the title from the report to the chart.
public Boolean showTitle {get; set;}
Type: Boolean
Size of the displayed chart. The default is medium.
public Metadata.ReportChartComponentSize size {get; set;}
Type: Metadata.ReportChartComponentSize
The following are methods for ReportChartComponentLayoutItem.
-
Makes a duplicate copy of the
Metadata.ReportChartComponentLayoutItem.
Makes a duplicate copy of the Metadata.ReportChartComponentLayoutItem.
public Object clone()
Type: Object