question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose export filename as definable property on config object

See original GitHub issue

I’d like to be able to pass a variable into a config object which would be used as the filename prefix when downloading a chart svg image.

Currently, the filename is fixed to something like apexcharts-12a3bcde.svg by this line in modules/Exports.js:

downloadLink.download = 'apexcharts-' + w.globals.cuid + '.svg'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
cnokobecommented, Nov 25, 2020

Is there a way to put some separator symbols like ‘-’ or ‘_’ in the export, because currently these symbols are replaced by ‘x’?

3reactions
junedchhipacommented, Sep 12, 2018

Now, chart.id will be used as a filename. Will be available in 1.5.2 release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Output - webpack
Output a library exposing the exports of your entry point. Type: string | string[] | object. Let's take a look at an example....
Read more >
File-based Configurations - Apache Commons
File-based configurations typically define a set of constructors that correspond to the various setter methods for defining the data file. ...
Read more >
24. Externalized Configuration - Spring
Spring Boot allows you to externalize your configuration so you can work with the same application code in different environments. You can use...
Read more >
Export Files - Oracle Help Center
Select the menu option Configuration > External > Export Files. All generic exports provided by OPERA SID data are available here. The Export...
Read more >
logging.config — Logging configuration — Python 3.11.1 ...
The schema describes a set of logging objects - loggers, handlers, formatters, filters - which are connected to each other in an object...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found