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

203
Views
¿Cómo personalizar el gráfico de líneas de pasos en Highchart?

ingrese la descripción de la imagen aquí

Sé que es extraño, pero quiero personalizar el gráfico de líneas de pasos como si el paso horizontal fuera más grueso y el paso vertical fuera más delgado, ¿hay alguna forma de lograrlo?

Gracias por adelantado

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Puede renderizar otras líneas en las mismas posiciones que las horizontales. Por favor, compruebe la siguiente solución:

 chart: { events: { render: function() { const points = this.series[0].points; points.forEach(point => { const nextPoint = points[point.index + 1]; if (nextPoint) { const d = [ 'M', point.plotX + this.plotLeft - 1, point.plotY + this.plotTop, 'L', nextPoint.plotX + this.plotLeft + 1, point.plotY + this.plotTop ]; if (point.customPath) { point.customPath.attr({ d }); } else { point.customPath = this.renderer .path([]) .attr({ d, stroke: 'red', 'stroke-width': 7 }) .add(); } } }); } } }

Demostración en vivo: http://jsfiddle.net/BlackLabel/wc5zrax9/

Referencia de la API: https://api.highcharts.com/class-reference/Highcharts.SVGRenderer#path

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!