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

131
Views
Highcharts vuelve a dibujar la burbuja empaquetada usando la API de composición de vue

Estoy tratando de descubrir cómo volver a representar el gráfico de burbujas empaquetadas cuando un accesorio cambia sin ningún buen resultado ... Antes de intentar hacer el "redibujar", devolver el gráfico funcionaba bien, no se actualizaba con los cambios de accesorios, pero dibujaba en menos algo.

Hasta ahora tengo el siguiente código:

 <template> <div id="thechart"></div> </template>

 export default { name: 'OrgChart', props: { chartData: { ... } }, setup (props) { //... const employeeSeries = [] const keys = Object.keys(props.chartData) keys.forEach((key, index) => { employeeSeries.push({ name: key, data: props.chartData[key] }) }) watch(() => props.chartData, (selection, prevSelection) => { redraw() }) function redraw () { chart.value.series.setData(employeeSeries, true) } onMounted(() => { var highchartsOptions = { chart: { type: 'packedbubble', height: '50%', renderTo: 'thechart' }, //..., series: employeeSeries } chart.value = new HighCharts.chart(highchartsOptions) }) return { chart } } } </script>

¿alguna idea? Gracias.

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!