mirror of
https://github.com/olehomelchenko/minivlat-local-ua.git
synced 2025-12-21 21:22:24 +00:00
Update chart configurations to set fixed width and enhance export options in quiz
This commit is contained in:
@@ -79,7 +79,16 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
// Embed the Vega-Lite chart
|
||||
const embedOptions = {
|
||||
actions: false, // Disable kebab menu
|
||||
downloadFileName: `${question.chart}-${version}`,
|
||||
actions: {
|
||||
export: {
|
||||
svg: true,
|
||||
png: true
|
||||
},
|
||||
source: false,
|
||||
compiled: false,
|
||||
editor: false
|
||||
},
|
||||
tooltip: false // Disable tooltips
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user