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

144
Views
Dibujar formas en Spectrum 2D Canvas

Estoy tratando de editar este espectro un poco. Quiero trazar algunas cajas a 100 M y 120 M. pero no puedo hacerlo hasta ahora.

Intenté pasar datos a addData -> drawSpectrum pero no pude hacerlo. ¿alguien me puede guild de alguna manera?

Código fuente

La razón principal de mi fracaso fue que era notable para saber cómo estaba trazando datos en coordenadas específicas en el espectro. Alguien me oriente por favor. gracias

 Spectrum.prototype.drawSpectrumFoi = function(bins) { if (bins.length>0){ foiDataList=bins; recFoiList=true; if(recFoiList == true){ for (var i=0;i<foiDataList.length; i++){ var y = this.spectrumHeight - 1 - this.squeeze(foiDataList[i], 0, this.spectrumHeight); var peakY = this.squeeze(foiDataList[i], 0, this.spectrumHeight); if (y > this.spectrumHeight - 1) y = this.spectrumHeight - 1; if (y < 0) y = 0; if (i == 0) this.ctx.lineTo(-1 + this.offset, y); //responsible for height of green line // green lines are created here ayaz this.ctx.lineTo(i + this.offset, y); } } }else{ recFoiList=false; } }
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!