{
const selections = await n.selections();
selections.mount(selectionsToolbarElement);
n.render({
element: chartElement,
type: 'bulletChart',
properties: {
qHyperCubeDef: {
qDimensions: [
{ qDef: { qFieldDefs: ['Date.autoCalendar.YearMonth'] } },
],
qMeasures: [
{ qDef: { qDef: 'Sum([Number of New Cases])', autoSort: false }, qSortBy: { qSortByNumeric: 1 } },
],
qInterColumnSortOrder: [1, 0],
qInitialDataFetch: [{
qWidth: 2,
qHeight: 1000,
}],
},
showTitles: true,
title: 'Bullet Chart',
subtitle: 'Sample supernova bullet chart',
footnote: 'Sample supernova bullet chart',
},
});
}