q4.asReportedIndex
The As Reported Index widget displays financial data exactly as reported by the company and is templated for Index sites. Document types include: Balance Sheet, Income Statement, and Cash Flow Statement.API used: Studio Public API documentation
- Script link
- q4.studioApi.4.0.0.min.js
- Source file
- q4.studioApi.js, line 7101
This widget extends the q4.asReported widget. It has all the options and methods of the parent widget, in addition to those below. See the parent widget's documentation for details.
Examples
<div id="asReported"></div>
<script type="text/javascript">
$('#asReported').asReportedIndex({
studioApi: "abc.studio.q4api.com",
ticker: "xnys.abc"
});
</script>
Options
- defaultTemplate string
-
Default template for out of the box use
'<div id="irwAsReport">'+ '<div id="asReportedForm">'+ '<div class="row">'+ '<div class="col-xs-12 irwAsreports as-reported_table-container">'+ '</div>'+ '</div>'+ '</div>'+ '</div>'
- asReportedTpl string
-
Template used to render the as reported data
'<table class="table table-hover irwResponsiveTable as-reported_table" data-sort="false">'+ '<thead>'+ '<tr>'+ '<th class="as-reported_header-col--name">'+ '{{#header.columns.names}}'+ '<span class="text-muted">{{.}}</span>'+ '{{/header.columns.names}}'+ '</th>'+ '{{#header.columns.periods}}'+ '<th data-breakpoints="{{breakpoint}}" class="as-reported_header-col--period">'+ '{{#data}}'+ '<span class="text-muted">{{.}}</span>'+ '{{/data}}'+ '</th>'+ '{{/header.columns.periods}}'+ '</tr>'+ '</thead>'+ '<tbody>'+ '{{#items}}'+ '<tr class="{{#header}}as-reported_row--header bg-primary{{/header}}">'+ '<td class="{{#indent}}as-reported_indent--{{indent}}{{/indent}} {{^header}}text-primary{{/header}} {{#header}}header{{/header }}" {{#header}}colspan="6"{{/header}}>{{name}}</td>'+ '{{#values}}'+ '<td class="{{#isNegative}}as-reported_value--negative {{/isNegative}}{{#isNA}}text-muted {{/isNA}} {{#isValue}}text-primary{{/isValue}}" {{#value}}data-heading="{{period}}: "{{/value}}>{{value}}</td>'+ '{{/values}}'+ '</tr>'+ '{{/items}}'+ '</tbody>'+ '</table>'
- tableHeaderBreakpoints Array.<string>
-
The breakpoints for the table headers. This is used to show and hide headers when using footable.
- Default value
["xs sm", "xs sm", "xs sm", "xs", "xs"]
- loadingMessage string
-
A message or HTML string to display while first loading the widget.
- Default value
<p class="module_loader">Loading ...</p>