[Feature] Support exporting chart data to CSV
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- data-visualization
Direzione di ricerca
Inizia leggendo l'API toolbox.feature esistente e la feature saveAsImage, quindi segui il modo in cui ECharts accede ai dati rappresentati da un grafico. Il lavoro è completato quando un'opzione saveAsCSV può generare e scaricare questi dati come CSV usando il nome file richiesto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What problem does this feature solve?
Many dashboard applications allow users to export the underlying chart data for further analysis, reporting, or sharing. While ECharts currently supports exporting a chart as an image, there is no built-in way to export the displayed data as a CSV file.
Today, developers need to implement their own CSV export logic for every chart, even though ECharts already has access to the data being visualized. This results in duplicated effort across projects and inconsistent implementations.
A built-in CSV export would provide a consistent, reusable solution for a common requirement in analytics and business applications.
If this feature were available natively in ECharts, it would reduce implementation effort for many developers and provide a more complete end-user experience.
Note: I hope you’ll consider adding this feature. If it’s accepted but not something the team plans to implement in the near term, I’d be happy to contribute a PR :)
What does the proposed API look like?
One possible approach would be to extend the existing toolbox.feature API with a built-in CSV export option.
option = {
toolbox: {
feature: {
saveAsImage: {},
saveAsCSV: {
show: true,
filename: 'chart-data'
}
}
}
};
When the user clicks Export CSV, ECharts would generate and download a CSV containing the data currently represented by the chart.
- Lingua principale
- TypeScript
- Stelle
- 67.7k
- Fork
- 19.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/echarts
-
[Bug] String formatter templates only replace the first occurrence of `{a}`/`{b}`/`{c}`Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaen pending
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
-
[Bug] Inverse axis collapses the grid with outerBoundsContain when a tick is near the axis edgeForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaen pending
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
en pending
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
en pending
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
[Bug] The zoom cursor in the toolbox area is incorrectForse già presa @waterWang l’ha presa 98 giorni fa. Apertabug en pending
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Tutte le issue di apache/echarts
Issue simili
-
Stop retrying permanent GitHub API failures in retry.shForse già presa @muspi-merol-review l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
promplate/code-review#113 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
サムネイルの Storage のバケット(`thumbnails`)に、大きさの上限(1 MiB)と許可する種類(JPEG、PNG、WebP)を設定するForse già presa @ykzts l’ha presa oggi. Apertatech: supabase
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
inabagumi/shinju-date#7147 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
elecnix/your-attention#129 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
umami-software/umami#4780 ·
I maintainer di solito rispondono entro 3 giorni