Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

89
Views
La aplicación web falla al intentar trazar un gráfico de línea de tiempo en Apexcharts con Vue 3

Tengo una aplicación web en la que uso ApexCharts con Vue 3 para trazar algunos gráficos. No tuve ningún problema al usar el diagrama de dispersión, pero cuando trato de trazar una línea de tiempo como este ejemplo del sitio web, falla por completo y no sé por qué. tal vez estoy haciendo algo mal, pero no puedo ver ningún error. Agradecería mucho si me pueden ayudar porque es importante!

Adjunto aquí el código de la vista:

 <template> <apexchart type="rangeBar" height="350" :options="chartOptions" :series="series"></apexchart> </template> <script> import axios from "../../../services/api.js"; export default { data() { return { chartOptions: { chart: { type: 'rangeBar' }, plotOptions: { bar: { horizontal: true, } }, fill: { type: 'solid' }, xaxis: { type: 'datetime' }, }, series: [ { name: 'Prueba', data: [ { x: 'Code', y: [ new Date('2019-03-02').getTime(), new Date('2019-03-04').getTime() ] }, { x: 'Test', y: [ new Date('2019-03-04').getTime(), new Date('2019-03-08').getTime() ] }, { x: 'Validation', y: [ new Date('2019-03-08').getTime(), new Date('2019-03-12').getTime() ] }, { x: 'Deployment', y: [ new Date('2019-03-12').getTime(), new Date('2019-03-18').getTime() ] }, ] }, ], //end series }; //end return }, //end data } </script> <style scoped> </style>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Hay algo mal en la biblioteca.

mensaje de error

Si tienes una serie de clones profundos, parece funcionar

 <apexchart type="rangeBar" height="350" :options="chartOptions" :series="JSON.parse(JSON.stringify(series))"></apexchart>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!