Export chart view, use the same export dialog as the data export command
Replace the FileDialog with our Export dialog (directory + filename + extension + extension validation). On Ubuntu the file dialog does not ensure the filename ends with the selected extension.
Edited by Matthieu Decorde