Skip to main content

What’s New

Qrvey 8.7
Version 8.7 of the Qrvey platform is now available to customers! This version includes new features including area charts, the ability to pivot and export data, as well as numerous bug fixes and performance improvements.
Learn More
Qrvey 8.6
Version 8.6 of the Qrvey platform is now available to customers. This version includes several new feature enhancements and performance improvements.
Learn More
Required Update for 8.5.1
Attention 8.5.1 customers: for any 8.5.1 instance deployed prior to 08/05/2024, an update is required to ensure you are running the latest images.
Learn More
Qrvey 8.5
Version 8.5 (LTS) of the Qrvey platform is now available to customers. This version includes several new features and performance improvements.
Learn More
End-of-life Schedule
We've added a new article that lists the features and endpoints that have been scheduled for deprecation. All features and endpoints will be supported for (1) year after the release date of the LTS version that contains the alternative.
Learn More
Version: 8.7

Single Panel

The Single Panel widget enables you to embed a chart, metric, or summary panel that has already been created in Qrvey Composer.

Embeddable Script

<!-- Tag -->
<an-panel config="anPanelConfig"></an-panel>

<!-- Config -->
<script>
var config = {
apiKey: "<YOUR_PRIVATE_API_KEY>",
domain: "https://<YOUR_QRVEY_DOMAIN>",
userId: "<USER_ID>",
appId: "<APP_ID>"
};
</script>

<!-- Launcher -->
<script type="module" src="<WIDGETS_URL>/qrvey-an-widgets/an-dashboard/andashboard/andashboard.esm.js"></script>
<script nomodule src="<WIDGETS_URL>/qrvey-an-widgets/an-dashboard/andashboard/andashboard.js"></script>```

Configuration Object

PropertyValueRequired
apiKeyString, Your organization’s unique API key required to access the Qrvey platform.Required if qvToken is not provided.
qvTokenString, Encrypted token used for secure authentication.Required, if apiKey is not provided.
appIdString, ID of the Qrvey application that contains the asset you want to embed.Required
domainString, The base URL of your instance of the Qrvey platform.Required
userIdString, ID of the Qrvey Composer user that owns the application that is being embedded. Alternatively, you can specify the user ID in a Qrvey session cookie.Required, if the userId is not included in a session cookie.
qrveyIdString, ID of the dataset being used.Required
typeString, Defines the panel type. Choose between CHART, SUMMARY, or METRIC.Required
chartIdString, ID of the chart to display.Required if type is CHART.
metricIdString, ID of the metric to display.Required if type is METRIC.
summaryIdString, ID of the summary panel to display.Required if type is SUMMARY.
panelObject, Allows you to configure which features are used in a panel. For details, please see The Panel Object below.Optional
userFiltersObject, A filters object generated by the user. For more details, please see User Filters.Optional
i18nObject, Defines the language to be displayed in the static text of the widget as well as the dataset columns. For details, please see The i18n Object for details.Optional
themeIdString, Theme ID to use in the component. For more details please see Accessing a Theme Programmatically.Optional
authenticatedSessionObject, Contains authenticatedSession.email, which is used to configure scheduled exports. For details, please see The Authenticated Session Object below.Optional
featurePermissionObject, Enables you to create a customized view by showing and hiding specific features. For details, please see The Feature Permission Object below.Optional
customTokensObject, Enables you to add custom tooltips onto metric panels. For details, please see Custom Tokens.
Example { "my_header": "The Tooltip Header :)"}
Optional

i18n

For more information, see Internationalization, Step by Step.

PropertyValueRequired
langString, The language the language to use for the UI. Example: "es".Required
localeString, The locale code to use for date and number formatting. Example: "es-ES".Optional

Authenticated Session

PropertyValueRequired
authenticatedSession.emailString, Specifies the email address to send scheduled exports.
Example: "example@qrvey.com"
Optional

Panel

PropertyValueRequired
panel.headerObject, The panel header options object.Optional
panel.header.visibleBoolean, Determines if the panel header is visible. Defaults to true.Optional
panel.header.draggableBoolean, Used by Custom View and Metric View panels. If true, the panel header has an icon to drag and drop the panel. Defaults to false in embedded widgets.Optional
panel.header.filterBoolean, Determines if the panel header has a filter button to open the Filter Modal widget. Defaults to false in embedded widgets.Optional
panel.header.menuArray/Boolean, if it's an array, the panel header will show the options passed through the array. If the value is true, the panel header will show a default menu. Accepted values for the array: EDIT, DOWNLOAD, DUPLICATE, SIZE and DELETE.
(Note: SIZE is used only by Custom View panels).
Optional
panel.header.fit_panelBoolean, Set to true if "fit to panel" button is enabled. false by default.Optional
panel.header.title_prefixString, Sets a prefix for the title of the panel.Optional
panel.header.externalDownloadArray, Set of values to allow external download for defined formats. Used by Page Builder and End User.
Accepted Values: CSV.
Optional
panel.bodyObject, Panel body options object.Optional
panel.body.popupObject, Panel body popup options object. Used to show Filter By, See Data and Drill-Down options.Optional
panel.body.popup.itemsArray, Set of options to show on the popup. Description of properties are below.
Accepted array items format: {
label: '<popup_item>', // Required
action: <customCallbackFunction()> // Optional
customdrills: <
}
Usage example: [
{ label: 'SEEDATA' },
{ label: 'FILTERBY' },
{ label: 'DRILLDOWN' },
{ label: 'CUSTOMDRILL' }
]
Optional
panel.body.popup.items[itemIndex]Object, Popup item options object to use in panel.body.popup.items array.Optional
panel.body.popup.items[itemIndex].labelString, Option name. Required for this array.Optional
panel.body.popup.items[itemIndex].actionFunction, Custom callback function.Optional
panel.footerObject, Panel footer options object.Optional
panel.footer.visibleBoolean, Determines if a panel footer is visible. Defaults to false.Optional
panel.stylesObject, Styles options object. These properties will extend the current theme.Optional
panel.styles.chartsTitleString, Set the charts title color using a hex value.Optional
panel.styles.chartsFontFamilyString, Set the charts font family.Optional
panel.styles.axisDataLabelsString, Set axis labels color in charts.Optional
panel.styles.dataLabelsString, Sets a hex color for data labels in charts.Optional
panel.styles.valuesMainString, Sets a hex color for axis ticks values in charts.Optional
panel.styles.chartsLegendsString, Sets a hex color for charts legends labels.Optional
panel.styles.chartsTooltipsString, Set a hex color for charts tooltips.Optional
panel.styles.tableHeaderFontString, Sets color for table header texts.Optional
panel.styles.chartsMainString, Sets color for chart data points like bars, symbols and lines.Optional
panel.styles.themePaletteArray, Sets up to 20 hex color values for char data points like bars, symbols and lines.Optional

Feature Permission

PropertyValueRequired
downloadsObject, Hide the Export feature, which supports exporting charts, tables, dashboards, and reports to downloadable files (PDF, JPG, CSV, EXCEL, CSV SUMMARY). For single panel, contains hideSchedule.Optional
downloads.hideScheduleBoolean, If true, hides the Schedule option in the Export feature. Defaults to false.Optional