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

206
Views
Enfrentando un problema al implementar € en "vue-d3-charts"

Estamos enfrentando un problema al implementar el símbolo "€" para la moneda, para "$" funciona bien. Fragmento de código: funciona bien con el siguiente código:

 import { D3BarChart } from 'vue-d3-charts'; export default { name: "D3Chart", components: { D3BarChart, }, props: { aemdata: { type: Object, required: true, }, billingdata: { type: Object, required: true, }, }, data() { return { topUpColor : '#D3D3D3', deductionColor : '#696969', chart_config: { key: 'monthYear', values: ['topUp', 'deduction'], axis: { yTicks: 10, yFormat: '$', }, color: { keys: { 'topUp': '#D3D3D3', 'deduction': '#696969', }, }, }, }; }, }

Captura de pantalla de trabajo: ingrese la descripción de la imagen aquí

Pero cuando estamos usando el siguiente código:

 import { D3BarChart } from 'vue-d3-charts'; export default { name: "D3Chart", components: { D3BarChart, }, props: { aemdata: { type: Object, required: true, }, billingdata: { type: Object, required: true, }, }, data() { return { topUpColor : '#D3D3D3', deductionColor : '#696969', chart_config: { key: 'monthYear', values: ['topUp', 'deduction'], axis: { yTicks: 10, yFormat: '€', }, color: { keys: { 'topUp': '#D3D3D3', 'deduction': '#696969', }, }, }, }; }, }

Está arrojando el siguiente error

"Ocurrió un error al mostrar la página de error Lamentablemente ocurrió un error y al mostrar la página de error ocurrió otro error

Detalles del error: TypeError: this.chart.destroyChart no es una función

Vuelve a casa"

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!