Skip to main content

What’s New

Qrvey 9.1
Qrvey Version 9.1 is now available! This release introduces numerous features, enhancements, bug fixes, and performance improvements.
Learn More
Qrvey 9.0
Qrvey Version 9.0 is now available! This release introduces multi-platform hosting (Azure & AWS), a redesigned Dashboard, extensive widget customizations, and numerous features, enhancements, bug fixes, and performance improvements.
Learn More
Qrvey 8.8
Qrvey Version 8.8 (LTS) is now available to customers! This version supports FIPS for GovCloud and includes tons of bug fixes and performance improvements.
Learn More
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: 9.1

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

PropertyValueRequiredqvToken Support
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.---
orgIdString, Organization to which the end user belongs to. Enables Subscribing to Exports.OptionalOnly
orgsJSON, List of users and roles per organization. The list of users is displayed inside the subscribe modal filtered by the current user’s organization Id, roles are not listed.OptionalOnly
emailString, Used to define a clientId email, used to enable schedule exports.OptionalOnly
appIdString, ID of the Qrvey application that contains the asset you want to embed.RequiredYes
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.Yes
domainString, The base URL of your instance of the Qrvey platform.RequiredNo
qrveyIdString, ID of the dataset being used.RequiredNo
typeString, Defines the panel type. Choose between CHART, SUMMARY, or METRIC.RequiredNo
chartIdString, ID of the chart to display.Required if type is CHART.No
metricIdString, ID of the metric to display.Required if type is METRIC.No
summaryIdString, ID of the summary panel to display.Required if type is SUMMARY.No
panelObject, Allows you to configure which features are used in a panel. For details, please see The Panel Object below.OptionalNo
userFiltersObject, A filters object generated by the user. For more details, please see User Filters.OptionalNo
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.OptionalNo
themeIdString, Theme ID to use in the component. For more details please see Accessing a Theme Programmatically.OptionalNo
featurePermissionObject, Enables you to create a customized view by showing and hiding specific features. For details, please see The Feature Permission Object below.OptionalNo
customTokensObject, Enables you to add custom tooltips onto metric panels. For details, please see Custom Tokens.
Example { "my_header": "The Tooltip Header :)"}
OptionalNo

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

Orgs

The orgs property defines a list of users and roles grouped by organization. Filtered based on the current user's organization ID. This feature is only supported when using qvToken.

{
"orgs": [
{
"orgId": "1",
"users": [
{
"clientId": "john_smith",
"email": "john_smith@qrvey.com"
},
]
}
]
}
PropertyDescription
orgRolesArray, Not used in this widget. List of role IDs available for sharing in this organization.
usersObject Array, List of users available to subscribe with under this organization.
users.clientIdString, The user's clientId.
users.emailString, Email address of user.

Timezone

PropertyValueRequired
timezone.offsetString, An attribute inside timezone that specifies the timezone offset. Accepted formats include +03:00, -03, etc.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 the Dashboard.
Accepted Values: CSV.
Optional
panel.header.sortingBoolean, Determines if sorting button is show in the panel header.Optional
panel.header.chartSelectionBoolean, Allow the user to change the chart type.Optional
panel.header.columnReplacementBoolean, Allow the user to select and change the columns from the self-service option.Optional
panel.header.columnAggregationBoolean, Allow the user to select and change the columns aggregates directly from the self-service option.Optional
panel.header.dateGroupingObject, Allow the user to change date grouping, for the cases of having a Date type column, their date grouping (shown below). All of them will be accessible under the icon of 'Column settings'.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 given below.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

dateGrouping

// example
dategrouping: {
year: true,
quarter: true,
month: true,
week: true,
quarter_only: true,
month_only: true,
day_only: true,
advancedGrouping: {
day: true,
hour: true,
minute: true,
second: true,
hour_only: true,
minute_only: true,
second_only: true
}
}

panel.body.popup.items

Accepted array items format:

let item = {
label: '<popup_item>', // Required
action: customCallbackFunction(), // Optional
customdrills: <Array> // Optional
}

Example: [{ label: 'SEEDATA' }, { label: 'FILTERBY' }, { label: 'DRILLDOWN' }, { label: 'CUSTOMDRILL' }]

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
featurePermission.hideSubscriptionBoolean, Hide the subscription option in the export modal.Optional
featurePermission.hideSubscribeExternalUsersBooolean, Disable the option of subscribing users outside of the organization.Optional