[Apex Charts Library] Request for Datetime x-axis
apex-charts-library
Reactive icon
Forge component by Paulo Moreira
Application Type
Reactive

Hey there!

Thanks for the quick action on my last posts!

Is there any chance we can get the datetime x-axis chart implemented as well? I don't see it in the Apex charts component? I have data series with one datapoint per day, and using the non datetime-axis aware charts gets real messy inside OutSystems as I'll have to adapt and change my datapoints depending on how many are showing in the graph.

https://apexcharts.com/javascript-chart-demos/area-charts/datetime-x-axis/ 

data: [
[1327359600000,30.95],
[1327446000000,31.34],
[1327532400000,31.18], [
1327618800000,31.05],
[1327878000000,31.00],
[1327964400000,30.95],
[1328050800000,31.24],
[1328137200000,31.29],
...
]

Unless you can internally in the component do the conversion to these date formats, then I guess I'll have to do it as part of the pre-fetch action I already have getting my data into the datapoints in the right way.

dataPoint.label = date

- will certainly fail with too many values

Thanks in advance,

Søren

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.