Open georgevbsantiago opened 8 months ago
When exporting data from the Apex Charts Widget, the hour, minute and second corresponding to the exported data are not informed.
CSV (Timestamp records do not inform the hour, minute and second):
Widget Apex Chart:
We tried changing the Apex Charts configuration, but nothing works correctly.
Apex Charts documentation:
var options = { series: series, chart: { type: 'line', zoom: { enabled: true } }, zoom: { type: 'x', enabled: true, autoScaleYaxis: true }, toolbar: { export: { csv: { filename: 'name_teste', columnDelimiter: ';', headerCategory: 'data_hora', headerValue: 'value', dateFormatter(timestamp) { return new Date(timestamp).toDateString() } }, } }, stroke: { curve: 'straight', width: 4 }, grid: { row: { colors: ['#f3f3f3', 'transparent'], opacity: 0.5 }, }, xaxis: { type: 'datetime', tooltip: { enabled: false }, labels: { datetimeUTC: false } }, yaxis: { labels: { "formatter": function (val) { return val; } } }, tooltip: { x: { format: 'dd/MM/yyyy HH:mm:ss' } } };
Is it possible to change the Apex Charts export (CSV) configuration, or is there a lock?
When exporting data from the Apex Charts Widget, the hour, minute and second corresponding to the exported data are not informed.
CSV (Timestamp records do not inform the hour, minute and second):![image](https://github.com/thinger-io/thinger-server/assets/22058152/7bb76867-2981-415b-a6e3-97d312a1b736)
Widget Apex Chart:![image](https://github.com/thinger-io/thinger-server/assets/22058152/1e989218-5b16-4a83-9cd9-30cae16ce735)
We tried changing the Apex Charts configuration, but nothing works correctly.
Apex Charts documentation:
Is it possible to change the Apex Charts export (CSV) configuration, or is there a lock?