Send as Excel for charts #31562
Unanswered
devysh1907
asked this question in
Q&A / Help
Replies: 1 comment 6 replies
-
To send a chart as an Excel file, you can use the
Here's a snippet of the relevant code: const exportExcel = useCallback(
() =>
canDownloadCSV
? exportChart({
formData: latestQueryFormData,
resultType: 'results',
resultFormat: 'xlsx',
})
: null,
[canDownloadCSV, latestQueryFormData],
);
case MENU_KEYS.EXPORT_TO_XLSX:
exportExcel();
setIsDropdownVisible(false);
dispatch(
logEvent(LOG_ACTIONS_CHART_DOWNLOAD_AS_XLS, {
chartId: slice?.slice_id,
chartName: slice?.slice_name,
}),
);
break; Make sure the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to send chart as an Excel; how do I do that?
Beta Was this translation helpful? Give feedback.
All reactions