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

170
Views
Contando períodos vacíos en DateAxis amchart

¿Cómo puedo contar los períodos vacíos en DateAxis en amchart? Necesito cambiar la altura del contenedor según ese valor y la longitud de los datos. ¿O cómo puedo establecer el grosor mínimo de la columna de fecha? Y espero que toda la altura se extienda para ser más visible. Amchart 4

entonces quiero esto

para verse así

Esta es la parte del código donde necesito ese recuento de períodos vacíos para calcular la altura del elemento principal.

 var cellSize = 50; this.chart.events.on("datavalidated", function(ev) { var chart = ev.target; var dateAxis = chart.yAxes.getIndex(0); var adjustHeight = chart.data.length * cellSize - dateAxis.pixelHeight; var targetHeight = chart.pixelHeight + adjustHeight; if(targetHeight < 600) targetHeight = 600; this.$refs.chartdiv.parentElement.style.height = targetHeight + "px"; }.bind(this));
about 4 years ago · Juan Pablo Isaza
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!