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

125
Views
El botón de exportación de Highcharts no se muestra (incluidas las bibliotecas, etc.)

Lo intenté varias veces usando otros ejemplos disponibles, pero aún no tuve suerte. Aquí está el código https://jsfiddle.net/mrbfqay6/ PD: solo necesita agregar una cantidad aleatoria en el primer campo de entrada y luego hacer clic en Enviar para generar el gráfico. Gracias

 function renderChart(){

gráfico = new Highcharts.Chart({

 chart: { renderTo: 'container', type: 'column', marginRight: 20, events: { load: function() { // nothing to do here right now } } }, title: { text: 'Some random data' }, xAxis: { tickPixelInterval: 50 }, yAxis: { title: { text: 'Value' } }, exporting: {"enabled":true}, tooltip: { formatter: function() { return '<b>' + this.series.name + '</b><br/>' + Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) + '<br/>' + Highcharts.numberFormat(this.y, 2); } }, legend: { enabled: true }, exporting: { enabled: false }, plotOptions: { column: { stacking: 'normal', } }, series: [{ name: ' Amortization', data:amort_data, } ,{ name: 'Saving', data: wow_saving, stack:'wow' }, { name: 'Financing', data: lease_data, stack: 'wow' }

] });

}

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

0

Ha definido opciones para exporting dos veces:

 chart = Highcharts.chart({ exporting: { "enabled": true }, ..., exporting: { enabled: false }, ... });

Lo que resulta en la exportación deshabilitada. Solo necesitas habilitarlo.


Demostración en vivo: https://jsfiddle.net/BlackLabel/na5rc2s9/

Referencia de la API: https://api.highcharts.com/highcharts/exporting.enabled

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!