Skip to content
Advertisement

Apex chart x y linear chart based on dateTime

Hey i am using Apex chart with vue.js VueApexChart

Here is my option value :

JavaScript

and here in my component data here is my series structure:

JavaScript

Then i am having my component called like this:

JavaScript

Nothing is displayed on the chart

Advertisement

Answer

Running it in a codesandbox works fine. Are you sure it isn’t just because you didn’t have any chart data? (I’ve added some in for the example)

See it running here

enter image description here

I changed

JavaScript

to:

JavaScript
Advertisement